Difference between revisions of "Btaudio"

From MythTV Official Wiki
Jump to: navigation, search
(typo)
m
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{wrongtitle|btaudio}}
 
{{wrongtitle|btaudio}}
  
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.
+
----
 +
''For a more generic overview of TV audio-over-PCI, including other (non-bttv) analog cards, see [[PCI TV audio]]''
 +
----
  
btaudio provides an OSS interface.  An alsa driver is provided bye the <code>snd_bt87x</code> module.  In Debian (2006-02-14) this module is used automagically and the following is unecessary.
 
  
I'm using '''Gentoo''', so this will be a little strange to some. :)
+
'''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.
  
To get btaudio working with my ATI TV Wonder, I put the following lines into /etc/modules.d/bttv.
+
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 14: 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 29: 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 35: 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 43: 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