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

Tom Gundersen teg at jklm.no
Sun Jul 21 03:01:11 PDT 2013


On Sun, Jul 21, 2013 at 3:34 AM, Greg KH <gregkh at linuxfoundation.org> wrote:
> 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?

hwdb does not use the usb.ids from the usbutils package.

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?

Also, I just realise there is also lsusb,py, which I did not port.
What is the usecase for this? Is it also worth porting over?

Cheers,

Tom


More information about the systemd-devel mailing list