[V4L] STB TVPCI Audio Strangeness

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



I have a STB TVPCI card that previously worked great in a Win98 machine and
I have now moved it to my Linux box with a problem.

The problem is audio is not working consistantly. When I load the BTTV
driver+support modules with modprobe, audio comes on immediately. I can then
fire up xawtv, and audio works fine, with volume control, etc. If I exit and
then restart xawtv, audio shuts down, and doesn't restart.
I have to unload the modules, and then load them again to get audio.
Sometimes just re-loading the modules doesn't restart audio either, and it
takes several tries of unloading/loading for success.

Also, if I click the audio options in xawtv (auto/stereo/mono) audio quits
too.

Seems like audio is not getting initialized properly or something?

Anyone have any suggestions?

My setup is as follows:

Debian Linux (Potato) with kernel 2.2.17
BTTV v0.7.44 compiled seperately from kernel
I2C v2.5.3 drivers
xawtv v3.22

My modules config is as follows:

# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1

# bttv
alias char-major-81 videodev
alias char-major-81-0 bttv
options bttv  card=40 radio=1 bttv_verbose=2
options tuner  debug=1 type=2
options tvaudio  debug=1 tda9850=1
options tvmixer  debug=1 devnr=1
pre-install bttv (/sbin/modprobe "tuner"; /sbin/modprobe "tvaudio"; \
                  /sbin/modprobe "tda7432"; /sbin/modprobe "tvmixer")
post-remove bttv (/sbin/modprobe -r "tuner"; /sbin/modprobe -r "tvaudio"; \
                  /sbin/modprobe -r "tda7432"; /sbin/modprobe -r "tvmixer")

My dmesg output with debug enabled when loading bttv:

Linux video capture interface: v1.00
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
i2c-core.o: driver i2c TV tuner driver registered.
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.
i2c-core.o: driver i2c tda7432 driver registered.
i2c-core.o: driver tv card mixer driver registered.
bttv: driver version 0.7.44 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge 82437FX Triton PIIX
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 2) at 00:14.0, irq: 11, latency: 132, memory: 0xf0dff000
bttv0: subsystem: 10b4:2636  =>  STB TV PCI FM, P/N 6000704  =>  card=40
bttv0: model: BT878(STB2) [insmod option]
PCI: Enabling bus mastering for device 00:a0
bttv: Enabling 430FX compatibilty for bt878
i2c-algo-bit.o: Adapter: bt848 #0 scl: 1  sda: 1 -- testing...
i2c-algo-bit.o:1 scl: 1  sda: 0
i2c-algo-bit.o:2 scl: 1  sda: 1
i2c-algo-bit.o:3 scl: 0  sda: 1
i2c-algo-bit.o:4 scl: 1  sda: 1
i2c-algo-bit.o: bt848 #0 passed test.
tuner: chip found @ 0x63
bttv0: i2c attach [Philips NTSC]
i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 0).
tvaudio: chip @ addr=0x98
tvaudio: tea6420 matches: audiomux
bttv0: i2c attach [tea6420]
i2c-core.o: client [tea6420] registered to adapter [bt848 #0](pos. 1).
tvaudio: chip @ addr=0xb6
(unset): chip_read2: reg254=0x10
tvaudio: tda9850 matches:
bttv0: i2c attach [tda9850]
i2c-core.o: client [tda9850] registered to adapter [bt848 #0](pos. 2).
tda9850: chip_cmd(init): reg=4, data: 0x8 0x8 0x40 0x7 0x10 0x10 0x3
tda7432: init
bttv0: i2c attach [TDA7432]
i2c-core.o: client [TDA7432] registered to adapter [bt848 #0](pos. 3).
tvmixer: adapter bt848 #0
tvmixer: debug: Philips NTSC
tvmixer: Philips NTSC: has no volume control
tvmixer: debug: tea6420
tea6420: chip_command 0x80287610
tvmixer: tea6420: has no volume control
tvmixer: debug: tda9850
tda9850: chip_command 0x80287610
tda9850: chip_read: 0x10
tvmixer: tda9850: has no volume control
tvmixer: debug: TDA7432
tvmixer: TDA7432 (bt848 #0) registered with minor 16
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... found
tea6420: chip_command 0x40046d11
tea6420: chip_write: 0x0
tda9850: chip_command 0x40046d11

Thanks for your help!
---
Dave Ewaldz
Rockford, Illinois
ewaldz@xxxxxxxxxx
http://www.execpc.com/~ewaldz






[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