On Tue, Mar 21, 2006 at 10:02:57AM +0100, Ekkard Gerlach wrote: > How can I detect the dedicated device name of a serial usb adapter? > I know to access it with /dev/ttyUSB0, but what if I have two > different serial adapters connected? Which one is USB0 and which USB1? > Are there somewhere databases where to asign vendor and product ID to > an name?
Yes, use udev to do this. Look at the udev documentation and tutorial on how to detect this from the different sysfs files for your devices. good luck, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users