github twitter email rss
How to find USB Vendor ID and Product ID (VID and PID)
0001 Jun 1
One minute read

How to find USB VID/PID

Mac OS X


brew install lsusb

«Vendor ID» and «Product ID» in System

	system_profiler SPUSBDataType \
	    | awk '
	      /Product ID:/{p=$3}
	      /Vendor ID:/{v=$3}
	      /Manufacturer:/{sub(/.*: /,""); m=$0}
	      /Location ID:/{sub(/.*: /,""); printf("%s:%s %s (%s)\n", v, p, $0, m);}

Back to posts

comments powered by Disqus