lsusb displays vendorId/productId the wrong way on bigendian machines. For example, for my HP printer, while /proc/bus/usb/devices displays 0x03f0 / 0x0704, and I have to put these numbers in /etc/hotplug/usb.usermap for my script to work, lsusb displays 0xf003 / 0x0407. Here's a patch that fixes it. I've sent it to the author listed in usbutil package's AUTHOR file, but no answer so far. Reproducible: Always Steps to Reproduce:
Created attachment 26749 [details, diff] the patch
I checked in a slightly modified patch. It will be on the rsync-mirrors in a few hours. If it doesn't work, please reopen this bug.