Gerd Knorr wrote:
> 
> > What happens is that if I start lircd during bootup in a startup script,
> > the bttv-modules get loaded (bttv, i2c-old, videodev, tuner, msp3400).
> > Afterwards I am unable to use my mixer that now shows only volume bass
> > and treble controls that my mixer  usually does not have for my PCI 64
> > soundcard. All other controls like line in, CD etc that are usually
> > available are missing now. I guess that what I see is the mixer of the
> > TV-card but there is no mixer available for my soundcard.
> 
> Exactly.  msp3400 registers a mixer device for the TV card controls.
> 
> > I also tried to preload the alsa  soundmodules and the bttv related
> > modules before starting lircd during bootup, but the effect is always
> > the same like described above.
> 
> Also snd-mixer-oss.o?
> 
> In your setup two modules want to register OSS-compatible mixer device:
> snd-mixer-oss.o for the SB and msp3400.o for the TV card.  The default
> to handle this is "first come, first served", i.e. the module which is
> loaded first gets minor 0 (aka /dev/mixer), the other one minor 1
> (/dev/mixer1).
> 
> The problem is that snd-mixer-oss.o can't deal with this.  It allways
> wants to register minor 0 which does'nt work if msp3400 is already loaded
> and has allocated minor 0.  IMHO this is a bug in ALSA.
> 
> Your options are:
> 
>  (a) Use the kernel driver for the SB64, es1370/1 gets this right.
>  (b) Use a mixer tool which uses the native ALSA interface and therefore
>      does'nt need the snd-mixer-oss.o module.
>  (c) make sure alsa (including snd-mixer-oss) gets loaded before msp3400.
>  (d) add the insmod option "mixer=1" for msp3400 to /etc/moduled.conf.
>      This tells msp3400 allways to grab minor 1 and 0 remains free for
>      alsa.  You might have to upgrade bttv depending on your version.
> 
>   Gerd

Thank you for your reply. I tried some of the options. Here are the
results: 

   (a) Using the kernel sound driver (es1370 for me)  works, but this
driver cannot 
        handle .au files directly by the /dev/audio file, which is needed by
kisdn.
        I use kisdn for telephony purposes and so this is not really an option
for
        me.
   (c) Loading the snd-mixer-oss modules before loading the msp module
does NOT
         work. The effect is the same as not preloading the mixer module i.e. 
        you only see the mixer of the TV-card.
   (d) Using the mixer=1 option to the msp3400 module does work even
with alsa.
        So this was the choice fo me. I used bttv 0.6.4.h for this test.

Thanks a lot
Rainer
-- 
------------------------------------------------------------------
Rainer Krienke                    [EMAIL PROTECTED]
Universitaet Koblenz,             http://www.uni-koblenz.de/~krienke
Rechenzentrum,                    Voice: +49 261 287 1312
Rheinau 1, 56075 Koblenz, Germany Fax:   +49 261 287 1355
-------------------------------------------------------------------


-- 
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to