Page 1 of 1

USB 2.0 Host controller crashes in Android.

Posted: Fri Sep 07, 2018 3:10 pm
by mpanetta
I've been using this board for awhile now and just ran across an issue with USB. After some time (sometime hours, sometimes minutes) the devices disappear and I see the following message in the kernel messages:

Code: Select all

[ 3893.229656] ohci-platform fe3a0000.usb: frame counter not updating; disabled
[ 3893.229760] ohci-platform fe3a0000.usb: HC died; cleaning up
[ 3893.230128] usb 6-1: USB disconnect, device number 2
[ 3893.470920] binder: 436:637 transaction failed 29189/0, size 348-0 line 2880
[ 6585.522466] ohci-platform fe3e0000.usb: frame counter not updating; disabled
[ 6585.522575] ohci-platform fe3e0000.usb: HC died; cleaning up
[ 6585.523002] usb 2-1: USB disconnect, device number 2


It looks like the host controller is hanging and the kernel is disabling it. Since our product relies on USB we really need this to work. Any ideas on what I can do fix this?

Thanks,
Mike

Re: USB 2.0 Host controller crashes in Android.

Posted: Fri Sep 14, 2018 11:54 pm
by mpanetta
So nobody at FriendlyElec reads these? Was hoping for an update...

Thanks,
Mike

Re: USB 2.0 Host controller crashes in Android.

Posted: Wed Sep 26, 2018 10:54 pm
by mpanetta
For anyone else having this issue, I found a patch that seems to fix it.

https://lore.kernel.org/patchwork/patch/880379/

I had to tweak it a little to patch against the kernel version in the android source, but after weeks of leaving the system on I no longer loose USB ports.

Mike