On Thu, Sep 22, 2005, Hans Verkuil wrote: > Radio is working again for wm8775 equipped boards. I made a very embarrassing > bug which basically meant that probably no wm8775 registers where ever > written to. This might also fix other sound problems, although I don't think > so. It is my impression that all remaining cases of 'no sound' are caused by > wrongly installed drivers (not always easy to fix, though). > > I would like people who experience 'delayed sound', where sound only kicks in > after a one or more seconds, to try and test this latest version. The new > wm8775 settings (now that they're really written) might improve something > here.
I have several problems wrt. radio support on the PVR-150MCE. I have a system with 2 cards with Philips FM1216ME MK3 tuners, and one with LG TAPE S001D MK3. The S001D had perfect radio support with ivtv 0.3.7b. The FM1216 cards tune correctly to radios with ivtv 0.3.7b but the sound quality is very low (but correct, checked by playing /dev/video24), and the sound is also very bad in TV mode. With the latest svn trunk, I have to apply the attached patch. The patch in ivtv-driver.c is needed to get sound in TV mode from the cards with FM1216 tuners. Probably it's a bad idea to discriminate against the tuner, I presume all PVR-150MCE need port1 and port2 on (BTW, port1 seems to be needed for TV, while port2 is needed for radio). With this patch I have working TV support with both types of cards. However, scanning the frequencies doesn't work at all. The patch in ivtv-fileops.c fixes the frequency scanning : the S001D tuner reports stations with reproducible results, stations which make sense. The FM1216 tuner reports stations at random in a non-reproducible way, so I believe there is still a problem with this tuner. When reading from /dev/video24, for both cards I only get samples of value "0". This used to work in ivtv 0.3.7b. So I can't check if the FM1216 effectively works. When reading from /dev/video0 in radio mode, I cannot get any packet. It works in TV mode, and I think the problem is related to the kernel/motherboard I use since I only got this problem when moving to a new machine. Running ivtv in debug mode give the following messages : ivtv info: ivtv_read: stream 0.. ivtv info: ENC: 128 bufs, 0x00000000 fill; 128 free 0 dma 0 full 0 io ivtv dma: deqbuf: 0 DeQ from empty list! ivtv dma: deqbuf: 0 DeQ from empty list! ivtv dma: Gather 1: x=0 bytes_needed 0x00001000 buf_fill 0x00000000 For the record, the ivtv logs on my system : ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.9 (development svn snapshot revision 2702M) loading ivtv: Linux version: 2.6.13.2-nosmp PENTIUM4 gcc-3.3 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. ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) PCI: Found IRQ 3 for device 0000:03:00.0 PCI: Sharing IRQ 3 with 0000:00:1f.3 PCI: Sharing IRQ 3 with 0000:00:1f.5 tveeprom: ivtv version tveeprom: Hauppauge: model = 26559, rev = C257, serial# = 7569273 tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38) tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61] cx25840: loading /lib/modules/HcwMakoA.ROM ivtv: i2c attach to card #0 ok [client=cx25840, addr=44] ivtv: i2c attach to card #0 ok [client=wm8775, addr=1b] tda9885/6/7: (ivtv) chip found @ 0x86 ivtv: i2c attach to card #0 ok [client=tda9887, addr=43] ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: Encoder revision: 0x02040002 ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv: Create encoder radio stream tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0 ivtv: Initialized WinTV PVR 150, card #0 ivtv: ====================== NEXT CARD ====================== ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) PCI: Found IRQ 11 for device 0000:03:01.0 PCI: Sharing IRQ 11 with 0000:00:1d.2 PCI: Sharing IRQ 11 with 0000:00:1f.1 tveeprom: ivtv version tveeprom: Hauppauge: model = 26559, rev = C257, serial# = 7569173 tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38) tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1 ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61] cx25840: loading /lib/modules/HcwMakoA.ROM ivtv: i2c attach to card #1 ok [client=cx25840, addr=44] ivtv: i2c attach to card #1 ok [client=wm8775, addr=1b] tda9885/6/7: (ivtv) chip found @ 0x86 ivtv: i2c attach to card #1 ok [client=tda9887, addr=43] ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: Encoder revision: 0x02040002 ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv: Create encoder radio stream tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #1 ivtv: Initialized WinTV PVR 150, card #1 ivtv: ====================== NEXT CARD ====================== ivtv: Autodetected WinTV PVR 150 card (iTVC16 based) PCI: Found IRQ 5 for device 0000:03:02.0 PCI: Sharing IRQ 5 with 0000:00:1d.1 tveeprom: ivtv version tveeprom: Hauppauge: model = 26559, rev = C260, serial# = 7706446 tveeprom: tuner = LG S001D MK3 (idx = 60, type = 68) tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L) PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17) tveeprom: audio processor = CX25843 (type = 25) tveeprom: decoder processor = CX25843 (type = 1e) ivtv: i2c attach to card #2 ok [client=tveeprom[50], addr=50] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #2 ivtv: i2c attach to card #2 ok [client=(tuner unset), addr=61] cx25840: loading /lib/modules/HcwMakoA.ROM ivtv: i2c attach to card #2 ok [client=cx25840, addr=44] ivtv: i2c attach to card #2 ok [client=wm8775, addr=1b] tda9885/6/7: (ivtv) chip found @ 0x86 ivtv: i2c attach to card #2 ok [client=tda9887, addr=43] ivtv: loading /lib/modules/ivtv-fw-enc.bin ivtv: Encoder revision: 0x02040002 ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) ivtv: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total) ivtv: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total) ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) ivtv: Create encoder radio stream tuner: type set to 68 (LG S001D MK3) by ivtv i2c driver #2 ivtv: Initialized WinTV PVR 150, card #2 ivtv: ==================== END INIT IVTV ==================== I have disabled CPU, APIC and preemtible kernel in Linux kernel 2.6.13.2. -- Christophe Massiot Freebox S.A. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
