View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jan 22, 2006 9:52 pm 
Offline
Joined: Fri Dec 30, 2005 9:30 am
Posts: 10
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 22, 2006 10:09 pm 
Offline
Joined: Fri Dec 30, 2005 9:30 am
Posts: 10
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 12:51 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I've never used btaudio, but I seem to remember a while back hearing that the name changed.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
PostPosted: Mon Jan 23, 2006 1:02 am 
Offline
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location: Auckland, New Zealand
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 :wink:

_________________
HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5


Top
 Profile  
 
PostPosted: Mon Jan 23, 2006 1:06 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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 :wink:


no kidding if that's an old computer I need to start calling mine an antique.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 6:41 am 
Offline
Joined: Fri Dec 30, 2005 9:30 am
Posts: 10
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).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 23, 2006 10:28 am 
Offline
Joined: Fri Dec 30, 2005 9:30 am
Posts: 10
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.


Top
 Profile  
 
PostPosted: Sat Feb 11, 2006 10:22 pm 
Offline
Joined: Sun Feb 05, 2006 11:46 am
Posts: 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


Top
 Profile  
 
 Post subject: Follow-up
PostPosted: Sat Feb 18, 2006 3:55 pm 
Offline
Joined: Sun Feb 05, 2006 11:46 am
Posts: 2
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 24, 2006 7:18 pm 
Offline
Joined: Thu Dec 29, 2005 12:56 am
Posts: 87
Does anyone know of a way to fix this electronic sound? or is it a card by card issue?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu