On Thu, Nov 13, 2008 at 01:30:55PM +0100, Jiri Slaby wrote: > Andi Kleen napsal(a): > > Which information do you need exactly out of /sys/bus/usb/devices? > > You misread the path, it's one file in /proc. (Make sure usbfs is mounted There was nothing there, so I checked sysfs. > there.) With the power switch connected I have: ... T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b4 ProdID=fd11 Rev= 1.01 S: Manufacturer=Gembird Electronics S: Product=Gembird Silver Shield PM C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=150mA I:* If#= 0 Alt= 0 #EPs= 0 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid ... -Andi -- ak@xxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html