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?


----------------------------------------------
In fact my request is not only for USB mice, it is for any USB devices:
If I know that I can "speak" with an USB device that has the Major/Minor= x/y, how can I know its device # (or any other info in /proc/bus/usb/* )?
in other words, is there a link between info we can found in /proc/bus/usb/* and the Major/Minor of each USB device?
----------------------------------------------


Is there any file that lists each Major/Minor associated with the USB Dev number (or any other info in /proc/bus/usb/*)?
Do I have to modify any USB kernel module to make and write that "link" in a file? (if yes, please help me a little bit...).


I really appreciate your help
sylvain




------------------------------------------------------- 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

Reply via email to