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.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/user/usbutils/hwdata.patch b/user/usbutils/hwdata.patch
index f7c081fd8..fdeb9d17d 100644
--- a/user/usbutils/hwdata.patch
+++ b/user/usbutils/hwdata.patch
@@ -1,20 +1,20 @@
---- a/lsusb.py.in
-+++ b/lsusb.py.in
-@@ -96,7 +96,7 @@
- return True
+--- usbutils-012/lsusb.py.in.old 2019-05-07 14:35:51.000000000 +0000
++++ usbutils-012/lsusb.py.in 2019-06-20 05:12:17.940002816 +0000
+@@ -67,7 +67,7 @@
+ return type('MyEnum', (), enums)
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")
+ vid = 0
+ did = 0
+ modes = myenum('Vendor', 'Class', 'Misc')
+@@ -463,7 +463,7 @@
+ print(" -C, --no-color disable colors")
+ print(" -e, --endpoints display endpoint info")
+ print(" -f FILE, --usbids-path FILE")
+- print(" override filename for /usr/share/usb.ids")
++ print(" override filename for /usr/share/hwdata/usb.ids")
+ print()
print("Use lsusb.py -ciu to get a nice overview of your USB devices.")
- return 2