Sisyphus repository
Last update: 3 july 2020 | SRPMs: 17679 | Visits: 18832379
en ru br
ALT Linux repos
S:0.6-alt0.1.alpha.gitb2991d7
5.0: 0.4.2.3-alt1
4.1: 0.4.2.3-alt1
4.0: 0.4.1-alt0.1

Group :: System/Kernel and hardware
RPM: hardinfo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 04-fix-usb.patch
Download


--- a/arch/linux/common/usb.h	2009-04-06 17:43:15.000000000 +0400
+++ b/arch/linux/common/usb.h	2013-09-16 23:37:45.222305245 +0400
@@ -135,7 +135,7 @@
     gfloat ver, rev, speed;
     int n = 0;
 
-    dev = fopen("/proc/bus/usb/devices", "r");
+    dev = fopen("/sys/kernel/debug/usb/devices", "r");
     if (!dev)
 	return 0;
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin