Alsactl and FC4 bootup conflict

Anne Wilson cannewilson at tiscali.co.uk
Thu Feb 16 16:58:37 UTC 2006


On Thursday 16 February 2006 16:46, Alexander Dalloz wrote:
> Am Do, den 16.02.2006 schrieb Anne Wilson um 14:41:
> > > Why that? The `alsactl restore | store' is already in the
> > > /etc/modprobe.conf for loading and unload the audio card kernel module.
> >
> > Where, Alexander?  It's not obvious:
> >
> > alias eth0 8139too
> > alias scsi_hostadapter sata_via
> > alias snd-card-0 snd-emu10k1
> > options snd-card-0 index=0
> > options snd-emu10k1 index=0
> > remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&1
> >
> > || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
> >
> > alias char-major-81 zr36067
> > alias usb-controller ehci-hcd
> > alias usb-controller1 uhci-hcd
> > alias ieee1394-controller ohci1394
> >
> > The only line I can see as a possibility is
> >
> > remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&1
> >
> > || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k
> >
> > which I don't understand.
> >
> > Can you explain it to me, please?
> >
> > Anne
>
> My /etc/modprobe.conf contains this for the soundcard module:
>
> install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
> /usr/sbin/alsactl restore >/dev/null 2>&1 || :
> remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
> /sbin/modprobe -r --ignore-remove snd-emu10k1
>
> The "install" part runs "alsactl restore" when loading the module. The
> "remove" entry runs "alsactl store" when unloading the module.
>
That makes sense, but the lines in mine don't seem to.  I wonder if I should 
edit mine to match yours?

Anne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060216/ae7054aa/attachment-0001.sig>


More information about the fedora-list mailing list