First off, I have to say I don't really *need* to fix this problem, at
least not anytime soon. I've backported the new cx25840 initialization
code to the 0.3.2w version of the driver, so I do have a version that
works perfectly for everything I use it for. However, I would *like* to
fix this problem, just on general principles. Besides, it might help
someone else someday.
I have two PVR-250's and a PVR-500 in the same box. Up through 0.3.3k
(100% confidence) and 0.3.4f (90% confidence) I had no sound issues at
all. Since 0.3.4p, the audio in a file produced by a PVR-250 is normal
(the same as it ever was) but the audio in a file produced by either
tuner of the PRV-500 is a *lot* louder, to the point of being grossly
distorted and unusable.
Tyler Trafford replied to one of my earlier posts suggesting that part
of the problem might be the lack of volume controls for the cx25840.
Alan Stirling replied to that, suggesting that 0x8D4 and 0x8E4 might be
involved with volume control. Still, as far as I can tell, I am the
only one reporting this problem, which leads me to suspect I have a
configuration or mis-detection problem.
My modprobe.conf options are pretty simple. I still have the
no_black_magic setting because I'm using 0.3.2w for production use,
otherwise I could remove it:
options saa7127 i2c_enable=-1,-1,-1,-1
options cx25840 i2c_enable=1,1 no_black_magic=1
options ivtv ivtv_debug=1 tuner=2,2,57,57
I'm using the ivtv versions of tveeprom.ko, tuner.ko, and msp3400.ko
(100% confidence).
At the end of this note is the debug output for the intialization of
version 0.3.4u of the driver, which has the audio problem. I have
compared it to the output of 0.3.2w, which does not have the audio
problem, and can find no substantial differences in terms of detection
and initialization of the relevant modules.
If anyone has any suggestions for the best way to troubleshoot and
resolve this problem, I would be very grateful.
Thanks!
Bill
Jun 2 15:44:39 bugs kernel: ivtv: ==================== START INIT IVTV
====================
Jun 2 15:44:39 bugs kernel: ivtv: version 0.3.5 (u) loading
Jun 2 15:44:39 bugs kernel: ivtv: Linux version: 2.6.10-1.766_FC3 686
REGPARM 4KSTACKS gcc-3.4
Jun 2 15:44:39 bugs kernel: ivtv: In case of problems please include
the debug info
Jun 2 15:44:39 bugs kernel: ivtv: between the START INIT IVTV and END
INIT IVTV lines when
Jun 2 15:44:39 bugs kernel: ivtv: mailing the ivtv-devel mailinglist.
Jun 2 15:44:39 bugs kernel: ivtv: Autodetected WinTV PVR 250 card
Jun 2 15:44:39 bugs kernel: ivtv: Found an iTVC15 based chip
Jun 2 15:44:39 bugs kernel: ACPI: PCI interrupt 0000:01:08.0[A] -> GSI
3 (level, low) -> IRQ 3
Jun 2 15:44:39 bugs kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jun 2 15:44:39 bugs kernel: tveeprom: Hauppauge: model = 48432, rev =
I110, serial# = 6516403
Jun 2 15:44:39 bugs kernel: tveeprom: tuner = Philips FI1236 MK2 (idx =
10, type = 2)
Jun 2 15:44:39 bugs kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Jun 2 15:44:39 bugs kernel: tveeprom: audio_processor = MSP3440 (type = 11)
Jun 2 15:44:39 bugs kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jun 2 15:44:39 bugs kernel: ivtv: Tuner Type 2, Tuner formats
0x00001000, Radio: yes, Model 0x00a51450, Revision 0x00000000
Jun 2 15:44:39 bugs kernel: ivtv: NTSC tuner detected
Jun 2 15:44:39 bugs kernel: ivtv: Radio detected
Jun 2 15:44:39 bugs kernel: tuner: Ignoring new-style parameters in
presence of obsolete ones
Jun 2 15:44:39 bugs kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #0
Jun 2 15:44:39 bugs kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jun 2 15:44:39 bugs kernel: saa7115: starting probe for adapter SMBus
nForce2 adapter at 5000 (0x0)
Jun 2 15:44:40 bugs kernel: saa7115: starting probe for adapter SMBus
nForce2 adapter at 5100 (0x0)
Jun 2 15:44:40 bugs kernel: saa7115: starting probe for adapter ISA
main adapter (0x0)
Jun 2 15:44:40 bugs kernel: saa7115: starting probe for adapter ivtv
i2c driver #0 (0x10005)
Jun 2 15:44:40 bugs kernel: saa7115: detecting saa7115 client on
address 0x42
Jun 2 15:44:40 bugs kernel: saa7115: writing init values
Jun 2 15:44:40 bugs kernel: ivtv: i2c attach [client=saa7115[50],ok]
Jun 2 15:44:40 bugs kernel: saa7115: status: (1E) 0x81, (1F) 0xb1
Jun 2 15:44:40 bugs kernel: msp34xx: ivtv version
Jun 2 15:44:40 bugs kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
support, simple (D) mode, simpler (G) no-thread mode
Jun 2 15:44:40 bugs kernel: msp34xx: $Id$ compiled on: Jun 2 2005 15:42:48
Jun 2 15:44:40 bugs kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Jun 2 15:44:41 bugs kernel: ivtv: Encoder revision: 0x02040024
Jun 2 15:44:41 bugs kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jun 2 15:44:41 bugs kernel: ivtv: Decoder revision: 0x02020023
Jun 2 15:44:41 bugs kernel: ivtv: Configuring WinTV PVR 250 card with 5
streams
Jun 2 15:44:41 bugs kernel: ivtv: Registered v4l2 device, streamtype 0
minor 0
Jun 2 15:44:41 bugs kernel: ivtv: Create DMA stream 0 using 128 16384
byte buffers 0 kbytes total
Jun 2 15:44:41 bugs kernel: ivtv: Registered v4l2 device, streamtype 1
minor 32
Jun 2 15:44:41 bugs kernel: ivtv: Create DMA stream 1 using 80 25920
byte buffers 0 kbytes total
Jun 2 15:44:41 bugs kernel: ivtv: Registered v4l2 device, streamtype 2
minor 224
Jun 2 15:44:41 bugs kernel: ivtv: Create DMA stream 2 using 165 12635
byte buffers 0 kbytes total
Jun 2 15:44:41 bugs kernel: ivtv: Registered v4l2 device, streamtype 3
minor 24
Jun 2 15:44:41 bugs kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers 0 kbytes total
Jun 2 15:44:41 bugs kernel: ivtv: Registered v4l2 device, streamtype 4
minor 64
Jun 2 15:44:41 bugs kernel: ivtv: Create stream 4
Jun 2 15:44:41 bugs kernel: ivtv: Setting Tuner 2
Jun 2 15:44:41 bugs kernel: tuner: type set to 2 (Philips NTSC
(FI1236,FM1236 and compatibles)) by ivtv i2c driver #0
Jun 2 15:44:41 bugs kernel: saa7115: decoder set norm NTSC
Jun 2 15:44:41 bugs kernel: saa7115: set audio: 0x01
Jun 2 15:44:41 bugs kernel: saa7115: decoder set input (4)
Jun 2 15:44:41 bugs kernel: saa7115: now setting Composite input
Jun 2 15:44:41 bugs kernel: ivtv: Setting audio matrix to input 3, output 1
Jun 2 15:44:41 bugs kernel: ivtv: Switching standard to NTSC.
Jun 2 15:44:41 bugs kernel: ivtv: ivtv_enc_thread: pid = 12022, itv =
0xe0e4a720
Jun 2 15:44:41 bugs kernel: ivtv: ivtv_enc_vbi_thread: pid = 12023, itv
= 0xe0e4a720
Jun 2 15:44:41 bugs kernel: saa7115: decoder set norm NTSC
Jun 2 15:44:41 bugs kernel: saa7115: set audio: 0x01
Jun 2 15:44:41 bugs kernel: ivtv: Initialized WinTV PVR 250, card #0
Jun 2 15:44:42 bugs kernel: ivtv: Autodetected WinTV PVR 250 card
Jun 2 15:44:42 bugs kernel: ivtv: Found an iTVC15 based chip
Jun 2 15:44:42 bugs kernel: ACPI: PCI interrupt 0000:01:09.0[A] -> GSI
7 (level, low) -> IRQ 7
Jun 2 15:44:42 bugs kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jun 2 15:44:42 bugs kernel: tveeprom: Hauppauge: model = 48432, rev =
I110, serial# = 6125159
Jun 2 15:44:42 bugs kernel: tveeprom: tuner = Philips FI1236 MK2 (idx =
10, type = 2)
Jun 2 15:44:42 bugs kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Jun 2 15:44:42 bugs kernel: tveeprom: audio_processor = MSP3440 (type = 11)
Jun 2 15:44:42 bugs kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jun 2 15:44:42 bugs kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #1
Jun 2 15:44:42 bugs kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jun 2 15:44:42 bugs kernel: saa7115: starting probe for adapter ivtv
i2c driver #1 (0x10005)
Jun 2 15:44:42 bugs kernel: saa7115: detecting saa7115 client on
address 0x42
Jun 2 15:44:42 bugs kernel: saa7115: writing init values
Jun 2 15:44:42 bugs kernel: ivtv: i2c attach [client=saa7115[50],ok]
Jun 2 15:44:42 bugs kernel: saa7115: status: (1E) 0x81, (1F) 0xb1
Jun 2 15:44:42 bugs kernel: msp34xx: ivtv version
Jun 2 15:44:42 bugs kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM
support, simple (D) mode, simpler (G) no-thread mode
Jun 2 15:44:42 bugs kernel: msp34xx: $Id$ compiled on: Jun 2 2005 15:42:48
Jun 2 15:44:42 bugs kernel: ivtv: i2c attach [client=MSP3448W-A2,ok]
Jun 2 15:44:42 bugs kernel: ivtv: Tuner Type 2, Tuner formats
0x00001000, Radio: yes, Model 0x00a51450, Revision 0x00000000
Jun 2 15:44:42 bugs kernel: ivtv: NTSC tuner detected
Jun 2 15:44:42 bugs kernel: ivtv: Radio detected
Jun 2 15:44:43 bugs kernel: ivtv: Encoder revision: 0x02040024
Jun 2 15:44:43 bugs kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jun 2 15:44:43 bugs kernel: ivtv: Decoder revision: 0x02020023
Jun 2 15:44:43 bugs kernel: ivtv: Configuring WinTV PVR 250 card with 5
streams
Jun 2 15:44:43 bugs kernel: ivtv: Registered v4l2 device, streamtype 0
minor 1
Jun 2 15:44:43 bugs kernel: ivtv: Create DMA stream 0 using 128 16384
byte buffers 0 kbytes total
Jun 2 15:44:43 bugs kernel: ivtv: Registered v4l2 device, streamtype 1
minor 33
Jun 2 15:44:43 bugs kernel: ivtv: Create DMA stream 1 using 80 25920
byte buffers 0 kbytes total
Jun 2 15:44:43 bugs kernel: ivtv: Registered v4l2 device, streamtype 2
minor 225
Jun 2 15:44:43 bugs kernel: ivtv: Create DMA stream 2 using 165 12635
byte buffers 0 kbytes total
Jun 2 15:44:43 bugs kernel: ivtv: Registered v4l2 device, streamtype 3
minor 25
Jun 2 15:44:43 bugs kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers 0 kbytes total
Jun 2 15:44:43 bugs kernel: ivtv: Registered v4l2 device, streamtype 4
minor 65
Jun 2 15:44:43 bugs kernel: ivtv: Create stream 4
Jun 2 15:44:43 bugs kernel: ivtv: Setting Tuner 2
Jun 2 15:44:43 bugs kernel: tuner: type set to 2 (Philips NTSC
(FI1236,FM1236 and compatibles)) by ivtv i2c driver #1
Jun 2 15:44:43 bugs kernel: saa7115: decoder set norm NTSC
Jun 2 15:44:43 bugs kernel: saa7115: set audio: 0x01
Jun 2 15:44:43 bugs kernel: saa7115: decoder set input (4)
Jun 2 15:44:43 bugs kernel: saa7115: now setting Composite input
Jun 2 15:44:43 bugs kernel: ivtv: Setting audio matrix to input 3, output 1
Jun 2 15:44:43 bugs kernel: ivtv: Switching standard to NTSC.
Jun 2 15:44:43 bugs kernel: ivtv: ivtv_enc_thread: pid = 12144, itv =
0xe0e6dc2c
Jun 2 15:44:43 bugs kernel: ivtv: ivtv_enc_vbi_thread: pid = 12145, itv
= 0xe0e6dc2c
Jun 2 15:44:43 bugs kernel: saa7115: decoder set norm NTSC
Jun 2 15:44:43 bugs kernel: saa7115: set audio: 0x01
Jun 2 15:44:43 bugs kernel: ivtv: Initialized WinTV PVR 250, card #1
Jun 2 15:44:43 bugs kernel: ivtv: Autodetected WinTV PVR 150 card
Jun 2 15:44:43 bugs kernel: ivtv: Found an iTVC16 based chip
Jun 2 15:44:43 bugs kernel: ACPI: PCI interrupt 0000:02:08.0[A] -> GSI
5 (level, low) -> IRQ 5
Jun 2 15:44:44 bugs kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jun 2 15:44:44 bugs kernel: tveeprom: Hauppauge: model = 23552, rev =
D492, serial# = 7893714
Jun 2 15:44:44 bugs kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx
= 92, type = 57)
Jun 2 15:44:44 bugs kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Jun 2 15:44:44 bugs kernel: tveeprom: audio_processor = MSP3410D (type = 5)
Jun 2 15:44:44 bugs kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jun 2 15:44:44 bugs kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #2
Jun 2 15:44:44 bugs kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jun 2 15:44:45 bugs kernel: saa7115: starting probe for adapter ivtv
i2c driver #2 (0x10005)
Jun 2 15:44:45 bugs kernel: ivtv: Tuner Type 57, Tuner formats
0x00001000, Radio: yes, Model 0x00914652, Revision 0x00000000
Jun 2 15:44:47 bugs kernel: ivtv: NTSC tuner detected
Jun 2 15:44:48 bugs kernel: ivtv: Radio detected
Jun 2 15:44:48 bugs kernel: cx25840: Unknown parameter `no_black_magic'
Jun 2 15:44:48 bugs kernel: cx25840: FW image
'/lib/modules/HcwMakoA.ROM' of size 13353 loaded.
Jun 2 15:44:48 bugs kernel: cx25840: FW image md5 digest:
aa4d1e3dd17667957d8fe5b8d2d19395
Jun 2 15:44:48 bugs kernel: cx25840: FW image sha1 digest:
60eafed58e943664aae4754b32271e09a95496b4
Jun 2 15:44:48 bugs kernel: ivtv: i2c attach [client=cx25840[50],ok]
Jun 2 15:44:48 bugs kernel: ivtv: i2c attach [client=wm8775[50],ok]
Jun 2 15:44:49 bugs kernel: ivtv: Encoder revision: 0x02040024
Jun 2 15:44:49 bugs kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jun 2 15:44:49 bugs kernel: ivtv: Configuring WinTV PVR 150 card with 5
streams
Jun 2 15:44:49 bugs kernel: ivtv: Registered v4l2 device, streamtype 0
minor 2
Jun 2 15:44:49 bugs kernel: ivtv: Create DMA stream 0 using 128 16384
byte buffers 0 kbytes total
Jun 2 15:44:49 bugs kernel: ivtv: Registered v4l2 device, streamtype 1
minor 34
Jun 2 15:44:49 bugs kernel: ivtv: Create DMA stream 1 using 80 25920
byte buffers 0 kbytes total
Jun 2 15:44:49 bugs kernel: ivtv: Registered v4l2 device, streamtype 2
minor 226
Jun 2 15:44:49 bugs kernel: ivtv: Create DMA stream 2 using 165 12635
byte buffers 0 kbytes total
Jun 2 15:44:49 bugs kernel: ivtv: Registered v4l2 device, streamtype 3
minor 26
Jun 2 15:44:49 bugs kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers 0 kbytes total
Jun 2 15:44:49 bugs kernel: ivtv: Registered v4l2 device, streamtype 4
minor 66
Jun 2 15:44:49 bugs kernel: ivtv: Create stream 4
Jun 2 15:44:49 bugs kernel: ivtv: Setting Tuner 57
Jun 2 15:44:49 bugs kernel: tuner: type set to 57 (Philips FQ1236A MK4)
by ivtv i2c driver #2
Jun 2 15:44:49 bugs kernel: ivtv: Switching standard to NTSC.
Jun 2 15:44:49 bugs kernel: ivtv: Initialized WinTV PVR 150, card #2
Jun 2 15:44:49 bugs kernel: ivtv: Autodetected WinTV PVR 150 card
Jun 2 15:44:49 bugs kernel: ivtv: Found an iTVC16 based chip
Jun 2 15:44:49 bugs kernel: ivtv: ivtv_enc_thread: pid = 12337, itv =
0xe0e91138
Jun 2 15:44:49 bugs kernel: ivtv: ivtv_enc_vbi_thread: pid = 12338, itv
= 0xe0e91138
Jun 2 15:44:49 bugs kernel: ACPI: PCI interrupt 0000:02:09.0[A] -> GSI
11 (level, low) -> IRQ 11
Jun 2 15:44:49 bugs kernel: ivtv: XXX PCI device: 0x01e0 vendor: 0x10de
Jun 2 15:44:49 bugs kernel: tveeprom: Hauppauge: model = 23552, rev =
D492, serial# = 7893714
Jun 2 15:44:49 bugs kernel: tveeprom: tuner = Philips FQ1236A MK4 (idx
= 92, type = 57)
Jun 2 15:44:49 bugs kernel: tveeprom: tuner fmt = NTSC(M) (eeprom =
0x08, v4l2 = 0x00001000)
Jun 2 15:44:49 bugs kernel: tveeprom: audio_processor = MSP3410D (type = 5)
Jun 2 15:44:49 bugs kernel: ivtv: i2c attach [client=tveeprom[50],ok]
Jun 2 15:44:49 bugs kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv
i2c driver #3
Jun 2 15:44:49 bugs kernel: ivtv: i2c attach [client=(tuner unset),ok]
Jun 2 15:44:49 bugs kernel: saa7115: starting probe for adapter ivtv
i2c driver #3 (0x10005)
Jun 2 15:44:53 bugs kernel: cx25840: FW image
'/lib/modules/HcwMakoA.ROM' of size 13353 loaded.
Jun 2 15:44:53 bugs kernel: cx25840: FW image md5 digest:
aa4d1e3dd17667957d8fe5b8d2d19395
Jun 2 15:44:53 bugs kernel: cx25840: FW image sha1 digest:
60eafed58e943664aae4754b32271e09a95496b4
Jun 2 15:44:53 bugs kernel: ivtv: i2c attach [client=cx25840[50],ok]
Jun 2 15:44:53 bugs kernel: ivtv: i2c attach [client=wm8775[50],ok]
Jun 2 15:44:53 bugs kernel: ivtv: Tuner Type 57, Tuner formats
0x00001000, Radio: yes, Model 0x00914652, Revision 0x00000000
Jun 2 15:44:53 bugs kernel: ivtv: NTSC tuner detected
Jun 2 15:44:53 bugs kernel: ivtv: Radio detected
Jun 2 15:44:54 bugs kernel: ivtv: Encoder revision: 0x02040024
Jun 2 15:44:54 bugs kernel: ivtv: Encoder Firmware may be buggy, use
version 0x02040011
Jun 2 15:44:54 bugs kernel: ivtv: Configuring WinTV PVR 150 card with 5
streams
Jun 2 15:44:54 bugs kernel: ivtv: Registered v4l2 device, streamtype 0
minor 3
Jun 2 15:44:54 bugs kernel: ivtv: Create DMA stream 0 using 128 16384
byte buffers 0 kbytes total
Jun 2 15:44:54 bugs kernel: ivtv: Registered v4l2 device, streamtype 1
minor 35
Jun 2 15:44:54 bugs kernel: ivtv: Create DMA stream 1 using 80 25920
byte buffers 0 kbytes total
Jun 2 15:44:54 bugs kernel: ivtv: Registered v4l2 device, streamtype 2
minor 227
Jun 2 15:44:54 bugs kernel: ivtv: Create DMA stream 2 using 165 12635
byte buffers 0 kbytes total
Jun 2 15:44:54 bugs kernel: ivtv: Registered v4l2 device, streamtype 3
minor 27
Jun 2 15:44:54 bugs kernel: ivtv: Create DMA stream 3 using 455 4608
byte buffers 0 kbytes total
Jun 2 15:44:54 bugs kernel: ivtv: Registered v4l2 device, streamtype 4
minor 67
Jun 2 15:44:54 bugs kernel: ivtv: Create stream 4
Jun 2 15:44:54 bugs kernel: ivtv: Setting Tuner 57
Jun 2 15:44:54 bugs kernel: tuner: type set to 57 (Philips FQ1236A MK4)
by ivtv i2c driver #3
Jun 2 15:44:55 bugs kernel: ivtv: Switching standard to NTSC.
Jun 2 15:44:55 bugs kernel: ivtv: Initialized WinTV PVR 150, card #3
Jun 2 15:44:55 bugs kernel: ivtv: ==================== END INIT IVTV
====================
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel