On Thu, Oct 02, 2003 at 09:42:18AM -0500, Bryan W. Headley wrote:

>My problem is, I can (easily) be drawn into a quick hack that isn't 
>inline with what you had in mind, both near-term and long-term. E.g., 
>the above 'glob' hack.

Well, on FreeBSD, I can configure usbd to create a symlink from the
device to a well-known location with a < 30 second edit of /etc/usbd.conf.
It will do this when you plug it in at runtime, or at boot time (when
usbd is started).  If Linux comes with something like usbd, that's what
I'd use as a quick hack.

Alternatively if there is a utility to scan /dev/input devices, I'd add
an rc script to do that and create the symlink at boot time.

For a quick hack I'd only go modifiying the device opening code in the
drivers if there wasn't already some utility I could leverage in a
few minutes to do what I need.

But like I said, I'm not as familiar (yet) with the USB/input support
in recent Linux kernels, so maybe that is your quickest option :-).

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to