I have ensured that ivtv is loaded last and have removed all references to modules included in ivtv from /lib/modules directory structure. Here is the output after I rebuilt with tuner.c and tda9887.c with debug=1:
[4294696.396000] ivtv: ==================== START INIT IVTV ====================
[4294696.396000] ivtv: version 0.3.9 (development svn snapshot revision 2710M) loading
[4294696.396000] ivtv: Linux version: 2.6.12-9-386 386 gcc-3.4
[4294696.396000] ivtv: In case of problems please include the debug info
[4294696.396000] ivtv: between the START INIT IVTV and END INIT IVTV lines when
[4294696.396000] ivtv: mailing the ivtv-devel mailinglist.
[4294696.401000] ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
[4294696.401000] ACPI: PCI Interrupt 0000:06:08.0[A] -> GSI 16 (level, low) -> IRQ 16
[4294696.482000] tveeprom: Second (radio) tuner idx 101
[4294696.482000] tveeprom: ivtv version
[4294696.482000] tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2995686
[4294696.482000] tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
[4294696.482000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
[4294696.482000] tveeprom: audio processor = CX25843 (type = 25)
[4294696.482000] tveeprom: decoder processor = CX25843 (type = 1e)
[4294696.482000] ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
[4294696.484000] ivtv: This is the first unit of a PVR500
[4294696.490000] tuner (ivtv): chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
[4294696.492000] TEA5767 detected.
[4294696.492000] ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=60]
[4294696.492000] tuner: type set to 62 (Philips TEA5767HN FM Radio) by autodetect
[4294696.492000] type set to 62 (Philips TEA5767HN FM Radio)
[4294696.492000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[4294696.492000] ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
[4294696.561000] cx25840: loading /lib/modules/HcwMakoA.ROM
[4294697.665000] ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023c015112cb1d]
[4294698.264000] ivtv: i2c attach to card #0 ok [client=cx25840, addr=44]
[4294698.286000] ivtv: i2c attach to card #0 ok [client=wm8775, addr=1b]
[4294698.308000] tda9885/6/7: (ivtv) chip found @ 0x86
[4294698.308000] ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
[4294698.337000] ivtv: Detected a TEA5767 radio tuner. Enabling radio support.
[4294698.949000] ivtv: loading /lib/modules/ivtv-fw-enc.bin
[4294699.177000] ivtv: Encoder revision: 0x02040011
[4294699.196000] ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[4294699.215000] ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
[4294699.234000] ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
[4294699.236000] ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[4294699.272000] ivtv: Create encoder radio stream
[4294699.272000] tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #0
[4294699.376000] tda9885/6/7: switching to v4l2
[4294699.376000] tda9885/6/7: configure for: NTSC-M
[4294699.376000] tda9885/6/7: writing: b=0xd4 c=0x30 e=0x44
[4294699.395000] tuner: tv freq set to 67.25
[4294699.395000] tuner: tv 0x07 0x10 0x8e 0x01
[4294699.660000] ivtv: Initialized WinTV PVR 500 (unit #1), card #0
[4294699.660000] ivtv: ====================== NEXT CARD ======================
[4294699.660000] ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
[4294699.660000] ACPI: PCI Interrupt 0000:06:09.0[A] -> GSI 18 (level, low) -> IRQ 18
[4294699.728000] tveeprom: Second (radio) tuner idx 101
[4294699.728000] tveeprom: ivtv version
[4294699.728000] tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2995686
[4294699.728000] tveeprom: tuner = Philips FQ1236A MK4 (idx = 92, type = 57)
[4294699.728000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
[4294699.728000] tveeprom: audio processor = CX25843 (type = 25)
[4294699.728000] tveeprom: decoder processor = CX25843 (type = 1e)
[4294699.728000] ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50]
[4294699.747000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
[4294699.747000] ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
[4294699.815000] cx25840: loading /lib/modules/HcwMakoA.ROM
[4294701.359000] ivtv: i2c attach to card #1 ok [client=cx25840, addr=44]
[4294701.376000] ivtv: i2c attach to card #1 ok [client=wm8775, addr=1b]
[4294701.382000] tda9885/6/7: (ivtv) chip found @ 0x86
[4294701.382000] ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
[4294701.391000] ivtv: This is the second unit of a PVR500
[4294701.391000] ivtv: Correcting tveeprom data: no radio present on second unit
[4294702.010000] ivtv: loading /lib/modules/ivtv-fw-enc.bin
[4294702.223000] ivtv: Encoder revision: 0x02040011
[4294702.224000] ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
[4294702.243000] ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
[4294702.255000] ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
[4294702.267000] ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
[4294702.267000] tuner: type set to 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
[4294702.371000] tda9885/6/7: switching to v4l2
[4294702.371000] tda9885/6/7: configure for: NTSC-M
[4294702.371000] tda9885/6/7: writing: b=0xd4 c=0x30 e=0x44
[4294702.390000] tuner: tv freq set to 67.25
[4294702.390000] tuner: tv 0x07 0x10 0x8e 0x01
[4294702.655000] ivtv: Initialized WinTV PVR 500 (unit #2), card #1
[4294702.655000] ivtv: ==================== END INIT IVTV ====================
~~~
[4294992.325000] tuner: tv freq set to 211.25
[4294992.325000] tuner: tv 0x10 0x10 0x8e 0x02
[4295002.462000] tuner: tv freq set to 61.25
[4295002.462000] tuner: tv 0x06 0xb0 0x8e 0x01
[4295008.973000] tuner: tv freq set to 77.25
[4295008.973000] tuner: tv 0x07 0xb0 0x8e 0x01
[4295017.025000] tuner: tv freq set to 127.25
[4295017.025000] tuner: tv 0x0a 0xd0 0x8e 0x01
[4295028.393000] tuner: tv freq set to 83.25
[4295028.393000] tuner: tv 0x08 0x10 0x8e 0x01
[4295034.270000] tuner: tv freq set to 133.25
[4295034.270000] tuner: tv 0x0b 0x30 0x8e 0x01
[4295042.563000] tuner: tv freq set to 151.25
[4295042.563000] tuner: tv 0x0c 0x50 0x8e 0x01
[4295049.273000] tuner: tv freq set to 187.25
[4295049.273000] tuner: tv 0x0e 0x90 0x8e 0x02
Thanks, Bill
On 9/25/05, Hans Verkuil <[EMAIL PROTECTED]> wrote:
On Sunday 25 September 2005 23:50, Bill Graef wrote:
> Hi Hans,
>
> I finally got all the necessary perl packages needed for ptune.pl. While
> running "mplayer /dev/video0" I changed the channel using ptune.pl. I
> noticed that the picture was fuzzy only on certain stations. However, when
> running mplayer for /dev/video1 at the same time, the picture was clear for
> those stations.
>
> Here is the only additional information that I notice in /var/log/messages:
>
> Sep 25 17:31:52 ubuntu kernel: [4295977.600000] This tuner doesn't support
> TV freq.
> Sep 25 17:31:52 ubuntu kernel: [4295977.601000] tuner: radio freq (0.00)
> out of range (65-108)
Weird. Make sure ivtv is loaded last. Unloading and reloading the tuner
afterwards will fail. Are you sure you don't have multiple tuner/tda9887
modules installed by accident?
Hans
-------------------------------------------------------
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
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel