On Thu, 26 May 2011, Amit Nagal wrote: > Hi , > > Are there any userspace interfaces implemented in usbfs/sysfs or any ioctls > through which it is possible to read usb host controller operational > registers value > (for eg PORTSC ) at any specified instant . There is such an interface. It is in debugfs, and to use it you must build your kernel with CONFIG_USB_DEBUG enabled. The UHCI, OHCI, and EHCI host controller drivers create files containing the operational register values and lots of other information too. > Also are there any usb host apis through which host controller > register values can be read ? Most or all of these register values are provided in the debugfs interface. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html