[mythtv-users] internal audio works in fc3 without btaudio (can anyone explain how?)

Alex (cruzinthegalaxie) alex-myth at 61galaxie.com
Mon Mar 14 02:57:51 UTC 2005


I just upgraded my mythtv box from red hat 9 to fedora core 3. The 
upgrade went pretty smoothly, however I had a heck of a time trying to 
get the btaudio driver to load. I recompiled the kernel, I did a "fresh" 
install on another drive and fiddled around with it on there. I had 
almost given up on it, but then I was testing the video capture of my 
pvr-350 and noticed it had captured sound as well. To the best of my 
knowledge it is not compiled in (or is it?)

Can somone explain how this works ?? I dont have any external cables 
plugged in for the audio between the pvr-350 and my soud card.

Dual P3 866
Supermicro PT3DLE (no onboard soud) server mobo
PVR-350
Brooktree card
SoundBalster Live

[root at mythtv etc]# dmesg|grep btaudio
[root at mythtv etc]#

[root at mythtv etc]# lsmod
Module                  Size  Used by
bttv                  145745  0
ivtv                  788068  2
video_buf              24389  1 bttv
v4l2_common             9793  1 bttv
btcx_risc               8649  1 bttv
saa7127                14236  0
saa7115                14616  0
msp3400                26985  0
i2c_algo_bit           12361  2 bttv,ivtv
videodev               13249  4 bttv,ivtv
nfsd                  185568  9
exportfs                9921  1 nfsd
lockd                  59625  2 nfsd
md5                     8001  1
ipv6                  236897  24
autofs4                21829  0
sunrpc                135077  19 nfsd,lockd
microcode              11489  0
joydev                 13057  0
dm_mod                 57925  0
video                  19653  0
button                 10577  0
battery                13253  0
ac                      8773  0
ohci_hcd               24277  0
tuner                  23405  0
tvaudio                24161  0
tda7432                11873  0
snd_bt87x              16773  0
emu10k1_gp              7617  0
gameport                8513  1 emu10k1_gp
i2c_piix4              12113  0
i2c_core               24513  9 
bttv,saa7127,saa7115,msp3400,i2c_algo_bit,tuner,tvaudio,tda7432,i2c_piix4
snd_emu10k1            83909  0
snd_rawmidi            26849  1 snd_emu10k1
snd_seq_device         12237  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         68513  1 snd_emu10k1
snd_pcm_oss            51573  0
snd_mixer_oss          21313  1 snd_pcm_oss
snd_pcm                89541  4 
snd_bt87x,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer              27077  1 snd_pcm
snd_page_alloc         13509  3 snd_bt87x,snd_emu10k1,snd_pcm
snd_util_mem            8513  1 snd_emu10k1
snd_hwdep              12996  1 snd_emu10k1
snd                    54821  10 
snd_bt87x,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore              12961  1 snd
e100                   35905  0
mii                     8641  1 e100
floppy                 56913  0
ext3                  117961  2
jbd                    57177  1 ext3
sata_promise           13509  0
libata                 44101  1 sata_promise
sd_mod                 20545  0
scsi_mod              115777  3 sata_promise,libata,sd_mod


Here is my modprobe.conf
#
alias char-major-81-0 ivtv
options ivtv ivtv_debug=1 tuner=2
options tuner type=2 #type=2 for NTSC only
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
alias char-major-81-1 bttv
options bttv radio=1 fieldnr=2 card=40
alias char-major-61-* lirc_i2c
alias char-major-14-1 btaudio
options btaudio rate=32000 # digital=1 analog=0
alias eth0 e100
alias usb-controller ohci-hcd
install usbcore /bin/true
#
install ivtv { /sbin/modprobe msp3400; /sbin/modprobe saa7115; 
/sbin/modprobe tuner; /sbin/modprobe saa7127; } ; /sbin/modprobe 
--first-time --ignore-install ivtv &
remove ivtv { /sbin/modprobe -r i2c-algo-bit; } ; /sbin/modprobe -r 
--first-time --ignore-remove ivtv &&  { /sbin/modprobe -r msp3400; 
/sbin/modprobe -r saa7115; /sbin/modprobe -r tuner; /sbin/modprobe -r 
saa7127; /bin/true; }
##
alias char-major-81 snd-bt87x
alias scsi_hostadapter sata_promise
alias snd-card-0 snd-emu10k1
options snd-card-0 index=0
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && 
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; 
/sbin/modprobe -r --ignore-remove snd-emu10k1

And my rc.local:
echo "Loading IVTV capture card driver"
/sbin/modprobe -r bttv
/sbin/modprobe ivtv
/usr/local/bin/test_ioctl -d /dev/video0 -u 0x3000
/usr/local/bin/test_ioctl -d /dev/video0 -p 6
/sbin/modprobe bttv




More information about the mythtv-users mailing list