summaryrefslogtreecommitdiff
path: root/user/usbutils/hwdata.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 02:30:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 02:30:54 -0500
commit72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634 (patch)
treebd9cacf4aee895ebdc25f147febae3de0859f804 /user/usbutils/hwdata.patch
parent24ebc6cd6abc690877dedf82800bceb7eafcc82c (diff)
downloadpackages-72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634.tar.gz
packages-72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634.tar.bz2
packages-72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634.tar.xz
packages-72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634.zip
user/usbutils: pull in, bump to 010, fix license, etc
Diffstat (limited to 'user/usbutils/hwdata.patch')
-rw-r--r--user/usbutils/hwdata.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/usbutils/hwdata.patch b/user/usbutils/hwdata.patch
new file mode 100644
index 000000000..f7c081fd8
--- /dev/null
+++ b/user/usbutils/hwdata.patch
@@ -0,0 +1,20 @@
+--- a/lsusb.py.in
++++ b/lsusb.py.in
+@@ -96,7 +96,7 @@
+ return True
+
+ def parse_usb_ids():
+- "Parse /usr/share/usb.ids and fill usbvendors, usbproducts, usbclasses"
++ "Parse /usr/share/hwdata/usb.ids and fill usbvendors, usbproducts, usbclasses"
+ id = 0
+ sid = 0
+ mode = 0
+@@ -520,7 +520,7 @@
+ print(" -c use colors")
+ print(" -e display endpoint info")
+ print(" -w display warning if usb.ids is not sorted correctly")
+- print(" -f FILE override filename for /usr/share/usb.ids")
++ print(" -f FILE override filename for /usr/share/hwdata/usb.ids")
+ print("Use lsusb.py -ciu to get a nice overview of your USB devices.")
+ return 2
+