summaryrefslogtreecommitdiff
path: root/user/usbutils/hwdata.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-20 05:14:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-20 05:14:12 +0000
commit36ff73232ebc9224edaba98721aaf845ff5396ab (patch)
treec0e725d686d4c64893d29fda89189a177244a47d /user/usbutils/hwdata.patch
parentcc386658d95be99a2857a983ff27b6d86dadaab9 (diff)
downloadpackages-36ff73232ebc9224edaba98721aaf845ff5396ab.tar.gz
packages-36ff73232ebc9224edaba98721aaf845ff5396ab.tar.bz2
packages-36ff73232ebc9224edaba98721aaf845ff5396ab.tar.xz
packages-36ff73232ebc9224edaba98721aaf845ff5396ab.zip
user/usbutils: bump to 012
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