summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--usb.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 874da48..3feb0e5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- fix retrieving info about USB devices with kernel-3.5+ (mga#7248)
- generate PCI classes info using ids from pcutils header instead of deprecated
kernel header (Andrey Bondrov)
diff --git a/usb.c b/usb.c
index 60925d4..c275a89 100644
--- a/usb.c
+++ b/usb.c
@@ -7,7 +7,7 @@
#include "common.h"
#include "names.h"
-static char *proc_usb_path_default = "/proc/bus/usb/devices";
+static char *proc_usb_path_default = "/sys/kernel/debug/usb/devices";
char *proc_usb_path = NULL;
static void build_text(struct pciusb_entry *e, char *vendor_text, char *product_text) {