On Thu, May 29, 2003 at 05:54:11PM -0700, Sylvain Jaboeuf wrote: > Hi, > > As my english is not so good, and my issue quite complex, I'll take a > concrete example to explain my request: > > Here is the situation: > - I have two USB mice > - my distrib is Mandrake 9.1 (kernel 2.4.21-0.13mdk) > > I am a software (may be a daemon), I know the USB devices number of > each mouse (in /proc/bus/usb: Dev# of each mouse is 3 and 4). > I know there are two paths to access theses devices (for example: > /dev/input/mouse0 with Major/minor=13/32, /dev/input/mouse1 and > Major/Minor=13/33). > And I would like to know what is the Major/Minor of the mouse with the > Dev#=3. How can I do that if I am a software?
For 2.5, look at sysfs. For 2.4, try what Brad suggested. Oh, for 2.5, a patch that adds this was submitted to lkml a few days ago, it will probably go into the main tree sometime next week. Good luck, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
