[systemd-devel] [PATCH][usbutils] lsusb: port to hwdb

Greg KH gregkh at linuxfoundation.org
Sun Jul 21 08:36:42 PDT 2013


On Sun, Jul 21, 2013 at 01:05:31PM +0200, Kay Sievers wrote:
> > However, hwdb only contains vendor, product, class, subclass and
> > protocol. So if you drop usb.ids the rest of the information will be
> > lost.
> >
> > Maybe split the rest out into a separate file and ship only that?
> >
> > Or is there a way to get this info into hwdb? Kay?
> 
> It should work to add some of that data to the existing modalias,
> right? For some things we probably need to "invent" new synthetic
> modaliases to query these strings. We should give it a try, I think.
> Having lsusb shipping a private file only for that seems ugly.

These are things that are just described in the USB-IF specifications,
(HID table commands, class codes, etc.) and really should not be part of
any "hardware database" as they don't change, and come directly from the
spec.

I can just move those into the usbutils package, and get them removed
from the usb.ids file, sound good?

thanks,

greg k-h


More information about the systemd-devel mailing list