Hi all... I added a PVR-500MCE to my MythTV system yesterday (which was the reason I 'upgraded' to the 0.4.0 ivtv drivers in the first place), and I've finally got it installed properly (I think!).
My system is built on a Pundit-R, and the only two cards in it (it only holds two PCI cards) are a PVR-350 and the (new) PVR-500MCE. I'm using the TV-Out on the 350, and MythTV (0.18.1) was installed from mythtv-suite on FC3, using Jarod's excellent guide. First, there are a few things that disturb me in the dmesg output (below). For the 350, complaints arise about an inability to load /lib/modules/ivtv_init_mpeg.bin -- the file is there, and has the same permissions as ivtv-fw-enc.bin and ivtv-fw-dec.bin, both of which reside in /lib/modules as well. I suspect this failure is what causes the ensuing 'YUV' errors later on. Second, while initializing both tuners in the PVR-500MCE, there's a string of warnings "warning i2c address 0x44" (etc) produced, and these also repeat later on in dmesg, outside of the [begin]/[end] ivtv startup. There are recurring errors that show up in dmesg during operation, as well (also noted below). Now, reading through some of the other discussion here, I'm noticing that I, also, have a cx88xx module being loaded (as well as a cx8800 module), and I'm wondering if I need them (and if they're causing (some of) the problems -- it looks (to me) like they are being loaded by v4l2 (which also loads a few other things)... do I even need these? They apparently aren't causing any major issues with the PVR-350, as it will record and play... I am not getting any video out of either tuner when I attempt to cat /dev/video1 or /dev/video2 (the 350 is /dev/video0) I'm including the ivtv dmesg output here, as well as a few snippets outside the ivtv load to illustrate what I describe above. I'm also including my lsmod output, in case that helps in diagnosing what is happening here... (and, although it's off-topic here) when I set up these two new tuners (/dev/video1 and /dev/video2) in mythtv-setup, the 500 shows up as two discrete PVR-150's. Do I choose "tuner 0" for both? "tuner 0" for the first and "tuner 1" for the second? Or what? Color me confused... (and, of course, thanks in advance for any help/guidance you can provide) Here's the dmesg output from the ivtv load: ------------------------------------------- Linux video capture interface: v1.00 ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.4.0 (tagged release) loading ivtv: Linux version: 2.6.11-1.27_FC3 686 REGPARM 4KSTACKS gcc-3.4 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based) ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10 PCI: setting IRQ 10 as level-triggered ACPI: PCI interrupt 0000:00:0e.0[A] -> GSI 10 (level, low) -> IRQ 10 ivtv0: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: ivtv version tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2947868 tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = MSP4448 (type = 1b) tveeprom: decoder processor = SAA7115 (type = 13) ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] msp34xx: ivtv version msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode msp34xx: $Id$ compiled on: Oct 9 2005 18:58:13 ivtv0: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40] saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c driver #0) ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44] ivtv0: loading /lib/modules/ivtv-fw-enc.bin ivtv0: loading /lib/modules/ivtv-fw-dec.bin ivtv0: Encoder revision: 0x02050032 ivtv0: Decoder revision: 0x02020023 ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv0: Create encoder radio stream ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total) ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total) ivtv0: Create decoder VOUT stream ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv0: loading /lib/modules/ivtv_init_mpeg.bin ivtv0: unable to open firmware ivtv0: failed to read mpeg decoder initialisation file /lib/modules/ivtv_init_mpeg.bin tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 spurious 8259A interrupt: IRQ7. ivtv0: Initialized WinTV PVR 350, card #0 ivtv: ====================== NEXT CARD ====================== ivtv1: Autodetected WinTV PVR 150 card (iTVC16 based) ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 15 PCI: setting IRQ 15 as level-triggered ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 15 (level, low) -> IRQ 15 ivtv1: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: Second (radio) tuner idx 101 tveeprom: ivtv version tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 8223857 tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv1: i2c attach to card #1 ok [client=tveeprom, addr=50] tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #1 TEA5767 detected. ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=60] tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect type set to 62 (Philips TEA5767HN FM Radio) tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1 ivtv1: i2c attach to card #1 ok [client=(tuner unset), addr=61] ivtv1: This is the first unit of a PVR500 ivtv1 warning: i2c client addr: 0x44 not found for command 0x400464c9! ivtv1: Detected a TEA5767 radio tuner. Enabling radio support. ivtv1: loading /lib/modules/ivtv-fw-enc.bin ivtv1: Encoder revision: 0x02050032 ivtv1: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv1: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv1: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv1: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv1: Create encoder radio stream tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1 ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046403! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046404! ivtv1 warning: i2c client addr: 0x1b not found for command 0x40047764! ivtv1 warning: i2c client addr: 0x44 not found for command 0x4004646e! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046403! ivtv1 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv1 warning: i2c client addr: 0x1b not found for command 0x4004760f! ivtv1 warning: i2c client addr: 0x44 not found for command 0x4004760f! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv1 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv1: Initialized WinTV PVR 500 (unit #1), card #1 ivtv: ====================== NEXT CARD ====================== ivtv2: Autodetected WinTV PVR 150 card (iTVC16 based) ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 10 (level, low) -> IRQ 10 ivtv2: Unreasonably low latency timer, setting to 64 (was 32) tveeprom: Second (radio) tuner idx 101 tveeprom: ivtv version tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 8223857 tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv2: i2c attach to card #2 ok [client=tveeprom, addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #2 ivtv2: i2c attach to card #2 ok [client=(tuner unset), addr=61] ivtv2: This is the second unit of a PVR500 ivtv2: Correcting tveeprom data: no radio present on second unit ivtv2 warning: i2c client addr: 0x44 not found for command 0x400464c9! ivtv2: loading /lib/modules/ivtv-fw-enc.bin ivtv2: Encoder revision: 0x02050032 ivtv2: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv2: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) ivtv2: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) ivtv2: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #2 ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046403! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046404! ivtv2 warning: i2c client addr: 0x1b not found for command 0x40047764! ivtv2 warning: i2c client addr: 0x44 not found for command 0x4004646e! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046403! ivtv2 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv2 warning: i2c client addr: 0x1b not found for command 0x4004760f! ivtv2 warning: i2c client addr: 0x44 not found for command 0x4004760f! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv2 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv2: Initialized WinTV PVR 500 (unit #2), card #2 ivtv: ==================== END INIT IVTV ==================== ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0) ivtv0-osd warning: Framebuffer is at decoder-relative address 0x00510000 and has 1704960 bytes. ivtv0-osd: screen coords: [0 0] -> [720 480] ivtv0-osd: original global alpha = 208 ivtv0-osd: current OSD state = 39 ivtv0-osd: new global alpha = 208 (1 255 0) ivtv0-osd: framebuffer at 0xe1510000, mapped to 0xdda10000, size 1350k ivtv0-osd: mode is 720x480x32, linelength=2880 ivtv0-osd: fb1: iTVC15 TV out frame buffer device ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total) ------------------------------------------- This shows up at the bottom of the dmesg output, and is occasionally repeated (not all at once, but any given grouped set of lines beginning with 'ivtv1' or 'ivtv2', etc, show up at once: ------------------------------------------- ivtv2 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046404! ivtv2 warning: i2c client addr: 0x1b not found for command 0x40047764! ivtv2 warning: i2c client addr: 0x44 not found for command 0x4004646e! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv2 warning: i2c client addr: 0x44 not found for command 0x80287610! ivtv2 warning: i2c client addr: 0x44 not found for command 0x40287611! ivtv0: Tried to open YUV output device but need to send data to mpeg decoder before it can be used ivtv0: Tried to open YUV output device but need to send data to mpeg decoder before it can be used ivtv1 warning: i2c client addr: 0x44 not found for command 0x401c6466! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046406! ivtv1 warning: i2c client addr: 0x44 not found for command 0x40046406! ------------------------------------------- Finally, here's what lsmod shows: ------------------------------------------- Module Size Used by parport_pc 28421 1 lp 12489 0 parport 40201 2 parport_pc,lp autofs4 26181 0 sunrpc 164485 1 pcmcia 26465 2 ipt_REJECT 7105 1 ipt_state 1857 5 ip_conntrack 40601 1 ipt_state iptable_filter 2881 1 ip_tables 19777 3 ipt_REJECT,ipt_state,iptable_filter xfs 586001 1 exportfs 8641 1 xfs dm_mod 59221 0 video 15813 0 button 6609 0 battery 9285 0 ac 4805 0 md5 4161 1 ipv6 259201 18 ohci1394 39129 0 ieee1394 309689 1 ohci1394 yenta_socket 21065 1 rsrc_nonstatic 10433 1 yenta_socket pcmcia_core 47993 3 pcmcia,yenta_socket,rsrc_nonstatic ohci_hcd 25685 0 ehci_hcd 39501 0 i2c_sis96x 5445 0 cx8800 33229 0 cx88xx 47957 1 cx8800 v4l1_compat 13637 1 cx8800 video_buf 23621 2 cx8800,cx88xx v4l2_common 5825 1 cx8800 btcx_risc 4937 2 cx8800,cx88xx lirc_i2c 10244 1 lirc_dev 13636 1 lirc_i2c snd_intel8x0 31936 1 snd_ac97_codec 76924 1 snd_intel8x0 snd_pcm_oss 50080 0 snd_mixer_oss 17536 1 snd_pcm_oss snd_pcm 96392 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 30852 1 snd_pcm snd 54404 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer soundcore 10785 1 snd snd_page_alloc 7940 2 snd_intel8x0,snd_pcm b44 26053 0 mii 4929 1 b44 ivtv_fb 44440 1 ivtv 219796 3 ivtv_fb videodev 9665 3 cx8800,cx88xx,ivtv i2c_algo_bit 9033 2 cx88xx,ivtv saa7127 12444 0 tuner 24240 0 saa7115 14872 0 msp3400 27960 0 tveeprom 14516 0 i2c_core 21953 9 i2c_sis96x,cx88xx,lirc_i2c,i2c_algo_bit,saa7127,tuner,saa7115,msp3400,tveepr om ext3 131145 2 jbd 82777 1 ext3 ------------------------------------------- _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
