summaryrefslogtreecommitdiff
path: root/user/usbutils/hwdata.patch
diff options
context:
space:
mode:
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
+