PDA

View Full Version : How to get USB info on Linux



emily
7th February 2012, 12:08
Hello:

How to get USB PID, VID..informations on Linux.

Have any sample code?

Thanks.

ChrisW67
7th February 2012, 21:44
Not that the question has anything to do with Qt... libusb (http://www.libusb.org/) is one common option on Linux

kpkale
6th June 2012, 08:12
Hi

There are many threads telling that libusb is the option for accessing USB Devices on Linux. However, I am unable to find proper examples on how to do that.

Can you help me further on how to use libusb...

ChrisW67
6th June 2012, 10:54
Libusb has API documentation (http://libusb.sourceforge.net/api-1.0/) and ships with basic examples (http://www.libusb.org/browser/libusb/examples). You need to have reasonable understanding of USB.