[mythtv-users] magic btaudio incantation ;-)

Gary Balliet geekofalltrades at shaw.ca
Fri Aug 1 20:32:01 EDT 2003


Harondel J. Sibble wrote:

>Hmm, I've never had very good results with btaudio, however I finally have it 
>so the driver loads automatically and mythtv uses btaudio for recording. 
>However I can't seem to get the btaudio mixer device to show up reliably. 
>Either btaudio works but no mixer device or vice versa. Can one of the other 
>btaudio users check out this modules.conf and tell me if they can see where I 
>am going wrong?
>
>/etc/modules.conf
>******************************
>
>alias usb-interface usb-uhci
>
>###alsa stuff - added jul21-03###
>alias char-major-116 snd
>alias snd-card-0 snd-emu10k1
>
>####alias snd-card-1 snd-via82xx
># module options should go here
>
># OSS/Free portion
>alias char-major-14 soundcore
>alias sound-slot-0 snd-card-0
>alias sound-slot-1 snd-card-1
>
># card #1
>alias sound-service-0-0 snd-mixer-oss
>alias sound-service-0-1 snd-seq-oss
>alias sound-service-0-3 snd-pcm-oss
>alias sound-service-0-8 snd-seq-oss
>alias sound-service-0-12 snd-pcm-oss
>
>####via alsa drivers
># ALSA portion
>alias char-major-116 snd
>alias snd-card-1 snd-via82xx
># module options should go here
>
># OSS/Free portion
>alias char-major-14 soundcore
>alias sound-slot-1 snd-card-1
>
># card #2
>alias sound-service-1-0 snd-mixer-oss
>alias sound-service-1-1 snd-seq-oss
>alias sound-service-1-3 snd-pcm-oss
>alias sound-service-1-8 snd-seq-oss
>alias sound-service-1-12 snd-pcm-oss
>
>
>##################################
>
>probeall scsi_hostadapter aic7xxx
>alias eth0 tulip
>alias scsi_hostadapter aic7xxx
>
>#### LIRC settings for packard bell serial remote
>alias char-major-61 lirc_serial
>options lirc_serial irq=3 io=0x2f8
>### LIRC settings for Avermedia TVPhone remote control
>#alias char-major-61 lirc_gpio
>#options lirc_gpio gpio_mask=0xf88000 gpio_lock_mask=0x10000  
>#gpio_xor_mask=0x
>
>## I2c
>alias char-major-89 i2c-dev
>options i2c-core i2c_debug=1
>options i2c-algo-bit bit_test=1
>
>## Video
>alias char-major-81 videodev
>alias char-major-81-0 bttv debug=2
>options bttv card=6,63 radio=1,0 tuner=2,8 #pll=1
>options tuner debug=2
>pre-install bttv(/sbin/modprobe -k "tuner")
>options btaudio debug=2
>#alias sound-service-1 via82cxxx_audio
>### alias sound-card-2 btaudio
>###alias sound-slot-2 btaudio
>###alias sound-service-2-0 btaudio
>
>### Video card drivers
>alias /dev/nvidia*   NVdriver
>
>  
>
>------------------------------------------------------------------------
>
>  
>

Hi.

The magic in using a live and btaudio is probing your mixer first so as 
to let it grab dev/dsp0 first. I'm using alsa and rh9 - pvr 250 and a 
tvwonder. Nforce 2 mb. Using the live for the digital out so as to go 
upstairs to the entertainment system with the picture and remote.

Here is mine (messy but hey - need to wash my car too.)

[root at linuxbox root]# cat /etc/modules.conf

alias char-major-188 off

pre-install btaudio modprobe snd-pcm-oss

alias char-major-61 lirc_i2c

#__
 alias char-major-81     videodev
#__________________________________________
# TV wonder

        alias char-major-81-0 btttv
        options bttv card=63 radio=0 pll=1
        options tuner type=2 debug=0
        options bttv debug=2
        options btaudio debug=2 digital=1 analog=0 rate=32000

#_______________________________________________    
# ivtv modules setup
         alias char-major-81-1   ivtv
         options ivtv debug=1
         options tuner type=2
         options msp3400 once=1 simple=1
         options ivtv mpg_buffers=60
         add below ivtv msp3400 saa7115 tuner lirc_dev lirc_i2c

#_______________________________________________
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias eth0 nvnet

#_______________________________________________

alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
#alias snd-card-0 snd-card-emu10k1  #same here


#
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
#________________________________
alias sound-slot-2 btaudio
alias sound-service-1-0 btaudio
alias sound-slot-2 btaudio
alias sound-service-2-0 btaudio
#________________________________

options snd-card-emu10k1 snd_index=0 snd_id=SBLive

#________________________
 
 post-install btaudio modprobe bttv

post-install emu10k1 /sbin/modprobe btaudio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L 
 >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S 
 >/dev/null 2>&1 || :
alias char-major-195 nvidia


Hope this helps. Forget where I got this from but it made all the 
difference.  Also change your setting in mythtvsetup ( to /dev/dsp1) for 
your tuner.


./gary




More information about the mythtv-users mailing list