linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Fwd: Re: Hotplug-- who notifies whom of what?]
@ 2004-02-17 18:10 Bryan W. Headley
  2004-02-17 18:59 ` Greg KH
  2004-02-17 19:20 ` Bryan W. Headley
  0 siblings, 2 replies; 3+ messages in thread
From: Bryan W. Headley @ 2004-02-17 18:10 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Darn. Forgot reply-all.

-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net

[-- Attachment #2: Re: Hotplug-- who notifies whom of what? --]
[-- Type: message/rfc822, Size: 2197 bytes --]

From: "Bryan W. Headley" <bwheadley@earthlink.net>
To: Greg KH <greg@kroah.com>
Subject: Re: Hotplug-- who notifies whom of what?
Date: Tue, 17 Feb 2004 12:09:24 -0600
Message-ID: <403258D4.5030500@earthlink.net>

Greg KH wrote:
> On Tue, Feb 17, 2004 at 09:34:30AM -0600, Bryan W. Headley wrote:
> 
>>Greg KH wrote:
>>
>>>On Mon, Feb 16, 2004 at 06:54:16PM -0600, Bryan W. Headley wrote:
>>>
>>>
>>>>Greg,
>>>>
>>>>Regards to Aiptek USB tablets...
>>>>
>>>>I'm trying to figure out a strategy for hotplugging.
>>>>
>>>>1) The tablet is mapped to the input device system.
>>>> a) Because the order in which drivers complete loading/registering
>>>>    is not deterministic (e.g., mouse driver spawns thread), I do not
>>>>    know with certainty that the tablet will always be mapped to
>>>>    /dev/input/event27. So, configuration files of certain (XFree)
>>>>    applications that require that the path be known and static enough
>>>>    to put in a text file.
>>>
>>>
>>>Use udev to always create your "/dev/input/tablet_mine_all_mine" node so
>>>that XFree does not have to be reconfigured all the time.
>>
>>What do I do in 2.4-land? The silliness with hotplug scripts, .rc 
>>scripts, etc.?
> 
> 
> I don't really know, sorry.  Luckily I'm not running 2.4 on any of my
> machines :)
> 
> Anyone else have an idea?

The only thing I can think of is a daemon that uses the extended-ioctl 
callback function that's in Linux. E.g., notify when the file is read, 
written, removed. Not a standard unixland facility, but who cares? I'd 
be writing this for a Linux device driver!

Seriously, though: assuming udevfs is the deus ex machina for 2.6-land, 
which dists are planning to use it?

-- 
____               .:.                 ____
Bryan W. Headley - bwheadley@earthlink.net


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-17 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17 18:10 [Fwd: Re: Hotplug-- who notifies whom of what?] Bryan W. Headley
2004-02-17 18:59 ` Greg KH
2004-02-17 19:20 ` Bryan W. Headley

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).