Re: How to selective suspend usb on linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, 20. Juni 2012, 08:20:17 schrieb Viswanadha Palepu:
> Hi,
> 
> Thanks for the reply.
> Yes CONFIG_PM_RUNTIME and CONFIG_USB_SUSPEND are chosen.
> I wrote a sample program using libusb. I am closing the device handler and setting the files in PM folder (/sys/bus/usb/devices/2-2/power/control and autosuspend_delay_us).
> Is it enough to make the device auto suspended.

Yes, that's enough. First you should test without your programm.
Simply boot and write to the control file. Keep in mind the
standard delay.

	Regards
		Oliver
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux