[Letux-kernel] gadget after suspend
H. Nikolaus Schaller
hns at goldelico.com
Mon Jan 15 14:01:16 CET 2018
Hi,
> Am 15.01.2018 um 07:00 schrieb Andreas Kemnade <andreas at kemnade.info>:
>
> 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.
Ok.
Another thing I usually observe is that this happens if the USB
cable is plugged in during boot (it seems not depend on if the
USB plugin powers on the device - its suffices to reboot with
USB cable still connected).
Then I also have to ifdown usb0; ifup usb0 to make it work.
Exactly the same networking setup works on AM335x so this allows
to isolate that issue to musb and twl4030-phy.
BR and thanks,
Nikolaus
More information about the Letux-kernel
mailing list