On Thu, Jan 08, 2004 at 06:09:44PM -0500, Dave Mielke wrote:
> Is there any way from user space to determine which /dev/ttyUSBn file is
> currently being used by a given device? I'm able to locate the correct
> /proc/bus/usb/bbb/ddd file. Can it be used to determine the mapping, e.g. via
> an ioctl?

For 2.4 look in /proc/tty/drivers/usbserial

For 2.6 look in that file, or preferably in /sys/bus/usb-serial

thanks,

greg k-h


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to