LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2003, 11:03 PM   #1
mikeybsae
LQ Newbie
 
Registered: Jun 2003
Location: albany, ny
Distribution: debian
Posts: 18

Rep: Reputation: 0
bttv-0.9.11 PV878P+ (rev9d) can't record sound


I seem to be having some trouble with the bttv sound modules for my pixelview PV878P+(rev 9D). I used the v4l2 kernel patch on my custom 2.4.22 kernel and compiled the bttv 0.9.11 drivers.

I am running on an athlon 1.1, via motherboard kt133, with via ac'97 sound. The tv card audio out is plugged into the sound card. I am using the 0.9.6 alsa drivers.

I am using the card=37 tuner=2 when loading the bttv module (I read that with rev9d I should use card=72, but this doesn't work, i get no sound no matter which tuner I select). I can successfully watch tv with sound and record video only, but not record sound. Trying to record sound causes motv or streamer to crash, but the tv sound keeps playing even after killing the app. Video only gets recorded fine.

I do not know the roles of btaudio, tvaudio, tvmixer, msp3400, or any of the tda#### modules. I do not have a tvmixer module, but I have been reading about it and wonder if that may be my problem. After booting I rmmod bttv then insmod bttv card=37 tuner=2, I need to do this because the card doesn't autodetect, although bttv does load, but no tuner. If I don't reload bttv with the correct options I can get picture without sound on motv and can't change channels. Here is the output of lsmod after reloading bttv:

bttv 99040 0 (unused)
tuner 9476 1
video-buf 10448 0 (autoclean) [bttv]
btcx-risc 1912 0 (autoclean) [bttv]
videodev 5920 2 (autoclean) [bttv]
v4l2-common 3008 0 (autoclean) [bttv]
af_packet 13384 1 (autoclean)
snd-seq-oss 24544 0 (unused)
snd-seq-midi-event 3280 0 [snd-seq-oss]
snd-seq 40620 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 36932 0
snd-mixer-oss 11328 0 [snd-pcm-oss]
snd-via82xx 11936 0
snd-pcm 58144 0 [snd-pcm-oss snd-via82xx]
snd-timer 15008 0 [snd-seq snd-pcm]
snd-ac97-codec 35360 0 [snd-via82xx]
snd-page-alloc 5444 0 [snd-via82xx snd-pcm]
snd-mpu401-uart 3184 0 [snd-via82xx]
snd-rawmidi 12864 0 [snd-mpu401-uart]
snd-seq-device 3924 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 28288 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3524 5 [bttv snd]
natsemi 17600 1
mousedev 4000 1
keybdev 1728 0 (unused)
input 3296 0 [mousedev keybdev]
unix 16324 99 (autoclean)



here is the output from dmesg:

i2c-core.o: client [Philips NTSC (FI1236,FM1236 and] unregistered.
i2c-core.o: adapter unregistered: bt848 #0
i2c-core.o: driver unregistered: i2c TV tuner driver
bttv: driver version 0.9.11 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
bttv: Bt8xx card found (0).
PCI: Found IRQ 10 for device 00:0b.0
PCI: Sharing IRQ 10 with 00:07.2
PCI: Sharing IRQ 10 with 00:07.3
PCI: Sharing IRQ 10 with 00:0b.1
bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, latency: 32, mmio: 0xd8001000
bttv0: using: BT878(Prolink PixelView PlayT) [card=37,insmod option]
i2c-dev.o: Registered 'bt848 #0' as minor 3
i2c-core.o: adapter bt848 #0 registered as adapter 3.
bttv0: using tuner=2
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
i2c-core.o: driver i2c TV tuner driver registered.
tuner: chip found @ 0xc2
tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles))
i2c-core.o: client [Philips NTSC (FI1236,FM1236 and] registered to adapter [bt848 #0](pos. 0).
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok



On a fresh boot there is no autodetect and tuner doesn't load.
Here is the relevant output from kern.log after a reboot:

Oct 15 20:56:56 athlon kernel: Linux video capture interface: v1.00
Oct 15 20:56:57 athlon kernel: bttv: driver version 0.9.11 loaded
Oct 15 20:56:57 athlon kernel: bttv: using 8 buffers with 2080k (520 pages) eac\h for capture
Oct 15 20:56:57 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT83\63/8365 [KT133/KM133]
Oct 15 20:56:57 athlon kernel: bttv: Host bridge is VIA Technologies, Inc. VT82\C686 [Apollo Super ACPI]
Oct 15 20:56:57 athlon kernel: bttv: Bt8xx card found (0).
Oct 15 20:56:57 athlon kernel: PCI: Found IRQ 10 for device 00:0b.0
Oct 15 20:56:57 athlon kernel: PCI: Sharing IRQ 10 with 00:07.2
Oct 15 20:56:57 athlon kernel: PCI: Sharing IRQ 10 with 00:07.3
Oct 15 20:56:57 athlon kernel: PCI: Sharing IRQ 10 with 00:0b.1
Oct 15 20:56:57 athlon kernel: bttv0: Bt878 (rev 17) at 00:0b.0, irq: 10, laten\cy: 32, mmio: 0xd8001000
Oct 15 20:56:57 athlon kernel: bttv0: using: BT878( *** UNKNOWN/GENERIC **) [ca\rd=0,autodetected]
Oct 15 20:56:57 athlon kernel: i2c-dev.o: Registered 'bt848 #0' as minor 3
Oct 15 20:56:57 athlon kernel: i2c-core.o: adapter bt848 #0 registered as adapt\er 3.
Oct 15 20:56:57 athlon kernel: bttv: readee error
Oct 15 20:56:57 athlon kernel: bttv0: using tuner=-1
Oct 15 20:56:57 athlon kernel: bttv0: i2c: checking for MSP34xx @ 0x80... not f\ound
Oct 15 20:56:57 athlon kernel: bttv0: i2c: checking for TDA9875 @ 0xb0... not f\ound
Oct 15 20:56:57 athlon kernel: bttv0: i2c: checking for TDA7432 @ 0x8a... not f\ound
Oct 15 20:56:57 athlon kernel: bttv0: registered device video0
Oct 15 20:56:57 athlon kernel: bttv0: registered device vbi0




I can also get the btaudio module to load (it doesn't load automatically) after reloading bttv and this changes in lsmod:

btaudio 10752 0 (unused)
soundcore 3524 8 [btaudio bttv snd]




and this is the dmesg output:

btaudio: driver version 0.7 loaded [digital+analog]
PCI: Found IRQ 10 for device 00:0b.1
PCI: Sharing IRQ 10 with 00:07.2
PCI: Sharing IRQ 10 with 00:07.3
PCI: Sharing IRQ 10 with 00:0b.0
btaudio: Bt878 (rev 17) at 00:0b.1, irq: 10, latency: 32, mmio: 0xd8002000
btaudio: using card config "default"
btaudio: registered device dsp1 [digital]
btaudio: registered device dsp2 [analog]
btaudio: registered device mixer1


I have also tried loading btaudio with only analog, but all my problems remain the same no matter what I do. I also tried toying with the tvaudio and msp3400 modules. I load these before both bttv and btaudio, but it doesn't help. Any suggestions? I would really like to be able to record tv...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't record video/sound from bttv input, maybe alsa/via8233 related... bruno buys Linux - Hardware 9 06-15-2005 12:31 AM
Xandros delux 2.0 When I try to run Sound server Control ,Media Player & Sound Record Jesta Linux - Distributions 0 05-15-2004 10:35 PM
TV Card, BT878, bttv: no sound breakerfall Linux - Hardware 5 03-20-2004 08:31 AM
No sound on Pinnacle PCTV using bttv 0.9.x and 2.6.2 robthebob Linux - Hardware 3 02-18-2004 05:10 PM
pixelview 878P+ rev 9d tv card, bttv can't record sound mikeybsae Linux - Hardware 0 10-15-2003 11:18 PM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration