I'm trying to get an FTDI usb RS-485 serial port working on an Olimex A20 lime.
I've tried a number of different physical FTDI devices, including a Prolific device, the kernel won't recognize them no matter what I do.
I used
I've tried the Olimex dtbs that get built from that profile, but the cubieboard2 dtb is the only one that gets me to a login prompt, which isn't 100%, so I ran down the "build a dtb" road.
I've successfully created a dtb, using gnu/dts/arm/sun7i-a20-olinuxino-lime.dts, but commenting out the usb otg port (I won't be using that port anyway) vbus detect pin configuration that causes the kernel to panic on boot.
If I load uftdi.ko manually after boot, and plug in the USB device, I get... nothing.
The port does appear to work when using a flash drive, before trying to plug in any serial device, but not after. I have to reboot to get the usb port to recognize anything after that.
If I turn on hw.usb.ehci.debug, and then plug in the FTDI device, I get console spew of:
Can anybody tell me what ehci_disown means? and how to deal with it?
I looked in the kernel code and the ehci_disown() function for any clues that I could glean, but I have no idea what I'm looking at/for.
I also looked at the the usb_quirks to see if I could see something that was applicable, but I don't...
Any help with this would be appreciated!
Without any suggestions, I'm at the end of the road, and I'll have to go back to Linux, which I'd rather not do.
TIA
Neal Horman
I've tried a number of different physical FTDI devices, including a Prolific device, the kernel won't recognize them no matter what I do.
I used
svn.head -r 298609
and crochet w/ a derived version of cubieboard2 board profile and the ALLWINNER kernel.I've tried the Olimex dtbs that get built from that profile, but the cubieboard2 dtb is the only one that gets me to a login prompt, which isn't 100%, so I ran down the "build a dtb" road.
I've successfully created a dtb, using gnu/dts/arm/sun7i-a20-olinuxino-lime.dts, but commenting out the usb otg port (I won't be using that port anyway) vbus detect pin configuration that causes the kernel to panic on boot.
If I load uftdi.ko manually after boot, and plug in the USB device, I get... nothing.
The port does appear to work when using a flash drive, before trying to plug in any serial device, but not after. I have to reboot to get the usb port to recognize anything after that.
If I turn on hw.usb.ehci.debug, and then plug in the FTDI device, I get console spew of:
Code:
[INDENT]ehci_root_intr: port 1 changed
ehci_set_hw_power:
ehci_roothub_exec: ehci after reset, status=0x00001801
ehci_disown: index=1 lowspeed=0[/INDENT]
Can anybody tell me what ehci_disown means? and how to deal with it?
I looked in the kernel code and the ehci_disown() function for any clues that I could glean, but I have no idea what I'm looking at/for.
I also looked at the the usb_quirks to see if I could see something that was applicable, but I don't...
Any help with this would be appreciated!
Without any suggestions, I'm at the end of the road, and I'll have to go back to Linux, which I'd rather not do.
TIA
Neal Horman