Re: Alsactl and FC4 bootup conflict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 17:45:06 up 6 days, 2:36, load average: 0.37, 0.44, 0.55 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux