linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* musb: communication issue with more than 12 FTDI ports
@ 2015-10-12  9:34 Yegor Yefremov
       [not found] ` <CAGm1_ku3d4q3jQ6ZZYaLktd182O_WY5Hvu-Z877N31e5wN2_NA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Yegor Yefremov @ 2015-10-12  9:34 UTC (permalink / raw)
  To: linux-usb
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Felipe Balbi

We have a problem, when using more than 12 FTDI ports. Kernels tried:
3.18.1, 4.2.3 and 4.3-rc5. SoC am335x 600MHz

Below the USB topology:

# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
        |__ Port 1: Dev 9, If 0, Class=, Driver=hub/4p, 480M
            |__ Port 1: Dev 10, If 0, Class=, Driver=ftdi_sio, 12M
            |__ Port 2: Dev 11, If 0, Class=, Driver=ftdi_sio, 480M
            |__ Port 2: Dev 11, If 1, Class=, Driver=ftdi_sio, 480M
            |__ Port 2: Dev 11, If 2, Class=, Driver=ftdi_sio, 480M
            |__ Port 2: Dev 11, If 3, Class=, Driver=ftdi_sio, 480M
            |__ Port 3: Dev 12, If 0, Class=, Driver=ftdi_sio, 480M
            |__ Port 3: Dev 12, If 1, Class=, Driver=ftdi_sio, 480M
            |__ Port 3: Dev 12, If 2, Class=, Driver=ftdi_sio, 480M
            |__ Port 3: Dev 12, If 3, Class=, Driver=ftdi_sio, 480M
        |__ Port 2: Dev 4, If 0, Class=, Driver=ftdi_sio, 480M
        |__ Port 2: Dev 4, If 1, Class=, Driver=ftdi_sio, 480M
        |__ Port 2: Dev 4, If 2, Class=, Driver=ftdi_sio, 480M
        |__ Port 2: Dev 4, If 3, Class=, Driver=ftdi_sio, 480M
        |__ Port 3: Dev 7, If 0, Class=, Driver=ftdi_sio, 480M
        |__ Port 3: Dev 7, If 1, Class=, Driver=ftdi_sio, 480M
        |__ Port 3: Dev 7, If 2, Class=, Driver=ftdi_sio, 480M
        |__ Port 3: Dev 7, If 3, Class=, Driver=ftdi_sio, 480M

When using 12 ports and performing serial test (a pair of ports is
connected via null-modem cable and a rather short string ca. 90
characters will be sent alternating at 1200 and 115200b/s, testing
scripts are written in Python and running as own processes per a pair
of ports) there are no timeouts, i.e. all sent characters will be
received. As soon as I open ports 13 and 14 I start to get arbitrary
timeouts  (from test software point of view) on all ports.

In order to check, if ftdi_sio has primary to do with this issue, I've
performed the same test on a PC and PandaBoard Rev. A2 (EHCI port) and
there were no issues with 16 ports. So it seems to have something to
do with am335x + musb + number of end points.

Any idea? Let me know, if you need our test script.

Yegor
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-10-14 18:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12  9:34 musb: communication issue with more than 12 FTDI ports Yegor Yefremov
     [not found] ` <CAGm1_ku3d4q3jQ6ZZYaLktd182O_WY5Hvu-Z877N31e5wN2_NA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-12 10:34   ` Yegor Yefremov
     [not found]     ` <CAGm1_kvwLu=4R1G8+bXEhmU4298B-+XGKQRaOjZOz15eU1StFw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-12 13:33       ` Konstantin Shkolnyy
2015-10-13 18:22       ` Felipe Balbi
     [not found]         ` <87r3kyd3xw.fsf-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-10-14 15:35           ` Bin Liu
     [not found]             ` <561E7639.40506-l0cyMroinI0@public.gmane.org>
2015-10-14 15:56               ` Felipe Balbi
     [not found]                 ` <87h9ltbg0i.fsf-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-10-14 15:57                   ` Bin Liu
     [not found]                     ` <561E7B6D.80605-l0cyMroinI0@public.gmane.org>
2015-10-14 16:25                       ` Felipe Balbi
     [not found]                         ` <87eggxbeou.fsf-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-10-14 16:41                           ` Bin Liu
     [not found]                             ` <561E85D4.4040208-l0cyMroinI0@public.gmane.org>
2015-10-14 17:05                               ` Felipe Balbi
     [not found]                                 ` <87bnc1bcu1.fsf-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-10-14 17:09                                   ` Bin Liu
     [not found]                                     ` <561E8C4E.1020602-l0cyMroinI0@public.gmane.org>
2015-10-14 17:19                                       ` Felipe Balbi
     [not found]                                         ` <874mhtbc63.fsf-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-10-14 18:11                                           ` Bin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).