[Letux-kernel] gadget after suspend
Andreas Kemnade
andreas at kemnade.info
Tue Jan 16 07:34:14 CET 2018
On Mon, 15 Jan 2018 14:01:16 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 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).
connected during which boot phase? During u-boot actions or when the
kernel boots I have not seen this kind of problem for
quite some time.
>
> Then I also have to ifdown usb0; ifup usb0 to make it work.
>
ifdown usb0/ifup usb0 does rmmod/modprobe at your setup?
That is why I was doing just ifconfig down/up
> Exactly the same networking setup works on AM335x so this allows
> to isolate that issue to musb and twl4030-phy.
>
Why? gta04 = musb + omap2430 glue + twl4030-phy
am335x = musb + am35xx glue + ?
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180116/8618d2d8/attachment.asc>
More information about the Letux-kernel
mailing list