From 72cc1f6ff5fc4c6cc1614bd916b3c0a42f66e634 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 27 Jul 2018 02:30:54 -0500 Subject: user/usbutils: pull in, bump to 010, fix license, etc --- user/usbutils/hwdata.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 user/usbutils/hwdata.patch (limited to 'user/usbutils/hwdata.patch') 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 + -- cgit v1.2.3-60-g2f50