On Thu, 2 Aug 2018, Muni Sekhar wrote: > [ Please keep me in CC as I'm not subscribed to the list] > > > Hello All, > > > I’ve an Ubuntu 16.04 LTS PC with 4.4.0-124-generic kernel version. > > I want to test the dynamic suspend for the below mentioned connected > USB device. > > Bus 003 Device 028: ID 0cf3:e300 Atheros Communications, Inc. > > > First I’d like to know the required configuration(kernel built) of the > kernel for supporting the dynamic suspend for USB. > > My kernel had been built with the below mentioned configuration: > CONFIG_SUSPEND=y > CONFIG_HIBERNATION=y > CONFIG_PM=y > > Any other kernel configuration required for supporting the dynamic suspend? No. > How can I suspend a particular USB device? You have to do something like: echo auto >/sys/bus/usb/devices/.../power/control where the "..." is filled in with the appropriate name for the particular device. There are some programs, like powertop, which will do this for you automatically. > How do I verify whether the device went to suspended mode or > not(without connecting the USB analyzer)? cat /sys/bus/usb/devices/.../power/runtime_status will tell you whether or not the device is currently suspended. 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