Difference between revisions of "Btaudio"

From MythTV Official Wiki
Jump to: navigation, search
m (pywikipedia assisted cleanup -> replacing MythTv with MythTV)
m
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
btaudio is a kernel module for reading the audio directly from Brook Tree [[bttv]] supported  TV-cards. This may or may not work on your TV-card depending on chipset and used features by the card manufacturer. Give it a try if you want.
+
{{wrongtitle|btaudio}}
  
I'm using '''Gentoo''', so this will be a little strange to some. :)
+
----
 +
''For a more generic overview of TV audio-over-PCI, including other (non-bttv) analog cards, see [[PCI TV audio]]''
 +
----
  
To get btaudio working with my ATI TV Wonder, I put the following lines into /etc/modules.d/bttv.
+
 
 +
'''btaudio''' is a kernel module for reading the audio directly from Brook Tree [[bttv]] supported  TV-cards. This may or may not work on your TV-card depending on chipset and used features by the card manufacturer. Give it a try if you want.
 +
 
 +
btaudio provides an OSS interface.  For an ALSA driver, see [[snd-bt87x]].  In '''Debian''' (2006-02-14) this module is used automagically and the following is unecessary.
 +
 
 +
This is for '''Gentoo''', so this will be a little strange to some. :)
 +
 
 +
To get btaudio working with ATI TV Wonder, put the following lines into /etc/modules.d/bttv.
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 10: Line 19:
 
</nowiki></pre>
 
</nowiki></pre>
  
I also added btaudio to my /etc/modules.autoload/kernel-2.6.
+
Also add btaudio to /etc/modules.autoload/kernel-2.6.
  
I then ran <code><nowiki>modules-update</nowiki></code>.
+
Then run <code><nowiki>modules-update</nowiki></code>.
  
For a '''Fedora''' setup I had on another machine, I added the following lines to my /etc/modules.conf.
+
For a '''Fedora''' setup add the following lines to /etc/modules.conf.
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 25: Line 34:
 
The pre-install line makes sure that the sound card driver is loaded before the btaudio, so that btaudio will always get /dev/dsp1 and /dev/dsp2.
 
The pre-install line makes sure that the sound card driver is loaded before the btaudio, so that btaudio will always get /dev/dsp1 and /dev/dsp2.
  
I also loaded the btaudio module from the /etc/rc.d/rc.local file with following command.
+
Also load the btaudio module from the /etc/rc.d/rc.local file with the following command.
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 31: Line 40:
 
</nowiki></pre>
 
</nowiki></pre>
  
In [[MythTV]], I setup my device /dev/video0 with /dev/dsp1 for the sound, and it just works!
+
In [[MythTV]], setup your device /dev/video0 with /dev/dsp1 for the sound, and it might just work!
  
 
For auto-loading by Alsa, you can do the following:
 
For auto-loading by Alsa, you can do the following:
Line 39: Line 48:
 
alias sound-service-1-0 snd-btaudio
 
alias sound-service-1-0 snd-btaudio
 
</nowiki></pre>
 
</nowiki></pre>
Alsa basically just looks for anything beginning with "snd-", and I really didn't want to load btaudio using rc.local.  This works great for me and gives me status on boot-up through Alsa.
+
Alsa basically just looks for anything beginning with "snd-", and nobody really wants to load btaudio using rc.local.  This works great and gives status on boot-up through Alsa.
  
 
== Questions and Answers ==
 
== Questions and Answers ==
  
 
[[Category:HOWTO]] [[Category:Driver]]
 
[[Category:HOWTO]] [[Category:Driver]]

Latest revision as of 05:12, 6 March 2007

Important.png Note: The correct title of this article is btaudio. It appears incorrectly here due to technical restrictions.



For a more generic overview of TV audio-over-PCI, including other (non-bttv) analog cards, see PCI TV audio



btaudio is a kernel module for reading the audio directly from Brook Tree bttv supported TV-cards. This may or may not work on your TV-card depending on chipset and used features by the card manufacturer. Give it a try if you want.

btaudio provides an OSS interface. For an ALSA driver, see snd-bt87x. In Debian (2006-02-14) this module is used automagically and the following is unecessary.

This is for Gentoo, so this will be a little strange to some. :)

To get btaudio working with ATI TV Wonder, put the following lines into /etc/modules.d/bttv.

alias sound-slot-1      btaudio
alias sound-service-1-0 btaudio

Also add btaudio to /etc/modules.autoload/kernel-2.6.

Then run modules-update.

For a Fedora setup add the following lines to /etc/modules.conf.

alias sound-slot-1      btaudio
alias sound-service-1-0 btaudio

pre-install btaudio modprobe via82cxxx_audio

The pre-install line makes sure that the sound card driver is loaded before the btaudio, so that btaudio will always get /dev/dsp1 and /dev/dsp2.

Also load the btaudio module from the /etc/rc.d/rc.local file with the following command.

/sbin/modprobe btaudio

In MythTV, setup your device /dev/video0 with /dev/dsp1 for the sound, and it might just work!

For auto-loading by Alsa, you can do the following:

alias snd-btaudio btaudio
alias sound-slot-1 snd-btaudio
alias sound-service-1-0 snd-btaudio

Alsa basically just looks for anything beginning with "snd-", and nobody really wants to load btaudio using rc.local. This works great and gives status on boot-up through Alsa.

Questions and Answers