Ftdi driver issue

53 views
Skip to first unread message

Sylvain

unread,
Dec 12, 2016, 4:57:20 PM12/12/16
to BeagleBoard
Hello,

I try to plug more than one FTDI Usb Serial Adapter on a BeagleBone Black.

I tried several adapters and all work fine if plugged directly on the USB Host port.

But if I use an USB hub - I tried several - or a specific cape (http://www.titan.tw/product/USB_2COM_BB.html), the ftdi driver complains:

[ 1544.135039] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity
[ 1545.143074] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate
[ 1550.151247] ftdi_sio ttyUSB0: urb failed to clear flow control


Here comes the different cases:

BBB Usb Host > USB Cape > Ftdi Usb Serial Adapter 1
                        > Ftdi Usb Serial Adapter 2

BBB Usb Host > USB Hub > Ftdi Usb Serial Adapter 1
                       > Ftdi Usb Serial Adapter 2 

BBB Usb Host > USB Hub > USB Cape > Ftdi Usb Serial Adapter 1
                                  > Ftdi Usb Serial Adapter 2

--> fails



BBB Usb Host > Ftdi Usb Serial Adapter 1
BBB Usb Host > USB Cape 

--> works

  • Does this issue come from the Ftdi driver? 
  • Is it a BBB hardware problem? (The issue is reproduced on all my four BBB)
  • Where can I send this report to the good guy?


Thank you,

Sylvain

Przemek Klosowski

unread,
Dec 13, 2016, 7:09:13 AM12/13/16
to beagl...@googlegroups.com
On Mon, Dec 12, 2016 at 12:15 PM, Sylvain <fo...@sylvainlegourr.com> wrote:
> Hello,
>
> I try to plug more than one FTDI Usb Serial Adapter on a BeagleBone Black.
>
> I tried several adapters and all work fine if plugged directly on the USB
> Host port.
>
> But if I use an USB hub - I tried several - or a specific cape
> (http://www.titan.tw/product/USB_2COM_BB.html), the ftdi driver complains:
>
>> [ 1544.135039] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set
>> databits/stopbits/parity
>> [ 1545.143074] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set
>> baudrate
>> [ 1550.151247] ftdi_sio ttyUSB0: urb failed to clear flow control
>
>
>
> Here comes the different cases:
>
> BBB Usb Host > USB Cape > Ftdi Usb Serial Adapter 1
> > Ftdi Usb Serial Adapter 2
>
> BBB Usb Host > USB Hub > Ftdi Usb Serial Adapter 1
> > Ftdi Usb Serial Adapter 2
>
> BBB Usb Host > USB Hub > USB Cape > Ftdi Usb Serial Adapter 1
> > Ftdi Usb Serial Adapter 2
>
> --> fails
>
>
>
> BBB Usb Host > Ftdi Usb Serial Adapter 1
> BBB Usb Host > USB Cape
>
> --> works

how are you powering the hub? and BBB? Is it possible that you're
running out of supply current? Try a powered hub---does it make a
difference?

Sylvain

unread,
Dec 13, 2016, 7:26:07 AM12/13/16
to BeagleBoard
I tried with powered and not powered hub. Results are the same.
BBB is powered by its 5V adapter.
Reply all
Reply to author
Forward
0 new messages