Re: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support
From: Tom Gundersen
Date: Mon Dec 30 2013 - 13:53:34 EST
On Sun, Dec 15, 2013 at 12:33 PM, Martin Mares <mj@xxxxxx> wrote:
> I see that a mechanism for fast lookup of hardware identification data
> is needed. However, why should such a mechanism depend on udev, systemd,
> or Linux in general?
> What I would really like to have is a universal library for HW lookup,
> independent of anything else and widely portable. All the hardware data
> would be provided by other packages -- pci.ids, usb.ids, kernel modules,
> etc. -- and compiled to a binary format available for instant queries.
I'd like to reach an agreement on this patch, so I'll resend it with
the changes we agreed on so far. Please let me know if further changes
If I understand correctly, you are ok with the functionality hwdb
provides, but would have preferred an OS-agnostic solution. However,
as no such solution currently exist, and the patch adding hwdb support
is pretty minimal and self-contained, would you be happy taking that
for now, and rather revisit the topic if and when a generic solution
FWIW, I made the analogous change to lsusb some time ago , so would
be cool to get this all done.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/