Hi! There is also sysutils/usbutil which provides usbgen package
With that you could get the USB descriptors with something like: doas usbgen -D -v -f /dev/ugen1 on OpenBSD. However AFAICT it works with generic ugen devices. I don't know how to debug for example a USB mass media device. That being said, I have missed many times non-existing verbosity level for usbdevs which would dump at least device descriptor. Would this be desirable enhancement? Best regards, Hannu Vuolasaho 2021-11-14 16:46 UTC+02.00, Kenneth Gober <kgo...@gmail.com>: > On Sun, Nov 14, 2021 at 9:18 AM Sven Wolf <mailingl...@fusion-zone.net> > wrote: > >> I've attached an XBOX 360 controller to my system. >> The controller gets detected as: >> usbdev: >> addr 02: 045e:028e \M-)Microsoft Corporation, Controller >> >> dmesg: >> uhidev1 at uhub1 port 1 configuration 1 interface 0 "\M-)Microsoft >> Corporation Controller" rev 2.00/1.14 addr 2 >> >> ugen1 at uhub1 port 1 configuration 1 "\M-)Microsoft Corporation >> Controller" rev 2.00/1.14 addr 2 >> >> Do you have an idea why the controller is detected as >> "\M-)Microsoft Corporation, Controller" and not as >> "XBOX 360 Controller" as it is defined in >> /usr/src/sys/dev/usb/usbdevs >> "vendor MICROSOFT 0x045e Microsoft" >> "product MICROSOFT XBOX360_CONTROLLER 0x028e XBOX 360 Controller" >> > > That is probably the name reported by the controller itself. > > Ben Eater has a pretty good video on YouTube covering USB device discovery: > https://www.youtube.com/watch?v=N0O5Uwc3C0o > > The bit about retrieving descriptors from the device is about 16 minutes > in. > > -ken >