On Thu, Aug 24, 2006 at 04:02:20AM -0700, tasos wrote:
> hello ppl and nice to meet you.i have the following
> problem.i have some usb devices which are named
> /dev/ttyUSB00 etc.
> Because such devices can be added and removes
> dynamically i would like to know at any time in which
> file they correspond to.Is it possible via lsusb to
> have the filename(/dev/ttyUSBXX)?

No, lsusb does not show you that.

Look in sysfs to get the mapping back to the usb device.  Look in
/sys/class/tty/ttyUSB0/device to go back to that real device.

Also, udev helps out a lot with naming these devices in a persistant
way.

Hope this helps,

greg k-h

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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

Reply via email to