ehci_disown - Olimex ARM A20 Lime & USB FTDI RS-485 shuts down USB port

Neal Horman neal at wanlink.com
Sat May 14 18:50:29 UTC 2016


On 5/12/16 7:00 AM, freebsd-usb-request at freebsd.org wrote:

>> ehci_disown() means that there should be a full speed controller that should
>> handle the device, because it is not high-speed. Does your board have
>> OHCI/UHCI or only EHCI? How are the USB parts wired. Is there a High-Speed TT
>> (USB HUB chip) connected to the EHCI port?
> The A20 SoC has an OHCI controller but the ALLWINNER kernel is missing the
> ohci driver. There is a patch for review here: https://reviews.freebsd.org/D5481
>
> Cheers,
> Jared

Jared:
     Thanks for pointing me to the patch, that was very helpful.

All:
     I can report that I was able to apply the D5481 patch to svn.head 
revision 298609 after changing the kernel conf A20 patched file name to 
ALLWINNER.
     The kernel built without errors.
     I installed the kernel, and the ohci driver appears to attach and 
work correctly with my FTDI devices.

Emanuel:
     Overall, I'd like to see this committed because it appears to be 
functional.
     Although, I wouldn't / don't expect to have to include the "device 
ohci" and "device generic_ohc" drivers for the kernel to work correctly 
on the platform.
     It just doesn't make sense in my mind and doesn't feel right.

     Thanks for the work that your doing on the Allwinner SOCs !

Regards
Neal Horman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3816 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20160514/0a3cf235/attachment.bin>


More information about the freebsd-usb mailing list