Power & Source of Big Ideas

USB 2.0 Host controller crashes in Android.

Moderators: chensy, FATechsupport

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
So nobody at FriendlyElec reads these? Was hoping for an update...

Thanks,
Mike
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

Who is online

In total there are 34 users online :: 0 registered, 0 hidden and 34 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 34 guests