Xrx200/lantiq: if connected w/ USB hub reading from ftdi (Arduino nano) hangs system

Hello,

I own a Arcadyan VGV7510KW22 (o2 Box 6431) where I successful installed 18.01. When I attach a USB hub to it successfully recognizes the hub an I can read/write normal from/to the connected drives (if). Also if I connect a ftdi (ardunio nano) to the hub it is successful recognized (ttyUSB0).
The problem starts if I try to read from ttyUSB0.
What I tried so far:

  • just use cat /dev/ttyUSB0
  • used minicom (w/ correct setting of baud rate..)
  • used some perl scrips directly reading from ttyUSB0
  • for all: used stty -F dev/ttyUSB0 prior for changing some interface settings

In all the cases: Once I start reading from ttyUSB0 the system seems to hang. Means: I cannot reach the device any more (even by ssh or http-luci). It seems that either the usb contoller starts dominating also the lan/ethernet interfaces to block them - or, the SoC itself is going to be overflowed.
Sometimes I can get the router back fast pressing ctrl-c (for several minutes), in other cases to router just reboots.

I think it could be related w/ the dwc2 integration in that device (I've seen similar symptoms reported in raspberry pi forums where they forced ftdi devices to full/high speed w/ dwc drivers to get rid of the problem), but I'm not sure. Maybe there are some special stty setting I have to set (but I know working setting from other openwrt devices)

Any ideas what to do?

BR, Christian

Here are some more information

Link to the raspberry pi forum raspberry pi, ftdi USB hang up
-> here, dwc driver caused similar issue (solution: dwc_otg.speed=1)
-> how to do/achiev that in openwrt?

My kernel log:

[    0.000000] Linux version 4.9.120 (fuzzyandroid24@Mordor-PC-UNB) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7258-5eb055306f) ) #0 SMP Thu Aug 16 07:51:15 2018
[    0.000000] SoC: xRX200 rev 1.2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[    0.000000] MIPS: machine is o2 Box 6431
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 03e00000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Detected 1 available secondary CPU(s)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003dfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003dfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003dfffff]
[    0.000000] On node 0 totalpages: 15872
[    0.000000] free_area_init_node: node 0, pgdat 80527820, node_mem_map 81008e20
[    0.000000]   Normal zone: 124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 15872 pages, LIFO batch:3
[    0.000000] percpu: Embedded 12 pages/cpu @8108b000 s17360 r8192 d23600 u49152
[    0.000000] pcpu-alloc: s17360 r8192 d23600 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15748
[    0.000000] Kernel command line: console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00009688
[    0.000000] Readback ErrCtl register=00009688
[    0.000000] Memory: 55980K/63488K available (3925K kernel code, 162K rwdata, 1184K rodata, 1240K init, 232K bss, 7508K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:256
[    0.000000] Setting up vectored interrupts
[    0.000000] Setting up IPI vectored interrupts
[    0.000000] CPU Clock: 500MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns
[    0.000012] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns
[    0.007886] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.042391] pid_max: default: 32768 minimum: 301
[    0.047265] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.053804] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.064721] Brought up 1 CPUs
[    0.072371] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082036] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.088269] pinctrl core: initialized pinctrl subsystem
[    0.094236] NET: Registered protocol family 16
[    0.104134] pinctrl-xway 1e100b10.pinmux: Init done
[    0.109774] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.220021] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.231597] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.237277]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.242527]   IO 0x000000001ae00000..0x000000001affffff
[    0.282099] usbcore: registered new interface driver usbfs
[    0.287712] usbcore: registered new interface driver hub
[    0.293048] usbcore: registered new device driver usb
[    0.298455] PCI host bridge to bus 0000:00
[    0.302471] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.309379] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
[    0.316319] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.323175] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.331236] pci 0000:00:0e.0: [1814:3592] type 00 class 0x028000
[    0.331279] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[    0.331388] pci 0000:00:0e.0: PME# supported from D0 D3hot D3cold
[    0.331727] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.331763] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.344465] clocksource: Switched to clocksource MIPS
[    0.351005] NET: Registered protocol family 2
[    0.356393] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.363313] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.369696] TCP: Hash tables configured (established 1024 bind 1024)
[    0.376215] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.382057] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.388670] NET: Registered protocol family 1
[    0.393036] PCI: CLS 0 bytes, default 32
[    0.396674] gptu: totally 6 16-bit timers/counters
[    0.401589] gptu: misc_register on minor 63
[    0.405746] gptu: succeeded to request irq 126
[    0.410229] gptu: succeeded to request irq 127
[    0.414740] gptu: succeeded to request irq 128
[    0.419257] gptu: succeeded to request irq 129
[    0.423773] gptu: succeeded to request irq 130
[    0.428284] gptu: succeeded to request irq 131
[    0.436007] lantiq,vmmc 1f103000.vmmc: requested GPIO 465
[    0.441340] lantiq,vmmc 1f103000.vmmc: requested GPIO 493
[    0.446796] lantiq,vmmc 1f103000.vmmc: requested GPIO 492
[    0.452242] lantiq,vmmc 1f103000.vmmc: reserved 1MB at 0x03b00000
[    0.458692] phy-xrx200 gphy-xrx200: requesting lantiq/xrx200_phy22f_a22.bin
[    0.466342] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 3AA0000
[    0.472714] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3AA0000
[    0.580731] genirq: Flags mismatch irq 0. 00000000 (RTLX) vs. 00000400 (IPI_resched)
[    0.589897] Crashlog allocated RAM at address 0x3d00000
[    0.602008] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.617554] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.623298] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.650917] io scheduler noop registered
[    0.654825] io scheduler deadline registered (default)
[    0.660731] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.669681] console [ttyLTQ0] enabled
[    0.676984] bootconsole [early0] disabled
[    0.685996] lantiq nor flash device: 01000000 at 10000000
[    0.690160] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.699579] Amd/Fujitsu Extended Query Table at 0x0040
[    0.704709]   Amd/Fujitsu Extended Query version 1.3.
[    0.709740] number of CFI chips: 1
[    0.713184] 4 fixed-partitions partitions found on MTD device ltq_nor
[    0.719578] Creating 4 MTD partitions on "ltq_nor":
[    0.724458] 0x000000fe0000-0x000001000000 : "board_config"
[    0.733990] 0x000000000000-0x000000060000 : "uboot"
[    0.740388] 0x000000060000-0x000000080000 : "uboot-env"
[    0.746889] 0x000000080000-0x000000fe0000 : "firmware"
[    0.764483] 2 uimage-fw partitions found on MTD device firmware
[    0.769091] 0x000000080000-0x00000021fcb1 : "kernel"
[    0.776273] 0x00000021fcb1-0x000000fe0000 : "rootfs"
[    0.782362] mtd: device 5 (rootfs) set to be root filesystem
[    0.786728] 1 squashfs-split partitions found on MTD device rootfs
[    0.792822] 0x0000006a0000-0x000000fe0000 : "rootfs_data"
[    0.803119] libphy: Fixed MDIO Bus: probed
[    0.908126] libphy: lantiq,xrx200-mdio: probed
[    0.995830] ICPlus IP101A/G 0:01: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=0:01, irq=-1)
[    1.076252] Intel XWAY PHY22F (xRX v1.2 integrated) 0:11: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:11, irq=-1)
[    1.160251] Intel XWAY PHY22F (xRX v1.2 integrated) 0:12: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:12, irq=-1)
[    1.187627] random: fast init done
[    1.244250] Intel XWAY PHY22F (xRX v1.2 integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:13, irq=-1)
[    1.328251] Intel XWAY PHY22F (xRX v1.2 integrated) 0:14: attached PHY driver [Intel XWAY PHY22F (xRX v1.2 integrated)] (mii_bus:phy_addr=0:14, irq=-1)
[    1.442547] ltq-cputemp cputemp@0: Current CPU die temperature: 44.5 °C
[    1.448135] wdt 1f8803f0.watchdog: Init done
[    1.454694] NET: Registered protocol family 17
[    1.457849] 8021q: 802.1Q VLAN Support v1.8
[    1.479350] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.489343] Freeing unused kernel memory: 1240K
[    1.492476] This architecture does not have kernel memory protection.
[    2.316766] init: Console is alive
[    2.319055] init: - watchdog -
[    3.312316] lantiq,xrx200-net 1e108000.eth eth0: port 3 got link
[    4.292669] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.471504] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.486351] SCSI subsystem initialized
[    4.494535] ehci-platform: EHCI generic platform driver
[    4.502423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.509033] ohci-platform: OHCI generic platform driver
[    4.515988] uhci_hcd: USB Universal Host Controller Interface driver
[    4.526733] dwc2 1e101000.ifxhcd: requested GPIO 509
[    4.631271] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    4.634947] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    4.642213] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    4.647734] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[    4.655144] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[    4.663210] hub 1-0:1.0: USB hub found
[    4.666124] hub 1-0:1.0: 1 port detected
[    4.675196] usbcore: registered new interface driver usb-storage
[    4.680772] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.697633] init: - preinit -
[    5.450139] usb 1-1: new high-speed USB device number 2 using dwc2
[    5.745130] hub 1-1:1.0: USB hub found
[    5.747544] hub 1-1:1.0: 4 ports detected
[    5.753133] random: procd: uninitialized urandom read (4 bytes read)
[    6.055700] usb 1-1.2: new high-speed USB device number 3 using dwc2
[    6.169723] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    6.176467] scsi host0: usb-storage 1-1.2:1.0
[    6.279706] usb 1-1.4: new full-speed USB device number 4 using dwc2
[    6.657969] random: crng init done
[    7.206599] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    7.219126] sd 0:0:0:0: [sda] 3934208 512-byte logical blocks: (2.01 GB/1.88 GiB)
[    7.226488] sd 0:0:0:0: [sda] Write Protect is off
[    7.230092] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    7.231372] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    7.247482]  sda: sda1
[    7.254610] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    9.051518] mount_root: loading kmods from internal overlay
[    9.111787] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    9.121556] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   10.185168] jffs2: notice: (483) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.200116] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   10.210676] block: extroot: not configured
[   10.289855] jffs2: notice: (481) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.961756] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   10.970880] block: extroot: not configured
[   10.975911] mount_root: switching to jffs2 overlay
[   11.035076] urandom-seed: Seeding with /etc/urandom.seed
[   11.200364] procd: - early -
[   11.202006] procd: - watchdog -
[   11.907844] lantiq,xrx200-net 1e108000.eth eth0: port 3 lost link
[   11.996519] procd: - watchdog -
[   11.998925] procd: - ubus -
[   12.171263] procd: - init -
[   13.083501] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.132005] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[   13.162081] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
[   13.184211] NET: Registered protocol family 8
[   13.187127] NET: Registered protocol family 20
[   13.242808] PPP generic driver version 2.4.2
[   13.274268] Lantiq (VRX) DSL CPE MEI driver, version 1.5.17.6, (c) 2007-2015 Lantiq Beteiligungs-GmbH & Co. KG
[   13.300546] 
[   13.300546] 
[   13.300546] Lantiq CPE API Driver version: DSL CPE API V4.17.18.6
[   13.308334] 
[   13.308334] Predefined debug level: 3
[   13.327266] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   13.334018] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   13.358797] Lantiq MIPS34KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
[   13.366198] request_timer(2, 0x000001AE, 1)...
[   13.370423] successful!
[   13.373380] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
[   13.389333] Infineon Technologies DEU driver version 2.0.0 
[   13.399015] IFX DEU DES initialized (multiblock).
[   13.405521] IFX DEU AES initialized (multiblock).
[   13.409840] IFX DEU ARC4 initialized (multiblock).
[   13.416301] IFX DEU SHA1 initialized.
[   13.419168] IFX DEU MD5 initialized.
[   13.423476] IFX DEU SHA1_HMAC initialized.
[   13.426988] IFX DEU MD5_HMAC initialized.
[   13.441097] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   13.709979] NET: Registered protocol family 24
[   13.716127] usbcore: registered new interface driver ums-alauda
[   13.724002] usbcore: registered new interface driver ums-cypress
[   13.731916] usbcore: registered new interface driver ums-datafab
[   13.739466] usbcore: registered new interface driver ums-freecom
[   13.747424] usbcore: registered new interface driver ums-isd200
[   13.755331] usbcore: registered new interface driver ums-jumpshot
[   13.763206] usbcore: registered new interface driver ums-karma
[   13.771463] usbcore: registered new interface driver ums-sddr09
[   13.779343] usbcore: registered new interface driver ums-sddr55
[   13.792371] usbcore: registered new interface driver ums-usbat
[   13.989166] usbcore: registered new interface driver usbserial
[   13.993864] usbcore: registered new interface driver usbserial_generic
[   14.000414] usbserial: USB Serial support registered for generic
[   14.038976] xt_time: kernel timezone is -0000
[   14.088953] usbcore: registered new interface driver ftdi_sio
[   14.093558] usbserial: USB Serial support registered for FTDI USB Serial Device
[   14.101119] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[   14.107820] usb 1-1.4: Detected FT232RL
[   14.114214] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
[   14.124309] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.366131] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   14.371001] rt2800pci 0000:00:0e.0: loaded eeprom from mtd device "board_config"
[   14.377855] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   14.385643] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   14.393313] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   14.402858] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.735303] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
[   15.371496] Adding 262140k swap on /opt/swapfile.  Priority:-1 extents:3 across:309244k 
[   27.855599] br-lan: port 1(eth0.1) entered blocking state
[   27.859791] br-lan: port 1(eth0.1) entered disabled state
[   27.865738] device eth0.1 entered promiscuous mode
[   27.869988] device eth0 entered promiscuous mode
[   29.892098] lantiq,xrx200-net 1e108000.eth eth0: port 3 got link
[   29.897351] br-lan: port 1(eth0.1) entered blocking state
[   29.902169] br-lan: port 1(eth0.1) entered forwarding state
[   32.438515] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   32.501942] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.40
[   32.853383] br-lan: port 2(wlan0) entered blocking state
[   32.857437] br-lan: port 2(wlan0) entered disabled state
[   32.863269] device wlan0 entered promiscuous mode
[   34.787566] br-lan: port 2(wlan0) entered blocking state
[   34.791531] br-lan: port 2(wlan0) entered forwarding state

Here are my stty settings for ttyUSB0 which I succefull use with other non-xrx200 devices and ardunio nano attached to usb:

stty -F /dev/ttyUSB0 -parenb -parodd cs8 -hupcl -cstopb cread clocal -crtscts -iuclc -ixany -imaxbel -iutf8 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl -echoke

AFAIK you have to find the file which lists dwc-otg in /etc/modules-boot.d/ or /etc/modules.d/ and add the param speed=1

Thank you @Mijzelf for your help.

I found under

root@bridge-ke:/etc/modules.d# ls
02-crypto-hash          09-crypto-null          30-fs-cifs              50-usb-uhci             ltq-deu-vr9             rt2x00-pci
04-crypto-crc32c        09-crypto-sha256        30-fs-ext4              51-ltq-vdsl-vr9         ltq-vmmc                usb-serial
09-crypto-aead          10-ltq-ifxos            30-gpio-button-hotplug  54-usb-dwc2             nf-conntrack            usb-serial-ftdi
09-crypto-des           20-eeprom-93cx6         35-usb-ehci             60-leds-gpio            nf-ipt                  usb-storage
09-crypto-ecb           20-lib-crc16            40-pppoa                ipt-conntrack           nf-nat                  usb-storage-extras
09-crypto-hmac          20-ltq-tapi             40-scsi-core            ipt-core                nf-reject               usbmon
09-crypto-manager       20-usb-core             40-usb2                 ipt-nat                 ppp
09-crypto-md4           25-nls-utf8             50-ltq-vdsl-vr9-mei     lib-crc-ccitt           pppoe
09-crypto-md5           30-atm                  50-usb-ohci             lib-crc-itu-t           rt2800-pci

The 54-usb-dwc2 file where I added speed=1 to

dwc2
speed=1

But unfortunatelly the problem still exits (also tried w/ speed=1 in the first line). Also I haven't found a content w/ dwc-otg.

For both (w and w/ speed=1 entry) my kernel log for usb (I have a hub w/ one stick and one arduino attached) is as follows

root@bridge-ke:~# logread | grep dwc2
Thu Oct 25 20:47:54 2018 kern.info kernel: [    4.527303] dwc2 1e101000.ifxhcd: requested GPIO 509
Thu Oct 25 20:47:54 2018 kern.info kernel: [    4.633546] dwc2 1e101000.ifxhcd: DWC OTG Controller
Thu Oct 25 20:47:54 2018 kern.info kernel: [    4.637224] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
Thu Oct 25 20:47:54 2018 kern.info kernel: [    4.644492] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
Thu Oct 25 20:47:54 2018 kern.err kernel: [    4.650013] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
Thu Oct 25 20:47:54 2018 kern.err kernel: [    4.657424] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
Thu Oct 25 20:47:54 2018 kern.info kernel: [    5.453517] usb 1-1: new high-speed USB device number 2 using dwc2
Thu Oct 25 20:47:54 2018 kern.info kernel: [    6.055699] usb 1-1.2: new high-speed USB device number 3 using dwc2
Thu Oct 25 20:47:54 2018 kern.info kernel: [    6.279705] usb 1-1.4: new full-speed USB device number 4 using dwc2

At least the ftdi is recognised as full speed

root@bridge-ke:~# logread | grep ftdi
Thu Oct 25 20:48:59 2018 kern.info kernel: [   14.084482] usbcore: registered new interface driver ftdi_sio
Thu Oct 25 20:48:59 2018 kern.info kernel: [   14.096667] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected

Any further hints?

Is there a way to set that (dwc2) speed value under development environment and than compile my firmware w/ that setting?

How exactly does that work?

One update: I found that directly connected to o2 box the arduino nano and the system responds normal.
I only have that hang problem if I use a USB hub together w/ an arduino nano. I also tried different USB hubs: no effect.
Thus it seems that there could be a basic problem w/ USB hub + ftdi integration at least for lantiq/xrx200 systems

changed to topic name....
report as bug

another short update.
just testet USB hub and ftdi conntected to hub (hub to rooter) on other openwrt system (rt-n56u, ralink 3883): works perfect

So it seems, that I can reproduce that hangup only on xrx200 system when a USB hub is used.