On Tue, Oct 03, 2017 at 06:58:00PM +0200, Łukasz Majewski wrote: > Have I overlooked something? Maybe there is any other mainline code, which I > could reuse? No, we don't support randomly toggling power for devices without their cooperation - it's not generally going to end well. The reason it's difficult to do this is that it's a bad idea. Perhaps this is something that could be implemented generically for USB as it's a hotpluggable bus but I'm not convinced.
Attachment:
signature.asc
Description: PGP signature