LinHES Forums http://forum.linhes.org/ |
|
KnoppMyth R5A30.2 and btaudio http://forum.linhes.org/viewtopic.php?f=2&t=8047 |
Page 1 of 1 |
Author: | jasontech [ Sun Jan 22, 2006 9:52 pm ] |
Post subject: | KnoppMyth R5A30.2 and btaudio |
I am rebuilding my Mythbox. I had a customer get a new computer, and he gave me his old one. Its a P4 3.0Ghz, 1GB RAM, and a Radeon X700 PCI-E. I've got the NIC running with a kernel rebuild and skge downloaded from Marvell, and got the Radeon working with a deb from somewhere. The only problem I am having is with btaudio. I can see that since 2.6, btaudio has been dropped. It used to work for me in 2.4 (R4 something). I have 3 WinTV cards. I know btaudio works with them, because I had it working before. I've built a btaudio module from a download mentioned on KnoppMyth Wiki. I had to copy over the .ko module instead of the .o though. Anyway, the module loads fine: Code: btaudio: driver version 0.7 loaded [digital+analog] btaudio: Bt878 (rev 17) at 02:00.1, irq: 16, latency: 64, mmio: 0xdfdfe000 btaudio: using card config "default" btaudio: registered device dsp0 [digital] btaudio: registered device dsp1 [analog] btaudio: registered device mixer0 btaudio: Bt878 (rev 17) at 02:01.1, irq: 17, latency: 64, mmio: 0xdfdfc000 btaudio: using card config "default" btaudio: registered device dsp2 [digital] btaudio: registered device dsp3 [analog] btaudio: registered device mixer1 btaudio: Bt878 (rev 17) at 02:02.1, irq: 18, latency: 64, mmio: 0xdfd00000 btaudio: using card config "default" btaudio: registered device dsp4 [digital] btaudio: registered device dsp5 [analog] btaudio: registered device mixer2 I've created a /etc/modutils/btaudio/, and ran update-modules: Code: options bttv debug=2
options btaudio debug=2 digital=1 analog=0 rate=32000 pre-install btaudio modprobe snd-pcm-oss post-install btaudio modprobe bttv alias sound-slot-1 btaudio alias sound-service-1-0 btaudio alias sound-slot-2 btaudio alias sound-service-2-0 btaudio alias sound-slot-3 btaudio alias sound-service-3-0 btaudio I've also disabled the following from loading, as they just do NOT work with old cards (the part about dropping btaudio): dst dst_ca snd_bt87x dvb_bt8xx Anyway, all of the dsp and mixer devices show up. However, I can not get any sound out of them. ALSA never sees them as cards. I want to use aplay to test the sound, but since ALSA doesn't recognize them, I guess that won't work. I've tried using XawTV and setting -C to /dev/dsp0 and dsp1. But still no sound. I've been searching Google and these forums for about 6 hours now, but have not had any luck. Has anyone else gotten btaudio to work on the new releases? Thank you, Jason Greb |
Author: | jasontech [ Sun Jan 22, 2006 10:09 pm ] |
Post subject: | |
Not sure if this helps, but maybe: Code: /home/jgreb# sox -w -r 32000 -t ossdsp /dev/dsp1 -r 32000 -t ossdsp /dev/dsp
sox: Can't open output file '/dev/dsp': Device or resource busy Not sure why I am getting that... how can I tell what is using the device? |
Author: | Xsecrets [ Mon Jan 23, 2006 12:51 am ] |
Post subject: | |
I've never used btaudio, but I seem to remember a while back hearing that the name changed. |
Author: | nickread [ Mon Jan 23, 2006 1:02 am ] |
Post subject: | Re: KnoppMyth R5A30.2 and btaudio |
jasontech wrote: I had a customer get a new computer, and he gave me his old one. Its a P4 3.0Ghz, 1GB RAM, and a Radeon X700 PCI-E.
Nice customer ![]() |
Author: | Xsecrets [ Mon Jan 23, 2006 1:06 am ] |
Post subject: | Re: KnoppMyth R5A30.2 and btaudio |
nickread wrote: jasontech wrote: I had a customer get a new computer, and he gave me his old one. Its a P4 3.0Ghz, 1GB RAM, and a Radeon X700 PCI-E. Nice customer ![]() no kidding if that's an old computer I need to start calling mine an antique. |
Author: | jasontech [ Mon Jan 23, 2006 6:41 am ] |
Post subject: | |
Well, I don't consider it an old computer. Its got a bigger processor that both my computer and my laptop. (2.5 and 2.4 respectively). It's mostly been a PTA though. This is why I don't buy MSI boards. And the fan on the graphics card is dying, And when I put this motherboard into my old case (a converted Gateway desktop which does very well), I had to mod the case a little bit. I had to cut the opening in the back for the motherboard, and unfortuantely, until I can find a power supply with a back of 5" x 3", I am stuck with a 200W, with a hacked on P4 connector, and a motherboard that is supposed to have 24-pin, not 20. But so far, no smoke. I put pictures on my site, if anyone was interested (www.jasongreb.com). |
Author: | jasontech [ Mon Jan 23, 2006 10:28 am ] |
Post subject: | |
Yay! I have sound. I found out what it was. First off, I took out the last tuner, as I was getting all kinds of kernel messages about it (I think it is a special PCI slot, as it is a different color). Anyway, when I did that and tried to Watch TV, it said the /dev/dsp was in use. Well, no artsd or esd running. So I investigated further. Turns out that /dev/dsp goes to /dev/dsp0. Well, btaudio was taking over dsp0. I had to change my preinstall to snd_pcm_oss, not snd-pcm-oss, and add that module to /etc/modules. After that, I have sound. Now to find out what is wrong with my last tuner. |
Author: | jrjackso [ Sat Feb 11, 2006 10:22 pm ] |
Post subject: | WinTV Go Plus working with btaudio under 5A30.2 |
Hi, thanks jasontech - this thread helped a lot.. I couldn't seem to get snd_bt87x to cooperate so I figured I'd give btaudio a try and it worked fine. Just in case anyone else finds this helpful, these are the steps I followed: - Built btaudio as per the Extract and compile instructions at http://knoppmythwiki.org/index.php?page=BTTV+BTAudio. I didn't follow steps 1, 2 and 3 from the wiki though. - As you stated, make install puts btaudio.o in /lib/modules/2.6.13.2-chw-3/kernel/sound/oss. I rm'd this and copied btaudio.ko into this directory instead, then ran depmod -a. At this point, insmod/modprobe worked, but it didn't assign /dev/dsp* - I created /etc/modutils/btaudio with the following: Code: options bttv debug=2 options btaudio debug=2 digital=1 analog=0 rate=32000 pre-install btaudio modprobe snd_pcm_oss post-install btaudio modprobe bttv alias sound-slot-1 btaudio alias sound-service-1-0 btaudio - Ran update-modules - Commented out bt878, dst, dst_ca and dvb_bt8xx in /etc/modules and added snd_pcm_oss - Rebooted.. dmesg | grep btaudio gave: Code: btaudio: driver version 0.7 loaded [digital+analog]
btaudio: Bt878 (rev 17) at 00:0d.1, irq: 10, latency: 64, mmio: 0xcfcff000 btaudio: using card config "default" btaudio: registered device dsp1 [digital] btaudio: registered device dsp2 [analog] btaudio: registered device mixer1 - Ran mythtv-setup and chose /dev/dsp1 (digital). This didn't work, but as suggested at http://www.linuxtv.org/v4lwiki/index.php/Btaudio (i.e. "The analog mode of the btaudio driver should just work on any BT87x card"), I tried /dev/dsp2 (analog). After restarting the myth backend, I had Live TV audio without a patch cable on my WinTV Go Plus! Anyhow, I hope someone finds all that useful ![]() jrj |
Author: | jrjackso [ Sat Feb 18, 2006 3:55 pm ] |
Post subject: | Follow-up |
FYI, I find the audio directly off the tuner is rather "electronic" and of low quality. Using the tuner's line out is better IMO -jrj |
Author: | Irishcream [ Fri Feb 24, 2006 7:18 pm ] |
Post subject: | |
Does anyone know of a way to fix this electronic sound? or is it a card by card issue? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |