[mythtv-users] Adding STB to PVR-350+PVR-150 system

Fred Firestine ffluvssg1 at gmail.com
Tue Nov 13 05:22:35 UTC 2007


Hi everyone,

I have been reading up about adding a set-top box to my Myth system.
Here are some specs:

Fedora Core 6 2.6.20-1.2925.fc6
PVR-150 (includes IR Blaster cable) and PVR-350
MythTV 0.20.2
ivtv 0.10.1
lirc-lib-0.8.3-73_cvs20071109

Here's the situation so far:

1. Connected the STB to my MythTV (on the PVR-150 card)
2. Added the channel lineup corresponding to the STB to my existing
"standard" cable lineup. No problems there.
3. I have been using the PVR-350 with an IR receiver. The TV remote works great.
4. I connected the IR blaster (a wire with an LED at the end, provided
with the card) to the PVR-150.

My next task is to get my PVR-150 to control the STB using the IR
blaster. I have read on "Mark's Braindump" page (referenced in the
Wiki) about downloading patched LIRC and compiling, etc. Is that still
necessary? Please take a look at my ls output and log information
below. It seems as if IVTV is detecting my IR blaster. My question:
Does the version of LIRC I am using still need to be patched, or can I
somehow tweak what I have now?

Another question: Should I switch to the PVR-150 for both my TV remote
(receiving) and IR blasting, or is it better to run two LIRC daemons?

Thanks for your help!

Fred

modprobe.conf entries:

alias char-major-61 lirc_i2c
[...]
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c


[root at mythtv ~]# ls -l /dev/lirc*
lrwxrwxrwx 1 root root     5 Nov 12 22:06 /dev/lirc -> lirc0
crw------- 1 root root 61, 0 Nov 12 22:06 /dev/lirc0
crw------- 1 root root 61, 1 Nov 12 22:06 /dev/lirc1
srw-rw-rw- 1 root root     0 Nov 12 22:07 /dev/lircd
[root at mythtv ~]#


IVTV output in /var/log/messages:

Nov 12 22:07:18 mythtv kernel: ivtv:  ==================== START INIT
IVTV ====================
Nov 12 22:07:18 mythtv kernel: ivtv:  version 0.10.1 (tagged release) loading
Nov 12 22:07:18 mythtv kernel: ivtv:  Linux version: 2.6.20-1.2925.fc6
SMP mod_unload 686 4KSTACKS
Nov 12 22:07:18 mythtv kernel: ivtv:  In case of problems please
include the debug info between
Nov 12 22:07:18 mythtv kernel: ivtv:  the START INIT IVTV and END INIT
IVTV lines, along with
Nov 12 22:07:18 mythtv kernel: ivtv:  any module options, when mailing
the ivtv-users mailinglist.
Nov 12 22:07:18 mythtv kernel: ivtv0: Autodetected Hauppauge card
(cx23415 based)
Nov 12 22:07:18 mythtv kernel: ACPI: PCI Interrupt 0000:02:07.0[A] ->
Link [LNKA] -> GSI 7 (level, low) -> IRQ 7
Nov 12 22:07:18 mythtv kernel: ivtv:  version 0.10.1 (tagged release) loading
Nov 12 22:07:18 mythtv kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (376836 bytes)
Nov 12 22:07:18 mythtv kernel: Floppy drive(s): fd0 is 1.44M
Nov 12 22:07:18 mythtv kernel: FDC 0 is a National Semiconductor PC87306
Nov 12 22:07:18 mythtv kernel: ivtv0: loaded v4l-cx2341x-dec.fw
firmware (262144 bytes)
Nov 12 22:07:18 mythtv kernel: ivtv0: Encoder revision: 0x02060039
Nov 12 22:07:18 mythtv kernel: ivtv0: Decoder revision: 0x02020023
Nov 12 22:07:18 mythtv kernel: saa7127 1-0044: saa7129 found @ 0x88
(ivtv i2c driver #0)
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: Hauppauge model 48132,
rev K268, serial# 8500007
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: tuner model is LG TAPE
H001F MK3 (idx 68, type 47)
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: TV standards NTSC(M)
(eeprom 0x08)
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: audio processor is
MSP4448 (idx27)
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: decoder processor is
SAA7115 (idx 19)
Nov 12 22:07:18 mythtv kernel: tveeprom 1-0050: has radio, has IR
receiver, has no IR transmitter
Nov 12 22:07:18 mythtv kernel: ivtv0: Autodetected Hauppauge WinTV PVR-350
Nov 12 22:07:18 mythtv kernel: tda9887 1-0043: tda988[5/6/7] found @
0x43 (tuner)
Nov 12 22:07:18 mythtv kernel: tuner 1-0061: chip found @ 0xc2 (ivtv
i2c driver #0)
Nov 12 22:07:18 mythtv kernel: saa7115 1-0021: saa7115 found
(1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
Nov 12 22:07:18 mythtv kernel: msp3400 1-0040: MSP4448G-A2 found @
0x80 (ivtv i2c driver #0)
Nov 12 22:07:18 mythtv kernel: msp3400 1-0040: MSP4448G-A2 supports
radio, modeis autodetect and autoselect
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device video0 for
encoder MPEG (4 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device video32 for
encoder YUV (2 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device vbi0 for
encoder VBI (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device video24 for
encoder PCM audio (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device radio0 for encoder radio
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device video16 for
decoder MPEG (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device vbi8 for
decoder VBI (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device vbi16 for decoder VOUT
Nov 12 22:07:18 mythtv kernel: ivtv0: Registered device video48 for
decoder YUV (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv0: loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
Nov 12 22:07:18 mythtv kernel: tuner 1-0061: type set to 47 (LG NTSC
(TAPE series))
Nov 12 22:07:18 mythtv kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
Nov 12 22:07:18 mythtv kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] ->
Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
Nov 12 22:07:18 mythtv kernel: ivtv:  ======================  NEXT
CARD  ======================
Nov 12 22:07:18 mythtv kernel: ivtv1: Autodetected Hauppauge card
(cx23416 based)
Nov 12 22:07:18 mythtv kernel: ACPI: PCI Interrupt 0000:02:0b.0[A] ->
Link [LNKA] -> GSI 7 (level, low) -> IRQ 7
Nov 12 22:07:18 mythtv kernel: ivtv1: loaded v4l-cx2341x-enc.fw
firmware (376836 bytes)
Nov 12 22:07:18 mythtv kernel: ivtv1: Encoder revision: 0x02060039
Nov 12 22:07:18 mythtv kernel: cx25840 2-0044: cx25841-23 found @ 0x88
(ivtv i2c driver #1)
Nov 12 22:07:18 mythtv kernel: cx25840 2-0044: loaded v4l-cx25840.fw
firmware (16382 bytes)
Nov 12 22:07:18 mythtv kernel: wm8775 2-001b: chip found @ 0x36 (ivtv
i2c driver #1)
Nov 12 22:07:18 mythtv kernel: tuner 2-0061: chip found @ 0xc2 (ivtv
i2c driver #1)
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: Hauppauge model 26132,
rev G1B2, serial# 9519117
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: tuner model is TCL
M2523_5N_E (idx 112, type 50)
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: TV standards NTSC(M)
(eeprom 0x08)
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: audio processor is
CX25841 (idx 35)
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: decoder processor is
CX25841 (idx 28)
Nov 12 22:07:18 mythtv kernel: tveeprom 2-0050: has no radio, has IR
receiver, has IR transmitter
Nov 12 22:07:18 mythtv kernel: ivtv1: Autodetected Hauppauge WinTV PVR-150
Nov 12 22:07:18 mythtv kernel: ivtv1: reopen i2c bus for IR-blaster support
Nov 12 22:07:18 mythtv kernel: cx25840 2-0044: cx25841-23 found @ 0x88
(ivtv i2c driver #1)
Nov 12 22:07:18 mythtv kernel: cx25840 2-0044: loaded v4l-cx25840.fw
firmware (16382 bytes)
Nov 12 22:07:18 mythtv kernel: wm8775 2-001b: chip found @ 0x36 (ivtv
i2c driver #1)
Nov 12 22:07:18 mythtv kernel: tuner 2-0061: chip found @ 0xc2 (ivtv
i2c driver #1)
Nov 12 22:07:18 mythtv kernel: ivtv1: Registered device video1 for
encoder MPEG (4 MB)
Nov 12 22:07:18 mythtv kernel: ivtv1: Registered device video33 for
encoder YUV (2 MB)
Nov 12 22:07:18 mythtv kernel: ivtv1: Registered device vbi1 for
encoder VBI (1 MB)
Nov 12 22:07:18 mythtv kernel: ivtv1: Registered device video25 for
encoder PCM audio (1 MB)
Nov 12 22:07:18 mythtv kernel: tuner 2-0061: type set to 50 (TCL 2002N)
Nov 12 22:07:18 mythtv kernel: ivtv1: Initialized Hauppauge WinTV
PVR-150, card #1
Nov 12 22:07:18 mythtv kernel: ivtv:  ====================  END INIT
IVTV  ====================

[ and now, some entries related to lirc]

Nov 12 22:07:18 mythtv kernel: i2c /dev entries driver
Nov 12 22:07:18 mythtv kernel: lirc_dev: IR Remote Control driver
registered, at major 61
[...]
Nov 12 22:07:18 mythtv kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Nov 12 22:07:18 mythtv kernel: lirc_dev: lirc_register_plugin: sample_rate: 10
Nov 12 22:07:18 mythtv kernel: lirc_i2c: chip found @ 0x71 (Hauppauge
IR (PVR150))
Nov 12 22:07:18 mythtv kernel: lirc_dev: lirc_register_plugin: sample_rate: 10
[...]
Nov 12 22:07:30 mythtv lircd-0.8.3-CVS[2843]: lircd(userspace) ready
[...]
Nov 12 22:08:57 mythtv lircd-0.8.3-CVS[2843]: accepted new client on /dev/lircd
[...]


More information about the mythtv-users mailing list