From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Thu, 08 Apr 2004 20:44:15 +0000 Subject: Re: maybe race condition & alsa Message-Id: <20040408204415.GA14679@wonderland.linux.it> List-Id: References: <40746733.7060104@blueyonder.co.uk> In-Reply-To: <40746733.7060104@blueyonder.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Apr 08, Greg KH wrote: > The problem is that you need to wait a bit of time before running > alsactl for the device nodes to show up. So call out to a shell script > instead to do this wait, instead of trying to do it all in a > modprobe.conf line. > > That's what works for me. I'm using this: /etc/dev.d/snd/controlC0/alsa.dev: #!/bin/sh -e exec /usr/sbin/alsactl restore 0 -- ciao, | Marco | [5624 caqcc7nk9K4Dg] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel