Arduino development: from beginner to beginner
Friday, April 3, 2015
Get idVendor and idProduct of your Arduino/USB devices
To know the idVendor and idProduct of your Arduino/USB devices, in Linux system, we can use the dmesg command, to read messages from kernel ring buffer.
- with your Arduino/USB devices NOT connected, run the command to clear the buffer.
sudo dmesg -c
- Connect Arduino/USB devices, enter the command:
- The latest connect device will be shown, include its idVendor and idProduct:
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Post Comments (Atom)