From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan W. Headley" Date: Tue, 17 Feb 2004 18:10:44 +0000 Subject: [Fwd: Re: Hotplug-- who notifies whom of what?] Message-Id: <40325924.8000003@earthlink.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------090202090508040206080602" List-Id: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------090202090508040206080602 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Darn. Forgot reply-all. -- ____ .:. ____ Bryan W. Headley - bwheadley@earthlink.net --------------090202090508040206080602 Content-Type: message/rfc822; name="Re: Hotplug-- who notifies whom of what?" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: Hotplug-- who notifies whom of what?" Message-ID: <403258D4.5030500@earthlink.net> Date: Tue, 17 Feb 2004 12:09:24 -0600 From: "Bryan W. Headley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 X-Accept-Language: en MIME-Version: 1.0 To: Greg KH Subject: Re: Hotplug-- who notifies whom of what? References: <40316638.9060501@earthlink.net> <20040217013905.GA3596@kroah.com> <40323486.8070803@earthlink.net> <20040217172855.GC13363@kroah.com> In-Reply-To: <20040217172855.GC13363@kroah.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 --------------090202090508040206080602-- ------------------------------------------------------- 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_id=1356&alloc_id=3438&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