[V4L] Hauppauge WinTV-pci audio woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I recently purchased a brand new Hauppauge WinTV/Radio and after
struggling a bit with some hardware problems (probably an IRQ
conflict) it now works fairly well.

However, I'm having a few audio related problems:

  * I get no audio in FM radio mode.  I've tried a gazillion different
    radio tuner applications, including "radio" from the xawtv
    package, and all they produce is complete silence.  The mixer on
    my sound card *is* set correctly and the audio cable *is*
    connected, since I get audio when tuned to a TV station (see
    below).  I also provide the "radio=1" option to the bttv module.
    When tuning to a radio station, this debug output is produced from
    the kernel driver:

    ,----
    | msp34xx: setvolume: 0:0 0x00 0x00
    | tuner: radio freq set to 400.00
    | tuner: PLL not locked
    | tuner: Signal: 16384
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp3400: FM setstereo: 1
    | msp34xx: setvolume: 0:0 0x00 0x00
    | tuner: radio freq set to 92.62
    | tuner: PLL not locked
    | tuner: Signal: 24576
    `----

    I'm guessing the "setvolume 0:0" is the problem here.  Changing
    mixer settings through the tvmixer module has no effect, and
    exiting the radio application and using "v4lctl volume" has no
    effect, either.

  * When tuned to a TV station in xawtv I get audio, but I can't
    change the volume nor mute it.  The debug output from xawtv
    and the kernel does give some clues:

    ,----[ xawtv debug output ]
    | cmd: "volume" "mute"
    | cmd: "volume" "mute"
    | cmd: "volume" "dec"
    | cmd: "volume" "dec"
    `----

    ,----[ kernel debug output ]
    | msp34xx: stereo detect register: 0
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp3400: FM setstereo: 1
    | msp34xx: stereo detect register: 0
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp3400: FM setstereo: 1
    | msp34xx: stereo detect register: 0
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp3400: FM setstereo: 1
    | msp34xx: stereo detect register: 0
    | msp34xx: setvolume: 65535:65535 0x73 0x00
    | msp34xx: setbass: 32768 0x00
    | msp34xx: settreble: 32768 0x00
    | msp3400: FM setstereo: 1
    `----

    As you can see, the volume on the mps3400 is unchanged no matter
    what I try.  Calling "v4lctl volume 0" by hand has the same effect
    (ie. none).  In this case, setting the volume via tvmixer works
    just fine.  I tried to convince xawtv to use the tvmixer mixer,
    but was unsuccessful.


System details:

Debian GNU/Linux unstable
Kernel 2.2.17 (w/i2c patch)
XFree86 4.0.1d (the CVS version shipped in the experimental .debs)
bttv 0.7.44
xawtv 3.22 (compiled against XFree86 4.0.1)
Hauppauge WinTV-pci with radio, NICAM stereo, and Philips PAL tuner.

I'm using the XFree86 4.0 v4l and Xv extensions, in case it matter for
this problem.  It probably doesn't, since fbtv has the same problem
(no control over audio).

This is what the bttv auto-detection code has to say about my card:

,----
| Linux video capture interface: v1.00
| i2c-algo-bit.o: i2c bit algorithm module
| bttv: driver version 0.7.44 loaded
| bttv: using 2 buffers with 2080k (4160k total) for capture
| bttv: Bt8xx card found (0).
| bttv0: Bt878 (rev 17) at 00:0d.0, irq: 11, latency: 32, memory: 0xd9001000
| bttv0: subsystem: 0070:13eb  =>  Hauppauge WinTV  =>  card=10
| bttv0: model: BT878(Hauppauge new (bt878)) [autodetected]
| bttv0: Hauppauge msp34xx: reset line init
| i2c-core.o: adapter bt848 #0 registered as adapter 1.
| bttv0: Hauppauge eeprom: tuner=Philips FM1216 (5)
| bttv0: i2c: checking for MSP34xx @ 0x80... found
| i2c-core.o: driver i2c msp3400 driver registered.
| msp34xx: init: chip=MSP3415D-B3, has NICAM support
| msp3410: daemon started
| bttv0: i2c attach [MSP3415D-B3]
| i2c-core.o: client [MSP3415D-B3] registered to adapter [bt848 #0](pos. 0).
| msp3410: setting mode: autodetect start (0x0001)
| i2c-core.o: driver tv card mixer driver registered.
| tvmixer: adapter ISA main adapter
| tvmixer: ISA main adapter is not a tv card
| tvmixer: adapter bt848 #0
| tvmixer: debug: MSP3415D-B3
| tvmixer: MSP3415D-B3 (bt848 #0) registered with minor 16
| msp3410: detection still in progress
| msp3410: detection still in progress
| bttv0: i2c: checking for TDA9875 @ 0xb0... not found
| bttv0: i2c: checking for TDA7432 @ 0x8a... not found
| tvaudio: TV audio decoder + audio/video mux driver
| tvaudio: known chips: tda9840,tda9873h,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
| i2c-core.o: driver generic i2c audio driver registered.
| msp3410: current mode: ERROR (0x0000)
| msp34xx: setbass: 32768 0x00
| msp34xx: settreble: 32768 0x00
| msp34xx: setvolume: 65535:65535 0x73 0x00
| i2c-core.o: driver i2c TV tuner driver registered.
| tuner: chip found @ 0x61
| tuner: type set to 5 (Philips PAL)
| bttv0: i2c attach [Philips PAL]
| i2c-core.o: client [Philips PAL] registered to adapter [bt848 #0](pos. 1).
| bttv0: PLL: 28636363 => 35468950 ... ok
`----

I don't think the "msp3410 current mode: ERROR (0x0000)" is the
problem, since this only happens when the tuner is not set to a valid
channel when the driver loads (e.g. on a cold boot).

I hope someone here has a clue 'cause I sure don't...
-- 
Echelon bait:
Paula Corbin Jones Albania Project Monarch militia Bosnia
counter-intelligence constitution Janet Reno Ft. Knox Rule Psix Soviet
World Trade Center jihad Treasury Clinton





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux