From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 08 Apr 2004 20:50:52 +0000 Subject: Re: maybe race condition & alsa Message-Id: <20040408205052.GA13331@kroah.com> 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 Thu, Apr 08, 2004 at 10:44:15PM +0200, Marco d'Itri wrote: > 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 That's a great example. I think I'll go add it to the scripts... But wait, that really works? Heh, I guess when the DEVNAME includes a directory, that's what is needed, pretty funny. thanks, greg k-h > > -- > 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