[Fwd: Re: Hotplug-- who notifies whom of what?]
Darn. Forgot reply-all.
Signature · 2 lines
____ .:. ____ Bryan W. Headley - [email protected]
Quoted 25 lines · Greg KH
Quoted 23 lines · Bryan W. Headley
Quoted 20 lines · Greg KH
Quoted 6 lines · Bryan W. Headley
Greg,
Regards to Aiptek USB tablets...
I'm trying to figure out a strategy for hotplugging.
Quoted 7 lines
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.
Quoted 7 lines
Quoted 1 line
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?
Signature · 2 lines
____ .:. ____ Bryan W. Headley - [email protected]
Quoted 3 lines · Bryan W. Headley
Seriously, though: assuming udevfs is the deus ex machina for 2.6-land, which dists are planning to use it?
udevfs? What's that? There is no such thing :)
Anyway, udev ships today in Gentoo, Debian, and Fedora, so I know those distros are planning to use it. I can't speak for any distro as I do not know their plans...
thanks,
greg k-h
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Greg KH
Quoted 2 lines · Bryan W. Headley
Seriously, though: assuming udevfs is the deus ex machina for 2.6-land, which dists are planning to use it?
udevfs? What's that? There is no such thing :)
Dsylexia is a terrific tool in the right hands. I have two left hands :-)
Quoted 3 lines
Anyway, udev ships today in Gentoo, Debian, and Fedora, so I know those distros are planning to use it. I can't speak for any distro as I do not know their plans...
Okay, that's a pretty strong argument. Now to see what SuSE and Mandrake are up to.
Signature · 13 lines
____ .:. ____ Bryan W. Headley - [email protected] ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel