linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PCI/USB Vendor and model from database
@ 2010-12-28 13:14 José Félix Ontañón
  2010-12-28 18:45 ` Greg KH
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: José Félix Ontañón @ 2010-12-28 13:14 UTC (permalink / raw)
  To: linux-hotplug

Hi, everybody!

Maybe this is kinda silly question but, I wonder why isn't
"ID_VENDOR_FROM_DATABASE / ID_MODEL_FROM_DATABASE"-like properties
imported by default using the pretty /lib/udev/usb-db and
/lib/udev/pci-db commands for every founded pci/usb device?

I mean, by adding this simple rules:

SUBSYSTEMS="usb", IMPORT{program}="usb-db %p"
SUBSYSTEMS="pci", IMPORT{program}="pci-db %p"

I think this properties are very useful for apps that discover
hardware through udev, so they will not have to reinvent the wheel by
finding vendor/product names by themselves. Don't you think?

Cheers!

--
http://fontanon.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-12-30  0:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 13:14 PCI/USB Vendor and model from database José Félix Ontañón
2010-12-28 18:45 ` Greg KH
2010-12-28 23:58 ` Lennart Poettering
2010-12-29  0:18 ` Scott James Remnant
2010-12-29 16:08 ` José Félix Ontañón
2010-12-29 16:16 ` Greg KH
2010-12-29 16:34 ` Kay Sievers
2010-12-29 23:09 ` José Félix Ontañón
2010-12-30  0:08 ` José Félix Ontañón

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).