Hi,

I'm writting a library that needs to open a
/dev/ttyUSB[n] device when a USB serial smartcard
reader is plugged.

To do so there is a daemon (pcscd daemon from
www.linuxnet.com) that polls /proc/bus/usb every few
seconds and calls the library when a specific device
is attached (mine is a PL2303).

The problem is that I don't know *which* /dev/ttyUSB*
device to open.

I have checked the documentation about
/proc/bus/usb/devices, but I'm not sure if there is
enough information to determine the the device name
assigned.

Is it possible to actually know the /dev/ttyUSB*
device has been assigned by the kernel to a particular
USB serial device, known it's vendor and product ID?

Thanks in advance.
Carlos Prados.

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to