summaryrefslogtreecommitdiff
path: root/extra/usbview/usbview-1.1-missing-usbfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usbview/usbview-1.1-missing-usbfs.patch')
-rw-r--r--extra/usbview/usbview-1.1-missing-usbfs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/usbview/usbview-1.1-missing-usbfs.patch b/extra/usbview/usbview-1.1-missing-usbfs.patch
new file mode 100644
index 000000000..7da2f0ca0
--- /dev/null
+++ b/extra/usbview/usbview-1.1-missing-usbfs.patch
@@ -0,0 +1,11 @@
+--- a/usbtree.c 2012-10-21 08:21:35.000000000 +0200
++++ b/usbtree.c 2012-10-21 08:21:12.000000000 +0200
+@@ -397,7 +397,7 @@
+
+ void initialize_stuff (void)
+ {
+- strcpy (devicesFile, "/proc/bus/usb/devices");
++ strcpy (devicesFile, "/sys/kernel/debug/usb/devices");
+ memset (&previousDevicesFile[0], 0x00, sizeof(previousDevicesFile));
+ previousChange = 0;
+