lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support
Ping?

On Wed, Jan 29, 2014 at 5:13 PM, Tom Gundersen <teg@jklm.no> wrote:
> Ping?
>
> On 30 Dec 2013 19:53, "Tom Gundersen" <teg@jklm.no> wrote:
>>
>> Hi Martin,
>>
>> On Sun, Dec 15, 2013 at 12:33 PM, Martin Mares <mj@ucw.cz> 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
>> are needed.
>>
>> 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
>> appears?
>>
>> FWIW, I made the analogous change to lsusb some time ago [0], so would
>> be cool to get this all done.
>>
>> Cheers,
>>
>> Tom
>>
>> [0]:
>> <https://github.com/gregkh/usbutils/commit/c6282a7a0e20fbb9c56837f055843635a43ba8b4>


\
 
 \ /
  Last update: 2014-02-10 12:01    [W:0.079 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site