]> git.ipfire.org Git - thirdparty/libvirt.git/commit
node_device_udev: Try harder to get human readable vendor:product
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 9 Sep 2014 12:20:43 +0000 (14:20 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 15 Sep 2014 13:41:28 +0000 (15:41 +0200)
commit3ef77a544d4313cdfe257717708548f57e6db971
treec03496eeb6c6f9e9baf6c112deff320246ea3784
parent7e649c545063210e28203b29bda0f8357dc002e7
node_device_udev: Try harder to get human readable vendor:product

The manufacurer and product from USB device itself are usually not particularly
useful -- they tend to be missing, or ugly (all-uppercase, padded with spaces,
etc.). Prefer what's in the usb id database and fall back to descriptors only
if the device is too new to be in database.

https://bugzilla.redhat.com/show_bug.cgi?id=1138887
src/node_device/node_device_udev.c