From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 27 Dec 2003 21:28:00 +0000 Subject: Re: CALLOUT for dri device Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Dec 27, 2003 at 01:19:55PM -0800, Jon Smirl wrote: > That was easy, now it's calling my reset program. How do I tell if it is an > insert or remove event? My program gets called on both. Look at the ACTION environment variable. > Does this work for built-in drivers? yes. > Will I get an insert event as soon as userspace is running? no, the event happens when your device is registered. There is userspace running very early, look at the initramfs stuff. So you will probably have to put your application into the initramfs image. People are working on getting that all working properly. Hope this helps, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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