Solved [mythtvnz] Two PVR-150s, one works one doesn't - UPDATE

Criggie mythtvnz@lists.linuxnut.co.nz
Tue, 25 Apr 2006 16:51:55 +1200 (NZST)


I got both my tuners both working!

Turns out there were extra bogus entries in the cardinput table, because
ivtv changed the names of the Tuner from "Tuner 0" to "Tuner 1" between
0.4.4 and 0.6.1
To check....
mysql>  select * from cardinput;
Look for wrong values, and delete them with
mysql> delete from cardinput where inputname="Tuner 0";

Also nothing loaded the cx25840 module.

PIP doesn't work, but thats cos the frontend is too gutless.

I also require a better RF splitter... or a new aerial

Now my solution will be archived on the web somewhere for others to find :)



Criggie wrote:
> The family is getting upset with no mythbox!
>
> My next plan was to use ivtv 0.6.1 with kernel 2.6.16.11, as below.
>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 0.6.1 (tagged release) loading
> ivtv:  Linux version: 2.6.16.11 PENTIUMIII gcc-4.0
> ivtv:  In case of problems please include the debug info between
> ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
> ivtv:  any module options, when mailing the ivtv-users mailinglist. ivtv0:
> Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 177
> tveeprom 1-0050: Hauppauge model 26559, rev B260, serial# 8741972
> tveeprom 1-0050: tuner model is LG S001D MK3 (idx 60, type 38)
> tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 1-0050: audio processor is CX25843 (idx 37)
> tveeprom 1-0050: decoder processor is CX25843 (idx 30)
> tveeprom 1-0050: has radio, has no IR remote
> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> tda9887 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
> ivtv0: Failed to load module cx25840
> ivtv0: Failed to load module wm8775
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02050032
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> total) ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB
> total) ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB
> total) ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
> (2048KB total)
> ivtv0: Create encoder radio stream
> tuner 1-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv0: i2c addr 0x44 not found for command 0x40045613!
> ivtv0: i2c addr 0x44 not found for command 0xc0045627!
> ivtv0: i2c hardware 0x00000020 not found for command 0x40345622!
> ivtv0: i2c addr 0x44 not found for command 0x40345622!
> ivtv0: i2c addr 0x44 not found for command 0x40045612!
> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv0: i2c addr 0x44 not found for command 0x40045613!
> ivtv0: i2c addr 0x44 not found for command 0x40045612!
> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
> ivtv:  ======================  NEXT CARD  ======================
> ivtv1: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 16 (level, low) -> IRQ 185
> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
> tda9887 2-0043: chip found @ 0x86 (ivtv i2c driver #1)
> tveeprom 2-0050: The eeprom says no radio is present, but the tuner type
> tveeprom 2-0050: indicates otherwise. I will assume that radio is present.
> tveeprom 2-0050: Hauppauge model 26039, rev C1A5, serial# 7930897
> tveeprom 2-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
> tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 2-0050: audio processor is CX25842 (idx 36)
> tveeprom 2-0050: decoder processor is CX25842 (idx 29)
> tveeprom 2-0050: has radio, has IR remote
> ivtv1: Failed to load module cx25840
> ivtv1: Failed to load module wm8775
> ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv1: Encoder revision: 0x02050032
> ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
> total) ivtv1: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB
> total) ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB
> total) ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
> (2048KB total)
> ivtv1: Create encoder radio stream
> tuner 2-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
> ivtv1: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv1: i2c addr 0x44 not found for command 0x40045613!
> ivtv1: i2c addr 0x44 not found for command 0xc0045627!
> ivtv1: i2c hardware 0x00000020 not found for command 0x40345622!
> ivtv1: i2c addr 0x44 not found for command 0x40345622!
> ivtv1: i2c addr 0x44 not found for command 0x40045612!
> ivtv1: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv1: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv1: i2c addr 0x44 not found for command 0x40045613!
> ivtv1: i2c addr 0x44 not found for command 0x40045612!
> ivtv1: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv1: Initialized Hauppauge WinTV PVR-150, card #1
> ivtv:  ====================  END INIT IVTV  ====================
> ivtv0: i2c hardware 0x00000001 not found for command 0xc008561c!
> ivtv0: i2c addr 0x44 not found for command 0x40045613!
> ivtv0: i2c addr 0x44 not found for command 0xc0045627!
> ivtv0: i2c hardware 0x00000020 not found for command 0x40345622!
> ivtv0: i2c addr 0x44 not found for command 0x40345622!
> ivtv0: i2c addr 0x44 not found for command 0x40045612!
>
> There's lots of the last 6 lines over and over whenever I access
> /dev/video0 and /dev/video1
>
> With 0.6.1 and kernel 2.6.16.11 I get a 0 byte file from   cat /dev/video0
>> file.
>
> Criggie wrote:
>> Gidday all.  I've got a problem - I've added a second hauppauge PVR-150
> to an existing mythtv backend machine.
>>
>> Now one tuner works fine, the other tuner returns only static, and
>> appears
>> to be loading things heavily when its in use.   I changed from ivtv
> 0.4.0 to 0.4.4 and that made no difference.
>>
>> The original card was a PVR-150 MCE variant, and the new one is a
> PVR-150 retail version.  Both cards worked perfectly previously.
>>
>> I have used a splitter to provide both cards with a signal from the
> aerial - I have tried swapping the leads so I know its not a simple
> matter of cabling.
>>
>> Does anyone have any ideas?
>>
>>
>> lspci says
>> 0000:00:0a.0 Multimedia video controller: Internext Compression Inc
> iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
>> 0000:00:0c.0 Multimedia video controller: Internext Compression Inc
> iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
>
>> Here's the relevant dmesg lines....
>>
>> ivtv:  ==================== START INIT IVTV ==================== ivtv:
> version 0.4.4 (tagged release) loading
>> ivtv:  Linux version: 2.6.14.2 PENTIUMIII gcc-4.0
>> ivtv:  In case of problems please include the debug info between ivtv:
> the START INIT IVTV and END INIT IVTV lines, along with
>> ivtv:  any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
>> ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 177
> ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
>> tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
>> ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
>> wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
>> ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
>> tda9885/6/7: chip found @ 0x86
>> ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
>> tveeprom 1-0050: Hauppauge model 26039, rev C1A5, serial# 7930897
> tveeprom 1-0050: tuner model is unknown (idx 105, type 0)
>> tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K)
>> (eeprom
>> 0x74)
>> tveeprom 1-0050: audio processor is CX25842 (idx 36)
>> tveeprom 1-0050: decoder processor is CX25842 (idx 29)
>> tveeprom 1-0050: has no radio, has IR remote
>> cx25840 1-0044: ivtv driver
>> cx25840 1-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
>> cx25840 1-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
>> ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
>> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
>> ivtv0: Encoder revision: 0x02050032
>> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
>> total)
>> ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB
>> total)
>> ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB
>> total)
>> ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
> total)
>> tuner 1-0061: type set to 0 (Temic PAL (4002 FH5))
>> ivtv0: Initialized WinTV PVR 150, card #0
>> ivtv:  ======================  NEXT CARD  ====================== ivtv1:
> Autodetected WinTV PVR 150 card (cx23416 based)
>> ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 16 (level, low) -> IRQ 185
> ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50]
>> tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
>> ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61]
>> wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
>> ivtv1: i2c attach to card #1 ok [client=wm8775, addr=1b]
>> tda9885/6/7: chip found @ 0x86
>> ivtv1: i2c attach to card #1 ok [client=tda9887, addr=43]
>> cx25840 2-0044: ivtv driver
>> cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
>> cx25840 2-0044: loaded v4l-cx25840.fw firmware (14264 bytes)
>> ivtv1: i2c attach to card #1 ok [client=cx25840, addr=44]
>> tveeprom 2-0050: Hauppauge model 26559, rev B260, serial# 8741972
> tveeprom 2-0050: tuner model is LG S001D MK3 (idx 60, type 38)
>> tveeprom 2-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K)
>> (eeprom
>> 0x74)
>> tveeprom 2-0050: audio processor is CX25843 (idx 37)
>> tveeprom 2-0050: decoder processor is CX25843 (idx 30)
>> tveeprom 2-0050: has radio, has no IR remote
>> ivtv1: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
>> ivtv1: Encoder revision: 0x02050032
>> ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB
>> total)
>> ivtv1: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB
>> total)
>> ivtv1: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB
>> total)
>> ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB
> total)
>> ivtv1: Create encoder radio stream
>> tuner 2-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3))
> ivtv1: Initialized WinTV PVR 150, card #1
>> ivtv:  ====================  END INIT IVTV  ====================
>
>
>
>
> --
> Criggie
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>


-- 
Criggie