On Thu, 2006-02-16 at 17:46 +0100, 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. > > Alexander > It seems to me that with FC4 the install line you have above was not put in. IIRC I had to copy mine from the FC3 machine I still had running to get alsactl functional. > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list