Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

Alan Stern stern at rowland.harvard.edu
Wed May 8 09:58:12 EDT 2024


On Wed, May 08, 2024 at 11:08:11AM +0530, Muni Sekhar wrote:
> Thank you for the clear explanation on how to identify devices
> associated with root hubs.
> Could you please provide clarity on whether the root hub devices have
> attribute files in the devices sysfs directory? Upon checking the
> sysfs directory, I couldn't find any relevant information about these
> attribute files.

Root hubs have different names in sysfs from all other USB devices.  The 
root hub on bus N is named "usbN".  For example, the root hub on bus 4 
is named "usb4".

Alan Stern



More information about the Kernelnewbies mailing list