From: Jon Smirl <jonsmirl@yahoo.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: CALLOUT for dri device
Date: Sat, 27 Dec 2003 21:19:55 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107259018426637@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-107254709331645@msgid-missing>
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.
Does this work for built-in drivers? Will I get an insert event as soon as
userspace is running?
--- Greg KH <greg@kroah.com> wrote:
> 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
==Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
-------------------------------------------------------
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_id\x1278&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
next prev parent reply other threads:[~2003-12-27 21:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-27 17:26 CALLOUT for dri device Jon Smirl
2003-12-27 19:11 ` Greg KH
2003-12-27 19:11 ` Greg KH
2003-12-27 19:11 ` Greg KH
2003-12-27 19:11 ` Greg KH
2003-12-27 21:19 ` Jon Smirl [this message]
2003-12-27 21:28 ` Greg KH
2003-12-27 22:41 ` Jon Smirl
2003-12-30 0:32 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-107259018426637@msgid-missing \
--to=jonsmirl@yahoo.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).