From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 27 Dec 2003 19:11:47 +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 09:26:50AM -0800, Jon Smirl wrote: > Can I make a CALLOUT for a class of devices, like all DRI devices? When the > driver is loaded I need to run a userspace program to reset the card (if > secondary), query the monitor EDID, etc. This has to be done in userspace since > reseting the card is a VM86 operation. Don't use udev for this. Use hotplug for things like this. You can add your dri specific scripts to /etc/hotplug.d/dri/ See the documentation in the /sbin/hotplug script on how to do this. thanks, 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