Hi,

At Wed, 30 Jan 2002 14:20:44 +0000,
Alan Buxey wrote:
> 
> hi again.
> 
> 
> right..from a tiny tiny scrap of info i found online
> I did an rmmod of by TVCard modules
> 
> (i was getting 
> 
> snd: unable to register OSS mixer device 0:0
> etc etc
> 
> errors when doing 'modprobe snd-pcm-oss' )
> 
> for those that need/want to know, here were my modules.conf
> settings for the TVCard
> 
> --------8< cut here-------8<------------
> # i2c
> alias char-major-89     i2c-dev
> options i2c-core        i2c_debug=1
> options i2c-algo-bit    bit_test=1
>  
> # bttv
> alias char-major-81 bttv
> alias char-major-81-0   bttv
> options bttv            radio=2 card=10 bttv_verbose=1
> options msp3400         debug=2 once=1 simple=1 dolby=1
> pre-install bttv        modprobe -k btaudio; modprobe -k msp3400; modprobe -k tuner
> #LIRC - the Infra-Red Controller
> alias char-major-61  lirc_haup
> --------8< cut here-------8<------------
> 
> 
> now OSS works beautifully with ALSA on this ESS AudioPCI 1371 card
> 
> so...does this mean I cant use my soundcard at the same time or do
> I have to initialise the ALSA system BEFORE running the TVCard system?
 
I guess, yes.  It's better to load ALSA before bttv.
Then bttv card will register the next available device.


If you really need to install bttv (or any other OSS-related module)
as the first card, the following additional config for ALSA will be
needed:

================================================================
# we have two cards
options snd snd_cards_limit=2

# the first slot is kept empty, load ALSA to the 2nd slot
alias snd-card-0 off
alias snd-card-1 snd-card-XXX

# make sure that this module is loaded on the 2nd slot
options snd-card-XXX snd_index=1

# ok, these are normal
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1

# sequencer device exists only for the first card
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-8 snd-seq-oss

# OSS emulated mixer, pcm and midi
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-mixer-oss
alias sound-service-1-11 snd-mixer-oss
alias sound-service-1-12 snd-pcm-oss
================================================================

Then you can load bttv safely as the first card.
i.e. /dev/mixer for bttv and /dev/mixer1 for ALSA.


ciao,

Takashi

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to