bttv problems, questions

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



First, the question. Is the design of the bttv driver supposed to allow opening
the video and radio devices at the same time? If I start a radio app, a video
app will refuse to start. But it looks like the devices generate EBUSY
independently, so I'm not sure why the 2nd app fails. Are the apps coded wrong?
What is the correct behavior?

Second, the problems.

While running tv and radio apps, the radio device eventually became
perpetually busy. Nothing seems to be using it, but it always returns busy
on open:

[root@porky kernel]# fuser /dev/radio0
[root@porky kernel]# cat /dev/radio0
cat: /dev/radio0: Device or resource busy

I can't unload the module, either.


Also, (when the module *is* working) the volume ioctl never works. I get audio
ok, but no volume control.

The system is a Hauppauge WinTV with the 878 chip, SMP mainboard, kernel 2.4.9. 

Here's a log of the bttv stuff:

Oct 29 09:20:24 porky kernel: Linux video capture interface: v1.00
Oct 29 09:20:24 porky kernel: i2c-core.o: i2c core module
Oct 29 09:20:24 porky kernel: i2c-algo-bit.o: i2c bit algorithm module
Oct 29 09:20:24 porky kernel: bttv: driver version 0.7.72 loaded
Oct 29 09:20:24 porky kernel: bttv: using 2 buffers with 2080k (4160k total) for capture
Oct 29 09:20:24 porky kernel: bttv: Host bridge needs ETBF enabled.
Oct 29 09:20:24 porky kernel: bttv: Bt8xx card found (0).
Oct 29 09:20:24 porky kernel: bttv0: Bt878 (rev 2) at 00:0a.0, irq: 9, latency: 32, memory: 0xe1000000
Oct 29 09:20:24 porky kernel: bttv0: subsystem: 0070:13eb  =>  Hauppauge WinTV  =>  card=10
Oct 29 09:20:24 porky kernel: bttv0: model: BT878(Hauppauge new (bt878)) [autodetected]
Oct 29 09:20:24 porky kernel: bttv0: enabling ETBF (430FX/VP3 compatibilty)
Oct 29 09:20:24 porky kernel: bttv0: Hauppauge msp34xx: reset line init
Oct 29 09:20:24 porky kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Oct 29 09:20:24 porky kernel: bttv0: Hauppauge eeprom: model=62471, tuner=Philips FM1236 (2), radio=yes
Oct 29 09:20:24 porky kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not found
Oct 29 09:20:24 porky kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not found
Oct 29 09:20:24 porky kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not found
Oct 29 09:20:24 porky kernel: tvaudio: TV audio decoder + audio/video mux driverOct 29 09:20:24 porky kernel: tvaudio: known chips: tda9840,tda9873h,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
Oct 29 09:20:24 porky kernel: i2c-core.o: driver generic i2c audio driver registered.
Oct 29 09:20:24 porky kernel: bttv0: i2c attach [tda9850]
Oct 29 09:20:24 porky kernel: i2c-core.o: client [tda9850] registered to adapter [bt848 #0](pos. 0).
Oct 29 09:20:24 porky kernel: i2c-core.o: driver i2c TV tuner driver registered.Oct 29 09:20:24 porky kernel: tuner: chip found @ 0xc2
Oct 29 09:20:24 porky kernel: bttv0: i2c attach [Philips NTSC]
Oct 29 09:20:24 porky kernel: i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 1).
Oct 29 09:20:24 porky kernel: bttv0: PLL: 28636363 => 35468950 ... ok
Oct 29 09:20:24 porky modprobe: modprobe: Can't locate module char-major-81-1


Here are the loaded modules:

Module                  Size  Used by
sr_mod                 15360   0 (autoclean)
tuner                   4976   1 (autoclean)
tvaudio                 8896   1 (autoclean)
bttv                   58064   1 (autoclean)
i2c-algo-bit            7360   1 (autoclean) [bttv]
i2c-core               13760   0 (autoclean) [tuner tvaudio bttv i2c-algo-bit]
videodev                5824   4 (autoclean) [bttv]
mga                   100912   1
agpgart                28672   3
evdev                   4736   1
autofs                 12128   1 (autoclean)
eepro100               17984   1 (autoclean)
ipchains               41856   0
printer                 6464   0 (unused)
usbkbd                  3472   0 (unused)
wacom                   4656   0 (unused)
ide-scsi                8480   0
scsi_mod              100928   2 [sr_mod ide-scsi]
ide-cd                 27168   0
cdrom                  28736   0 [sr_mod ide-cd]
gus                    50400   1
ad1848                 19440   0 [gus]
sound                  62272   1 [gus ad1848]
soundcore               4816   7 [sound]
mousedev                4608   0 (unused)
keybdev                 2208   0 (unused)
hid                    19376   0 (unused)
input                   4160   0 [evdev usbkbd wacom mousedev keybdev hid]
usb-uhci               23072   0 (unused)
usbcore                54464   1 [printer usbkbd wacom hid usb-uhci]


b.c.





[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