PDA

View Full Version : USB detection from user program



cdscls
5th September 2007, 01:30 AM
Apologize if this is the incorrect group.
Anywho, how do you detect from a user program when a usb-serial cable is installed, such that you can access it. E.g., whats the preferred implementation for this. I cannot find squat on the internet that makes sense.

Thankx:
Chris

giulix
5th September 2007, 01:45 AM
Try `cat /proc/bus/usb/devices'