Re: config mixer device for aumix
On Fri, Sep 08, 2006 at 21:42:06 +0300, Simo Kauppi wrote:
> On Fri, Sep 08, 2006 at 08:30:29PM +0200, Florian Kulzer wrote:
> > On Wed, Sep 06, 2006 at 00:06:53 +0000, firstname.lastname@example.org wrote:
> > > I upgraded from sarge to etch, and now console sound apps like
> > > aumix and mp3blaster won't work (sound apps work fine in X).
> > > During boot, the following message is displayed:
> > >
> > > "Restoring mixer settings: failed"
> > >
> > > If I run 'aumix', it says "aumix: error opening mixer". The
> > > default mixer it is looking for, /dev/mixer, does not exist. I
> > > looked around in /dev/ and found the following:
> > >
> > > "crw-rw---- 1 root audio 14, 0 2005-02-26 01:39 /dev/.static/dev/mixer"
> > >
> > > If I run 'aumix -d /dev/.static/dev/mixer', then it works as it
> > > should, even if I kill it and then just run 'aumix' without the
> > > '-d' option. If I then shutdown or reboot, I see a message about
> > > the mixer and muting being saved. However, on the next boot,
> > > it once again says: "Restoring mixer settings: failed".
> > [...]
> > > I am using kernel 2.6.15-1-k7.
> > That looks like a problem with udev. Did you purge the hotplug package
> > after you upgraded to Etch?
> I think that aumix uses some kind of OSS compatibility mode of ALSA. In
> my case I need to `modprobe snd-mixer-oss` to get the /dev/mixer
> device for aumix.
Good point, I had not thought of that. The module is loaded
automatically for me during boot (Sid, udev 0.100-1), but that might not
be the case for the OP. However, the fact that he has the mixer in
/dev/.static/dev/ might mean that the module is loaded in his case as
well and that there is a problem with udev.