On Thu, May 30, 2002 at 02:48:19PM -0400, Thierry Vignaud wrote:
> 
> you've s/snd-card/snd/ in your /etc/modules.conf

Actually, even better:

if -f /lib/modules/`uname -r`/alsa/snd-emu10k1.o.gz
    alias sound-slot-0 snd-emu10k1
elseif -f /lib/modules/`uname -r`/alsa/snd-card-emu10k1.o.gz
    alias sound-slot-0 snd-card-emu10k1
endif

More flexible in going back to older kernels.  I was switching back
and forth while I found a 2.2.18 that worked with bttv > 0.8.33.

> and update to last
> initscripts (and checking the newer alsa service release hasn't be
> created as /etc/init.d/alsa.rpmnew) ?

Yup:

$ rpm -q initscripts
initscripts-6.40.2-44mdk
$ rpm -Vf /etc/init.d/alsa
S.5....T c /etc/inittab
S.5....T c /etc/sysctl.conf

I know that it should and probably works.  I probably don't the OSS
mixer shim loaded.  Yup, that is what it seems to be:

# lsmod | grep snd
snd-pcm-oss            34756   0 
snd-emu10k1            56356   0 
snd-pcm                48544   0  [snd-pcm-oss snd-emu10k1]
snd-timer               9760   0  [snd-pcm]
snd-util-mem            1232   0  [snd-emu10k1]
snd-rawmidi            12800   0  [snd-emu10k1]
snd-hwdep               3808   0  [snd-emu10k1]
snd-seq-device          3932   0  [snd-emu10k1 snd-rawmidi]
snd-ac97-codec         23748   0  [snd-emu10k1]
snd                    25064   0  [snd-pcm-oss snd-emu10k1 snd-pcm snd-timer 
snd-util-mem snd-rawmidi snd-hwdep snd-seq-device snd-ac97-codec]
soundcore               3620   8  (autoclean) [btaudio snd]

Actually, that does not seem to be the problem either:

# modprobe snd-mixer-oss 

And when I start the mixer_applet2 by adding it to the panel, I get an
error dialog:

  Mixer device /dev/mixer has neither volume nor PCM controls

$ ls -l /dev/mixer /dev/sound/mixer
lr-xr-xr-x    1 root     root           11 May 28 12:11 /dev/mixer -> sound/mixer
crw-------    1 brian    audio     14,   0 Dec 31  1969 /dev/sound/mixer

Hmmmm.

> no.
> there's no reason to rewrite a soft that just works smoothly.

But using the shims is so "dirty".  :-)  OK, so maybe I am a bit too
much a purist.  Perhaps the sound interfaces are fine, but Mandrake
really should include a gui (gnome/gtk) mixer that uses the Alsa
interfaces.

> alsa api is higher level than oss one and thus need to be used only if
> you'*ve* to.

Fair enough.  We will just have to agree to disagree I think.  I am
not passionate enough about it to go rewriting software so I will stop
pushing for it here.  :-)

> different apps've different needs.

Right.  Having a mixer that supports all of the available controls and
knobs is important.

> but: do all apps need them all :-) ?

Of course _all_ apps don't need them all, but some apps and setups do
need them.  When I was trying to record from the audio loopback (sound
cable from the TV card to the sound card) from my TV card I had to use
gamix (alsa interface mixer) to turn on the right knobs to get the
sound to capture.

Also, when I was trying to use the SPDIF (optical) output of my sound
card, I needed an Alsa capable mixer to turn on the optical output.

b.

-- 
Brian J. Murrell

Attachment: msg65145/pgp00000.pgp
Description: PGP signature

Reply via email to