Hans Verkuil wrote:

I've made some fairly extensive I2C logs under Windows and I'm comparing them with the linux I2C settings. I noticed that the wm8775 settings are substantially different under Windows. This patch syncs them with the Windows settings.

I'm curious to see if this makes any difference.

        Hans

PS: the patch is against the latest svn version.
I've patched and tried it. Still no sound on the second tuner of my 500 Let me know if there is anything else I can give you.

-Mike

# ivtvctl -d /dev/video2 --audio-status --video-status

cx25840: Status: 0x03 (REV_ID, Revision ID.)
cx25840: Status: 'Mono' (Detected audio mode)
cx25840: Status: 'No detected audio standard' (Detected audio standard)
wm8775: Register R7=000
wm8775: Register R11=021
wm8775: Register R12=102
wm8775: Register R13=000
wm8775: Register R14=1d4
wm8775: Register R15=1d4
wm8775: Register R16=1bf
wm8775: Register R17=185
wm8775: Register R18=0a2
wm8775: Register R19=005
wm8775: Register R20=07a
wm8775: Register R21=102
wm8775: Register R23=000
cx25840: Status: 0x03 (REV_ID, Revision ID.)
cx25840: Status: Video signal present
cx25840: Status: 0x01 (MICROCNTL_VIDEO_FORMAT, Detected video format)
cx25840: Status: Ready Filter auto tuning status
cx25840: Status: 0x17 (TUNE_OUT, The tuning code selected by the auto-tune algorithm.) cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy Control Bits as described in the MacroVision)
cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo Sync Pulses detected)
cx25840: Status: 0x00 (MV_CS, Macrovision Color Striping Detected)
cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the presence of type 3 of the color stripe process. A)
cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision Type 2 pair detected)
cx25840: Status: 0x01 (AFD_FMT_STAT, Currently detected Format)
cx25840: Status: 0x00 (FIELD, Field status (even/odd))
cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate Converter FIFO Overflow)
cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate Converter FIFO Underflow)
cx25840: Status: 0x01 (VSYNC, Vertical sync)
cx25840: Status: 0x01 (HLOCK, Horizontal lock status)
cx25840: Status: 0x00 (SRC_LOCK, Sample Rate Converter lock Status)
cx25840: Status: 0x01 (VLOCK, Vertical lock status)
cx25840: Status: 0x01 (CSC_LOCK, Color Subcarrier lock status)
cx25840: Status: 0x01 (AGC_LOCK, VGA lock status)
cx25840: Status: 0x01 (VPRES, Active-high video present. Indication of the presence of a) cx25840: Status: 0x01 (SPECIAL_PLAY_N, Active-low special play mode (fast forward, rewind, pulse, or slow)


working first tuner on a PVR-500

# ivtvctl -d /dev/video1 --audio-status --video-status

cx25840: Status: 0x03 (REV_ID, Revision ID.)
cx25840: Status: 'Mono' (Detected audio mode)
cx25840: Status: 'BTSC' (Detected audio standard)
wm8775: Register R7=000
wm8775: Register R11=021
wm8775: Register R12=102
wm8775: Register R13=000
wm8775: Register R14=1d4
wm8775: Register R15=1d4
wm8775: Register R16=1bf
wm8775: Register R17=185
wm8775: Register R18=0a2
wm8775: Register R19=005
wm8775: Register R20=07a
wm8775: Register R21=102
wm8775: Register R23=000
cx25840: Status: 0x03 (REV_ID, Revision ID.)
cx25840: Status: Video signal present
cx25840: Status: 0x01 (MICROCNTL_VIDEO_FORMAT, Detected video format)
cx25840: Status: Ready Filter auto tuning status
cx25840: Status: 0x18 (TUNE_OUT, The tuning code selected by the auto-tune algorithm.) cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy Control Bits as described in the MacroVision)
cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo Sync Pulses detected)
cx25840: Status: 0x00 (MV_CS, Macrovision Color Striping Detected)
cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the presence of type 3 of the color stripe process. A)
cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision Type 2 pair detected)
cx25840: Status: 0x01 (AFD_FMT_STAT, Currently detected Format)
cx25840: Status: 0x00 (FIELD, Field status (even/odd))
cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate Converter FIFO Overflow)
cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate Converter FIFO Underflow)
cx25840: Status: 0x01 (VSYNC, Vertical sync)
cx25840: Status: 0x01 (HLOCK, Horizontal lock status)
cx25840: Status: 0x00 (SRC_LOCK, Sample Rate Converter lock Status)
cx25840: Status: 0x01 (VLOCK, Vertical lock status)
cx25840: Status: 0x01 (CSC_LOCK, Color Subcarrier lock status)
cx25840: Status: 0x01 (AGC_LOCK, VGA lock status)
cx25840: Status: 0x01 (VPRES, Active-high video present. Indication of the presence of a) cx25840: Status: 0x01 (SPECIAL_PLAY_N, Active-low special play mode (fast forward, rewind, pulse, or slow)


card info

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.9 (development svn snapshot revision 2683M) loading
ivtv: Linux version: 2.6.8-2-k7 preempt K7 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 350 card (iTVC15 based)
ACPI: PCI interrupt 0000:00:0c.0[A] -> GSI 10 (level, low) -> IRQ 10
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Ignoring new-style parameters in presence of obsolete ones
tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7875498
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)
ivtv: i2c attach to card #0 ok [client=tveeprom[50], addr=50]
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach to card #0 ok [client=(tuner unset), addr=61]
saa7115: Ignoring new-style parameters in presence of obsolete ones
ivtv: i2c attach to card #0 ok [client=saa7115[50], addr=21]
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
ivtv: i2c attach to card #0 ok [client=saa7127, addr=44]
msp3400: Ignoring new-style parameters in presence of obsolete ones
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode
msp34xx: $Id$ compiled on: Sep 16 2005 20:47:17
ivtv: i2c attach to card #0 ok [client=MSP3448W-A2, addr=40]
tda9887: Ignoring new-style parameters in presence of obsolete ones
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #0 ok [client=tda9887, addr=43]
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: loading /lib/modules/ivtv-fw-dec.bin
ivtv: Encoder revision: 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
ivtv: Create encoder radio stream
ivtv: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
ivtv: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
ivtv: Create decoder VOUT stream
ivtv: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total)
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ======================  NEXT CARD  ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI interrupt 0000:02:08.0[A] -> GSI 12 (level, low) -> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2994978
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)
ivtv: i2c attach to card #1 ok [client=tveeprom[50], addr=50]
tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #1
TEA5767 detected.
ivtv: 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: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach to card #1 ok [client=(tuner unset), addr=61]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #1 ok [client=tda9887, addr=43]
ivtv: This is the first unit of a PVR500
cx25840: Ignoring new-style parameters in presence of obsolete ones
cx25840: loading /lib/modules/HcwMakoA.ROM
ivtv: i2c attach to card #1 ok [client=cx25840, addr=44]
wm8775: Ignoring new-style parameters in presence of obsolete ones
ivtv: i2c attach to card #1 ok [client=wm8775, addr=1b]
ivtv: Detected a TEA5767 radio tuner. Enabling radio support.
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 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 57 (Philips FQ1236A MK4) by ivtv i2c driver #1
ivtv: Initialized WinTV PVR 500 (unit #1), card #1
ivtv: ======================  NEXT CARD  ======================
ivtv: Autodetected WinTV PVR 150 card (iTVC16 based)
ACPI: PCI interrupt 0000:02:09.0[A] -> GSI 11 (level, low) -> IRQ 11
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom: Hauppauge: model = 23552, rev = D592, serial# = 2994978
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)
ivtv: i2c attach to card #2 ok [client=tveeprom[50], addr=50]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #2
ivtv: i2c attach to card #2 ok [client=(tuner unset), addr=61]
tda9885/6/7: chip found @ 0x86
ivtv: i2c attach to card #2 ok [client=tda9887, addr=43]
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]
ivtv: This is the second unit of a PVR500
ivtv: Correcting tveeprom data: no radio present on second unit
ivtv: loading /lib/modules/ivtv-fw-enc.bin
ivtv: Encoder revision: 0x02040011
ivtv: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
ivtv: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total)
ivtv: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total)
ivtv: 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
ivtv: Initialized WinTV PVR 500 (unit #2), card #2
ivtv: ====================  END INIT IVTV  ====================




-------------------------------------------------------
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

Reply via email to