[quoted lines by Alan Stern on 2007/06/16 at 18:04 -0400] >You can tell whether you have the right entry by reading >/sys/bus/usb/devices/.../devnum, which contains the usbfs device number >without leading zeros.
Is it guaranteed that two busses can't have a device with the same number. In other words, is the following impossibble? /proc/bus/usb/001/001 /proc/bus/usb/002/001 >> Is there a way, other than inspecting the kernel release, to know which value >> is the one to use? What's the effect of writing -1 with a 2.6.21 kernel? > >The write will fail. So we can write -1, and if that fails then write 0? -- Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: [EMAIL PROTECTED] | Canada K2A 1H7 | if you're concerned about Hell. http://FamilyRadio.com/ | http://Mielke.cc/bible/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users