[Letux-kernel] gadget after suspend

Andreas Kemnade andreas at kemnade.info
Mon Jan 15 07:00:05 CET 2018


Hi,

In earlier times, it was helpful to revert this patch to have a
working gadget after suspend. 

"PM / Runtime: Don't allow to suspend a device with an active child"
    
    This reverts commit a8636c89648ab12e59d8f3aa667ec76fc96fd643.

Now that code changed and I have to find out a better way. 
ifconfig usb0 down ; ifconfig usb0 up from userspace cures the problem.

I will of course do more research.

Regards,
Andreas


More information about the Letux-kernel mailing list