On Dec 3, 2005, at 2:36 PM, Hans Verkuil wrote:

On Saturday 03 December 2005 20:25, Kurt Yoder wrote:

Hi list

Audio seems to be a common problem around here, so I am sorry to post
yet another request for help on this topic.




Dec  3 03:03:23 corn kernel: ivtv0: Failed to load module tuner
Dec  3 03:03:23 corn kernel: ivtv0: Failed to load module tda9887


No tuner, no tda9887, no sound. My guess is that you also hit a bug in
the tuner.c and tda9887.c sources and that they failed to compile.


Indeed. I had moved tda9887.ko and tuner.ko out of the way while following instructions in

http://ivtvdriver.org/index.php/Howto

But I installed the Debian package, which apparently didn't copy these back into /lib/modules. I moved the original .ko files back in place and tried again. Now I get sound (but only static) on channels 6 and 7 of my card. I still have video on channel 1 with no sound (should I be manually changing these channels?). I also tried moving the ivtv-compiled .ko files into /lib/modules, but got the same result.

The new kernel log:

Dec 3 15:43:40 corn kernel: ivtv: ==================== START INIT IVTV ==================== Dec 3 15:43:40 corn kernel: ivtv: version 0.4.0 (tagged release) loading Dec 3 15:43:40 corn kernel: ivtv: Linux version: 2.6.8-2-k7 preempt K7 gcc-3.3 Dec 3 15:43:40 corn kernel: ivtv: In case of problems please include the debug info Dec 3 15:43:40 corn kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Dec  3 15:43:40 corn kernel: ivtv:  mailing the ivtv-devel mailinglist.
Dec 3 15:43:40 corn kernel: ivtv0: Autodetected WinTV PVR 150 card (iTVC16 based) Dec 3 15:43:40 corn kernel: ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 201 Dec 3 15:43:40 corn kernel: tveeprom: Ignoring new-style parameters in presence of obsolete ones
Dec  3 15:43:40 corn kernel: tveeprom: ivtv version
Dec 3 15:43:40 corn kernel: tveeprom: Hauppauge: model = 26032, rev = C199, serial# = 8095886 Dec 3 15:43:40 corn kernel: tveeprom: tuner = TCL 2002N 5H (idx = 99, type = 50) Dec 3 15:43:40 corn kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Dec 3 15:43:40 corn kernel: tveeprom: audio processor = CX25841 (type = 23) Dec 3 15:43:40 corn kernel: tveeprom: decoder processor = CX25841 (type = 1c) Dec 3 15:43:40 corn kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] Dec 3 15:43:40 corn kernel: tuner: Ignoring new-style parameters in presence of obsolete ones Dec 3 15:43:40 corn kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Dec 3 15:43:40 corn kernel: ivtv0: i2c attach to card #0 ok [client= (tuner unset), addr=61] Dec 3 15:43:40 corn kernel: cx25840: Ignoring new-style parameters in presence of obsolete ones Dec 3 15:43:40 corn kernel: cx25840 0-0044: cx25841-23 found @ 0x88 (ivtv i2c driver #0) Dec 3 15:43:42 corn kernel: cx25840 0-0044: loaded HcwMakoA.ROM firmware (14264 bytes) Dec 3 15:43:42 corn kernel: ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44] Dec 3 15:43:42 corn kernel: wm8775: Ignoring new-style parameters in presence of obsolete ones Dec 3 15:43:42 corn kernel: wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0) Dec 3 15:43:42 corn kernel: ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b] Dec 3 15:43:42 corn kernel: tda9887: Ignoring new-style parameters in presence of obsolete ones Dec 3 15:43:42 corn kernel: ivtv0: requesting ivtv-fw-enc.bin from hotplug
Dec  3 15:43:43 corn kernel: ivtv0: Encoder revision: 0x02050032
Dec 3 15:43:43 corn kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) Dec 3 15:43:43 corn kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB total) Dec 3 15:43:43 corn kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB total) Dec 3 15:43:43 corn kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) Dec 3 15:43:43 corn kernel: tuner: type set to 50 (TCL 2002N) by ivtv i2c driver #0
Dec  3 15:43:43 corn kernel: ivtv0: Initialized WinTV PVR 150, card #0
Dec 3 15:43:43 corn kernel: ivtv: ==================== END INIT IVTV ====================

Diagnostic output:

Dec 3 15:54:11 corn kernel: ivtv0: ================= START STATUS CARD #0 ================= Dec 3 15:54:11 corn kernel: cx25840 0-0044: Video signal: present Dec 3 15:54:11 corn kernel: cx25840 0-0044: Detected format: NTSC-M (microcontroller: NTSC-M) Dec 3 15:54:11 corn kernel: cx25840 0-0044: Detected audio mode: mono Dec 3 15:54:11 corn kernel: cx25840 0-0044: Detected audio standard: BTSC Dec 3 15:54:11 corn kernel: cx25840 0-0044: Audio muted: no Dec 3 15:54:11 corn kernel: cx25840 0-0044: Audio microcontroller: stopped Dec 3 15:54:11 corn kernel: cx25840 0-0044: Configured audio standard: automatic detection Dec 3 15:54:11 corn kernel: cx25840 0-0044: Configured audio system: BTSC Dec 3 15:54:11 corn kernel: cx25840 0-0044: Specified standard: NTSC Dec 3 15:54:11 corn kernel: cx25840 0-0044: Specified input: S-Video Dec 3 15:54:11 corn kernel: cx25840 0-0044: Specified audio input: external Dec 3 15:54:11 corn kernel: cx25840 0-0044: Specified audio rate: 48 kHz Dec 3 15:54:11 corn kernel: cx25840 0-0044: Preferred audio mode: stereo
Dec  3 15:54:11 corn kernel: wm8775 0-001b: Input: default
Dec 3 15:54:11 corn kernel: ivtv0: ================== END STATUS CARD #0 ==================
(END)



Replace '#include <media/audiochip.h>' by '#include "audiochip.h"' in
both sources and compile/install again. It should work now.


Should I try this, or is this recommendation based on the missing files, which are now present again?

You can also go to the 0.4.1 snapshot since that also has a bug fix for
your tuner (the `ivtvctl -g reg=0x808,val=0x1f` fix).

I tried running this command manually, but still got no audio on channel 1.

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to