[linux-dvb] How to have cx88_alsa as second card ?

Michael Krufky mkrufky at linuxtv.org
Fri Feb 16 19:21:16 CET 2007


Gregoire Favre wrote:
> Hello,
> 
> since I got an Hauppauge HVR-4000 I have the problem that at system boot
> the cx88_alsa is the first card.
> 
> I am under gentoo and I have my dvb initscript which say :
> 
> depend() {  
>             after alsasound
> }
> 
> And in /etc/modules.d/alsa I have :
> 
> alias char-major-116 snd
> alias char-major-14 soundcore
> 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 /dev/mixer snd-mixer-oss
> alias /dev/dsp snd-pcm-oss
> alias /dev/midi snd-seq-oss
> alias char-major-116 snd
> alias char-major-14 soundcore snd_cards_limit=3
> alias snd-card-0 snd-via82xx
> alias sound-slot-0 snd-via82xx
> alias snd-card-1 cx88_alsa
> alias sound-slot-1 cx88_alsa
> 
> which shall put cx88_alsa as second card, no ?
> (yes, I have run modules-update so that's also in /etc/modules.conf)
> 
> Thank,


do:

moninfo cx88-alsa

... this will show you a module option called, 'index' ...  if you pass
'index=1' to cx88-alsa, then it will use the 2nd minor, instead of the first.

A much better practice would be to instead, pass 'index=0' to the module that
actually drives your sound card.  use the modinfo command to check that the
option is available.

HTH,

Michael Krufky




More information about the linux-dvb mailing list