PCI/USB Vendor and model from database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux