On Sat, 1 Jun 2002 07:28, Danny Rathjens wrote:
> Is it possible to deduce N for /dev/input/eventN by examining
> /proc/bus/usb/devices?  IOW, does usb topology map directly to input
> event devices, or does it depend on the quirks of the individual usb
> drivers involved?
There is no linkage. Why would there be? USB isn't the only thing that the 
input layer handles (even in 2.4). USB just registers input devices. There 
might not even be event support - USB doesn't care.

> If I can't figure out which event stream to use from /proc I guess
> I would have to modify the driver so that it reports the event stream
> it is assigned to kernel log.
Don't. There is a standard ioctl that tells you (for a particular event 
interface) what device it matches - EVIOCGBUS.

If that doesn't help, perhaps you need to tell us what you are trying to do.

Brad
-- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to