Opened 8 years ago

Closed 6 years ago

#7915 closed enhancement (fixed)

[usb] bus manager should contain usb ids

Reported by: diver Owned by: korli
Priority: normal Milestone: R1
Component: Drivers/USB Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Currently listusb doesn't show Manufacturer String/Product String/Serial Number/etc for some devices which doesn't provide this information. It would be handy to take this info from usb ids database, similar to pci ids.

Change History (6)

comment:1 by diver, 8 years ago

Summary: [usb] bus manager sould contain usb ids[usb] bus manager should contain usb ids

comment:2 by korli, 8 years ago

Two usb ids database are available and both have a correct license.

NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/dev/usb/usbdevs

LinuxUSB: http://www.linux-usb.org/usb.ids

The second includes a list of HID strings.

Best would be to include pci.ids and usb.ids as is in /system/data and have apps and bus managers use it. Otherwise each component gets it own copy and increase in size. Keep in mind though that some drivers are using the generated header usbdevs.h to reference their devices ids.

Last edited 8 years ago by korli (previous) (diff)

comment:3 by korli, 8 years ago

Added strings display in verbose mode in hrev43749 using usb.ids. Please review this and give me feedback.

comment:4 by diver, 8 years ago

Sorry for delay. I can see strings in verbose mode now. Could you enable it in non-verbose mode too? It seems that I can't see any usb devices in Devices app, though.

comment:5 by korli, 8 years ago

Owner: changed from mmlr to korli
Status: newassigned

Did so in hrev43861. USB devices are still old driver style.

comment:6 by korli, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.