USB Vendor Strings not shown under linux

Common questions answered
Post Reply
StewD
Posts: 7
Joined: Mon Jul 13, 2015 2:31 pm

USB Vendor Strings not shown under linux

Post by StewD » Thu May 04, 2017 3:24 pm

When you run our USBview utility under Windows, all Decaf boards will display a number of strings such as :
[*] Vendor ID ("PiXCL Automation Technologies Inc.")
[*] Manufacturer ("PiXCL Automation Inc.")
[*] Product ("PiXCL Decaf IOC-2x")
[*] Serial Number ("066800343637473043126861")

These strings are coded into the board firmware.

The somewhat equivalent command in linux (Ubuntu, Raspbian and similar) is lsusb and while it recognizes the PiXCL VendorID and ProductID, the strings are not listed. At first glance this appears to be a bug in the firmware, but in fact it is not. USBview uses Windows library calls to read the strings from the firmware directly, while linux enumerates the board VendorID and ProductID only.

It then looks up the vendor and product strings in a text file.:
In Ubuntu, this is /usr/share/hwdata/usb.ids
In Raspbian, this is /var/lib/usbutils/usb.ids

usb.ids can be editted once the permissions are updated using chmod. After the PiXCL data is added, lsusb correctly reports Decaf boards.

There is an internet repository for usb.ids that gets updated and can be downloaded. Once we get our official vendorID, we will post the update information including our set of productIDs in the forum and in the Support Pages.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests