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

Greg KH gregkh at linuxfoundation.org
Sat Jul 20 18:34:27 PDT 2013

On Sun, Jul 21, 2013 at 02:52:09AM +0200, Tom Gundersen wrote:
> Most of the information in usb.ids is now contained in udev's hwdb. First
> attempt to query hwdb before falling back on the old file.
> This would allow distributions to no longer ship (most of) usb.ids by default,
> but rather keep all the usb device information in only one place (the hwdb).
> This patch introduces a dependency on libusb >= 196.
> Cc: systemd-devel at lists.freedesktop.org

Very nice, thanks so much for doing this.  I'll go apply it and push out
a new version of usbutils soon with this in it.

Can this mean I can drop the usb.ids file from the usbutils package?  I
can't remember where hwdb is generated from, does it rely on the usb.ids
file for the initial creation?


greg k-h

More information about the systemd-devel mailing list