Skip to content

How can I force raspberry4 to use EHCI instead of XHCI? #3309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
likang opened this issue Oct 29, 2019 · 15 comments
Closed

How can I force raspberry4 to use EHCI instead of XHCI? #3309

likang opened this issue Oct 29, 2019 · 15 comments
Labels
Close within 30 days Issue will be closed within 30 days unless requested to stay open

Comments

@likang
Copy link

likang commented Oct 29, 2019

A hardware we used is incompatible with XHCI, I'm wondering how can I disable that since raspberry does not have BIOS.

@pelwell
Copy link
Contributor

pelwell commented Oct 29, 2019

A hardware we used is incompatible with XHCI

What does that mean? XHCI defines a standard register interface to a USB3 controller, but as Wikipedia say, "The xHCI architecture was designed to support all USB speeds, including SuperSpeed (5 Gbit/s) and future speeds, under a single driver stack."

Your device on the USB bus shouldn't care how the USB host controller is programmed, only which versions of USB it supports (and whether it is compliant to those standards).

@likang
Copy link
Author

likang commented Oct 29, 2019

Thank you @pelwell , I have some problems on connect lots of USB device to raspberry4 (on raspberry 3b+ is OK), based on this article WHY CAN'T I CONNECT MORE USB 3.0 DEVICES TO MY SYSTEM? seems I have to disable "USB 3.0" mode, so I want to change my question to "can I use USB2.0 mode on Raspberry 4?"

@P33M
Copy link
Contributor

P33M commented Oct 29, 2019

How many is "lots of USB devices"? Please post the output of lsusb -t.

What are "some problems"? Please post the output of dmesg after you have seen these problems occur.

The article you linked conflates hub tree depth with number of xHCI slots. Both are independent limitations of the hardware - hub tree depth is constrained by the USB specification, the number of simultaneously connected devices is constrained by the xHCI hardware implementation. The hardware used on Pi 4 has a maximum of 32 slots.

@likang
Copy link
Author

likang commented Oct 29, 2019

I plugged 1 device(contains 16 endpoints) on each USB port, so totally I should get 4x16=64 endpoints, but now only 36 or 37 endpoints can be found.

lsusb -t

/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 81, If 0, Class=Hub, Driver=hub/7p, 480M
        |__ Port 2: Dev 66, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 3: Dev 72, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 72, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 68, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 74, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 70, If 4, Class=Communications, Driver=cdc_acm, 12M
        |__ Port 3: Dev 76, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 1: Dev 77, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 77, If 7, Class=CDC Data, Driver=cdc_acm, 12M
        |__ Port 4: Dev 67, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 4: Dev 75, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 4: Dev 75, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 2: Dev 71, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 1, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 73, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 6, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 4, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 2, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 7, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 5, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 3, Class=CDC Data, Driver=cdc_acm, 12M
            |__ Port 1: Dev 69, If 1, Class=CDC Data, Driver=cdc_acm, 12M

dmesg

pi@raspi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.75-v7l+ (dom@buildbot) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 SMP Tue Sep 24 18:51:41 BST 2019
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[    0.000000] On node 0 totalpages: 242688
[    0.000000]   DMA zone: 1728 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 46080 pages, LIFO batch:15
[    0.000000] random: get_random_bytes called from start_kernel+0xc0/0x4e8 with crng_init=0
[    0.000000] percpu: Embedded 17 pages/cpu s39488 r8192 d21952 u69632
[    0.000000] pcpu-alloc: s39488 r8192 d21952 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 240960
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=64M cma=256M  smsc95xx.macaddr=DC:A6:32:00:A0:C7 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 682472K/970752K available (8192K kernel code, 661K rwdata, 2352K rodata, 2048K init, 850K bss, 26136K reserved, 262144K cma-reserved, 184320K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 662 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 851 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 28124 entries in 83 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000005] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000017] Switching to timer-based delay loop, resolution 18ns
[    0.000240] Console: colour dummy device 80x30
[    0.000264] console [tty1] enabled
[    0.000304] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.000326] pid_max: default: 32768 minimum: 301
[    0.000586] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000605] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001347] CPU: Testing write buffer coherency: ok
[    0.001749] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002386] Setting up static identity map for 0x200000 - 0x20003c
[    0.002543] rcu: Hierarchical SRCU implementation.
[    0.003398] smp: Bringing up secondary CPUs ...
[    0.004289] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005311] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.006299] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.006432] smp: Brought up 1 node, 4 CPUs
[    0.006445] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.006455] CPU: All CPU(s) started in HYP mode.
[    0.006463] CPU: Virtualization extensions available.
[    0.007235] devtmpfs: initialized
[    0.017479] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.017681] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.017701] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.024614] pinctrl core: initialized pinctrl subsystem
[    0.025456] NET: Registered protocol family 16
[    0.028499] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.029972] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.029982] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.030172] Serial: AMBA PL011 UART driver
[    0.033217] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.068892] bcm2835-dma fe007000.dma: DMA legacy API manager at (ptrval), dmachans=0x1
[    0.071372] vgaarb: loaded
[    0.071735] SCSI subsystem initialized
[    0.071933] usbcore: registered new interface driver usbfs
[    0.071985] usbcore: registered new interface driver hub
[    0.072052] usbcore: registered new device driver usb
[    0.090371] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-09-24 17:34, variant start
[    0.100112] raspberrypi-firmware soc:firmware: Firmware hash is cd3add54955f8fa065b414d8fc07c525e7ddffc8
[    0.111633] clocksource: Switched to clocksource arch_sys_counter
[    0.188927] VFS: Disk quotas dquot_6.6.0
[    0.189003] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.189153] FS-Cache: Loaded
[    0.189336] CacheFiles: Loaded
[    0.189838] simple-framebuffer: probe of 0.framebuffer failed with error -12
[    0.198620] NET: Registered protocol family 2
[    0.199257] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.199281] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.199352] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.199422] TCP: Hash tables configured (established 8192 bind 8192)
[    0.199539] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.199566] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.199859] NET: Registered protocol family 1
[    0.200391] RPC: Registered named UNIX socket transport module.
[    0.200400] RPC: Registered udp transport module.
[    0.200409] RPC: Registered tcp transport module.
[    0.200418] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.200434] PCI: CLS 0 bytes, default 64
[    0.203454] Initialise system trusted keyrings
[    0.203613] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.212540] FS-Cache: Netfs 'nfs' registered for caching
[    0.213024] NFS: Registering the id_resolver key type
[    0.213050] Key type id_resolver registered
[    0.213060] Key type id_legacy registered
[    0.213079] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.215314] Key type asymmetric registered
[    0.215324] Asymmetric key parser 'x509' registered
[    0.215432] bounce: pool size: 64 pages
[    0.215474] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.215632] io scheduler noop registered
[    0.215643] io scheduler deadline registered (default)
[    0.215795] io scheduler cfq registered
[    0.215806] io scheduler mq-deadline registered (default)
[    0.215816] io scheduler kyber registered
[    0.218787] brcm-pcie fd500000.pcie: could not get clock
[    0.218845] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.218881] brcm-pcie fd500000.pcie:   MEM 0x600000000..0x603ffffff -> 0xf8000000
[    0.271666] brcm-pcie fd500000.pcie: link up, 5.0 Gbps x1 (!SSC)
[    0.271912] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    0.271928] pci_bus 0000:00: root bus resource [bus 00-01]
[    0.271944] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    0.271986] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    0.272124] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.274845] PCI: bus0: Fast back to back transfers disabled
[    0.274861] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.275064] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    0.275189] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    0.275507] pci 0000:01:00.0: PME# supported from D0 D3cold
[    0.278264] PCI: bus1: Fast back to back transfers disabled
[    0.278280] pci_bus 0000:01: busn_res: [bus 01] end is updated to 01
[    0.278325] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    0.278344] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    0.278414] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.278431] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    0.278629] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    0.278807] pcieport 0000:00:00.0: Signaling PME with IRQ 55
[    0.278967] pcieport 0000:00:00.0: AER enabled with IRQ 55
[    0.279134] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    0.282366] iproc-rng200 fe104000.rng: hwrng registered
[    0.282582] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    0.283069] vc-sm: Videocore shared memory driver
[    0.283460] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    0.293411] brd: module loaded
[    0.303030] loop: module loaded
[    0.303760] Loading iSCSI transport class v2.0-870.
[    0.305405] libphy: Fixed MDIO Bus: probed
[    0.305818] bcmgenet fd580000.genet: failed to get enet clock
[    0.305834] bcmgenet fd580000.genet: GENET 5.0 EPHY: 0x0000
[    0.305851] bcmgenet fd580000.genet: failed to get enet-wol clock
[    0.305867] bcmgenet fd580000.genet: failed to get enet-eee clock
[    0.305889] bcmgenet: Skipping UMAC reset
[    0.306112] unimac-mdio unimac-mdio.-19: DMA mask not set
[    0.321696] libphy: bcmgenet MII bus: probed
[    0.362178] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus at 0x(ptrval)
[    0.363075] usbcore: registered new interface driver r8152
[    0.363136] usbcore: registered new interface driver lan78xx
[    0.363196] usbcore: registered new interface driver smsc95xx
[    0.363508] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.363539] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    0.365365] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[    0.365677] genirq: irq_chip Brcm_MSI did not update eff. affinity mask of irq 56
[    0.366520] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.366534] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.366546] usb usb1: Product: xHCI Host Controller
[    0.366557] usb usb1: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd
[    0.366567] usb usb1: SerialNumber: 0000:01:00.0
[    0.367057] hub 1-0:1.0: USB hub found
[    0.367138] hub 1-0:1.0: 1 port detected
[    0.367601] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    0.367628] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    0.367646] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    0.368003] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[    0.368016] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.368027] usb usb2: Product: xHCI Host Controller
[    0.368038] usb usb2: Manufacturer: Linux 4.19.75-v7l+ xhci-hcd
[    0.368048] usb usb2: SerialNumber: 0000:01:00.0
[    0.368516] hub 2-0:1.0: USB hub found
[    0.368569] hub 2-0:1.0: 4 ports detected
[    0.369746] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.395317] dwc_otg fe980000.usb: base=(ptrval)
[    0.595573] Core Release: 2.80a
[    0.595586] Setting default values for core params
[    0.595616] Finished setting default values for core params
[    0.795936] Using Buffer DMA mode
[    0.795947] Periodic Transfer Interrupt Enhancement - disabled
[    0.795956] Multiprocessor Interrupt Enhancement - disabled
[    0.795966] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.796026] Dedicated Tx FIFOs mode
[    0.796436] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ded34000 dma = 0x00000000ded34000 len=9024
[    0.796461] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.796473] dwc_otg: Microframe scheduler enabled
[    0.796528] WARN::hcd_init_fiq:457: FIQ on core 1
[    0.796544] WARN::hcd_init_fiq:458: FIQ ASM at c07b6224 length 36
[    0.796561] WARN::hcd_init_fiq:497: MPHI regs_base at f0810200
[    0.796598] dwc_otg fe980000.usb: DWC OTG Controller
[    0.796626] dwc_otg fe980000.usb: new USB bus registered, assigned bus number 3
[    0.796658] dwc_otg fe980000.usb: irq 37, io mem 0x00000000
[    0.796711] Init: Port Power? op_state=1
[    0.796721] Init: Power Port (0)
[    0.796984] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.796998] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.797009] usb usb3: Product: DWC OTG Controller
[    0.797020] usb usb3: Manufacturer: Linux 4.19.75-v7l+ dwc_otg_hcd
[    0.797030] usb usb3: SerialNumber: fe980000.usb
[    0.797544] hub 3-0:1.0: USB hub found
[    0.797592] hub 3-0:1.0: 1 port detected
[    0.798175] dwc_otg: FIQ enabled
[    0.798184] dwc_otg: NAK holdoff enabled
[    0.798193] dwc_otg: FIQ split-transaction FSM enabled
[    0.798206] Module dwc_common_port init
[    0.798425] usbcore: registered new interface driver uas
[    0.798535] usbcore: registered new interface driver usb-storage
[    0.798701] mousedev: PS/2 mouse device common for all mice
[    0.799866] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    0.800096] bcm2835-cpufreq: min=600000 max=1500000
[    0.800693] sdhci: Secure Digital Host Controller Interface driver
[    0.800702] sdhci: Copyright(c) Pierre Ossman
[    0.801079] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    0.801448] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.804490] ledtrig-cpu: registered to indicate activity on CPUs
[    0.804637] hidraw: raw HID events driver (C) Jiri Kosina
[    0.804781] usbcore: registered new interface driver usbhid
[    0.804790] usbhid: USB HID core driver
[    0.805536] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
[    0.807259] [vc_sm_connected_init]: start
[    0.816040] [vc_sm_connected_init]: end - returning 0
[    0.817124] Initializing XFRM netlink socket
[    0.817151] NET: Registered protocol family 17
[    0.817251] Key type dns_resolver registered
[    0.817613] Registering SWP/SWPB emulation handler
[    0.818226] registered taskstats version 1
[    0.818242] Loading compiled-in X.509 certificates
[    0.825924] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    0.825987] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[    0.828965] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    0.829500] brcmstb_thermal fd5d2200.thermal: registered AVS TMON of-sensor driver
[    0.830100] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.830112] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    0.854780] sdhci-iproc fe340000.emmc2: Linked as a consumer to regulator.1
[    0.871130] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.872752] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.874370] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.877284] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.878905] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.886756] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    0.889120] of_cfs_init
[    0.889216] of_cfs_init: OK
[    0.889886] Waiting for root device /dev/mmcblk0p7...
[    0.936299] random: fast init done
[    0.941678] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.964464] mmc1: new high speed SDIO card at address 0001
[    0.991197] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    0.992365] mmcblk0: mmc0:aaaa SB32G 29.7 GiB
[    0.996217]  mmcblk0: p1 p2 < p5 p6 p7 >
[    1.003607] EXT4-fs (mmcblk0p7): INFO: recovery required on readonly filesystem
[    1.003619] EXT4-fs (mmcblk0p7): write access will be enabled during recovery
[    1.067067] EXT4-fs (mmcblk0p7): recovery complete
[    1.068914] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[    1.068960] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
[    1.075665] devtmpfs: mounted
[    1.081945] Freeing unused kernel memory: 2048K
[    1.082187] Run /sbin/init as init process
[    1.124286] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[    1.124301] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.124313] usb 1-1: Product: USB2.0 Hub
[    1.126062] hub 1-1:1.0: USB hub found
[    1.126399] hub 1-1:1.0: 4 ports detected
[    1.451687] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    1.490033] systemd[1]: System time before build time, advancing clock.
[    1.571548] NET: Registered protocol family 10
[    1.572794] Segment Routing with IPv6
[    1.582153] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
[    1.582168] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.582180] usb 1-1.1: Product: USB 2.0 Hub [MTT]
[    1.583862] hub 1-1.1:1.0: USB hub found
[    1.583975] hub 1-1.1:1.0: 7 ports detected
[    1.620232] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    1.620888] systemd[1]: Detected architecture arm.
[    1.628459] systemd[1]: Set hostname to <msraspi05>.
[    1.633774] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[    1.691757] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[    1.832578] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
[    1.832595] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.832607] usb 1-1.2: Product: USB 2.0 Hub [MTT]
[    1.834428] hub 1-1.2:1.0: USB hub found
[    1.834538] hub 1-1.2:1.0: 7 ports detected
[    1.889744] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    1.889766] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    1.931699] usb 1-1.1.1: new full-speed USB device number 5 using xhci_hcd
[    2.086828] usb 1-1.1.1: New USB device found, idVendor=04e2, idProduct=1414, bcdDevice= 0.03
[    2.086843] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.181683] usb 1-1.3: new high-speed USB device number 6 using xhci_hcd
[    2.230093] random: systemd: uninitialized urandom read (16 bytes read)
[    2.238677] random: systemd: uninitialized urandom read (16 bytes read)
[    2.239379] systemd[1]: Listening on Journal Socket.
[    2.263371] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    2.263534] random: systemd: uninitialized urandom read (16 bytes read)
[    2.272326] systemd[1]: Starting Set the console keyboard layout...
[    2.273229] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    2.312546] usb 1-1.3: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
[    2.312563] usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.312576] usb 1-1.3: Product: USB 2.0 Hub [MTT]
[    2.314836] hub 1-1.3:1.0: USB hub found
[    2.315015] hub 1-1.3:1.0: 7 ports detected
[    2.411746] usb 1-1.2.1: new full-speed USB device number 7 using xhci_hcd
[    2.462038] i2c /dev entries driver
[    2.546941] usb 1-1.2.1: New USB device found, idVendor=04e2, idProduct=1414, bcdDevice= 0.03
[    2.546962] usb 1-1.2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.643973] usb 1-1.1.2: new full-speed USB device number 8 using xhci_hcd
[    2.724044] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
[    2.778831] usb 1-1.1.2: New USB device found, idVendor=04e2, idProduct=1414, bcdDevice= 0.03
[    2.778848] usb 1-1.1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.851154] systemd-journald[110]: Received request to flush runtime journal from PID 1
[    2.871700] usb 1-1.4: new high-speed USB device number 9 using xhci_hcd
[    3.003256] usb 1-1.4: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
[    3.003273] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.003286] usb 1-1.4: Product: USB 2.0 Hub [MTT]
[    3.005441] hub 1-1.4:1.0: USB hub found
[    3.005552] hub 1-1.4:1.0: 7 ports detected
[    3.111682] usb 1-1.3.1: new full-speed USB device number 10 using xhci_hcd
[    3.514635] cdc_acm 1-1.1.1:1.0: ttyACM0: USB ACM device
[    3.794905] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.841736] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[    3.847861] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.885848] brcmfmac: F1 signature read @0x18000000=0x15264345
[    3.891907] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    3.892306] usbcore: registered new interface driver brcmfmac
[    4.061990] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[    4.111060] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    4.124005] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: May  2 2019 02:46:17 version 7.45.189 (r714228 CY) FWID 01-e1db26e2
[    4.281703] usb 1-1.3.1: device not accepting address 10, error -22
[    4.442105] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    4.446236] bcm2835_audio soc:audio: card created with 8 channels
[    4.834538] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[    4.834634] vc4-drm soc:gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    4.835123] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[    4.835134] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.835143] [drm] No driver support for vblank timestamp query.
[    4.835152] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[    4.871706] usb 1-1.2.2: new full-speed USB device number 11 using xhci_hcd
[    5.032769] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1
[    5.472182] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[    5.536915] cdc_acm 1-1.1.1:1.2: ttyACM1: USB ACM device
[    5.691972] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[    5.706626] cdc_acm 1-1.1.1:1.4: ttyACM2: USB ACM device
[    5.842613] random: crng init done
[    5.842628] random: 7 urandom warning(s) missed due to ratelimiting
[    5.911692] usb 1-1.2.2: device not accepting address 11, error -22
[    5.920171] cdc_acm 1-1.1.1:1.6: ttyACM3: USB ACM device
[    6.095774] uart-pl011 fe201000.serial: no DMA platform data
[    6.260064] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    6.701707] usb 1-1.1.3: new full-speed USB device number 12 using xhci_hcd
[    6.996817] 8021q: 802.1Q VLAN Support v1.8
[    7.082233] cdc_acm 1-1.2.1:1.0: ttyACM4: USB ACM device
[    7.792098] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[    7.821115] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    7.821124] brcmfmac: power management disabled
[    7.864504] cdc_acm 1-1.2.1:1.2: ttyACM5: USB ACM device
[    8.011919] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[    8.123160] cdc_acm 1-1.2.1:1.4: ttyACM6: USB ACM device
[    8.231675] usb 1-1.1.3: device not accepting address 12, error -22
[    8.941662] usb 1-1.4.1: new full-speed USB device number 13 using xhci_hcd
[    9.040240] cdc_acm 1-1.2.1:1.6: ttyACM7: USB ACM device
[    9.312287] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    9.522123] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[    9.741898] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[    9.764550] cdc_acm 1-1.1.2:1.0: ttyACM8: USB ACM device
[    9.961644] usb 1-1.4.1: device not accepting address 13, error -22
[    9.964731] cdc_acm 1-1.1.2:1.2: ttyACM9: USB ACM device
[   10.391648] usb 1-1.3.1: new full-speed USB device number 14 using xhci_hcd
[   11.166431] cdc_acm 1-1.1.2:1.4: ttyACM10: USB ACM device
[   11.532193] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   11.614360] cdc_acm 1-1.1.2:1.6: ttyACM11: USB ACM device
[   11.751826] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   11.868091] usbcore: registered new interface driver cdc_acm
[   11.868097] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   11.971681] usb 1-1.3.1: device not accepting address 14, error -22
[   12.020985] usb 1-1.3-port1: attempt power cycle
[   12.541642] usb 1-1.2.2: new full-speed USB device number 15 using xhci_hcd
[   13.096110] Bluetooth: Core ver 2.22
[   13.096181] NET: Registered protocol family 31
[   13.096191] Bluetooth: HCI device and connection manager initialized
[   13.096211] Bluetooth: HCI socket layer initialized
[   13.096226] Bluetooth: L2CAP socket layer initialized
[   13.096269] Bluetooth: SCO socket layer initialized
[   13.118874] Bluetooth: HCI UART driver ver 2.3
[   13.118889] Bluetooth: HCI UART protocol H4 registered
[   13.118989] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   13.123037] Bluetooth: HCI UART protocol Broadcom registered
[   13.242121] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   13.355713] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.355719] Bluetooth: BNEP filters: protocol multicast
[   13.355729] Bluetooth: BNEP socket layer initialized
[   13.396718] Bluetooth: RFCOMM TTY layer initialized
[   13.396738] Bluetooth: RFCOMM socket layer initialized
[   13.396753] Bluetooth: RFCOMM ver 1.11
[   13.461770] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   13.681651] usb 1-1.2.2: device not accepting address 15, error -22
[   13.744682] usb 1-1.2-port2: attempt power cycle
[   14.031687] usb 1-1.1.3: new full-speed USB device number 16 using xhci_hcd
[   14.662115] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   14.881816] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   15.101671] usb 1-1.1.3: device not accepting address 16, error -22
[   15.179018] usb 1-1.1-port3: attempt power cycle
[   15.581732] usb 1-1.4.1: new full-speed USB device number 17 using xhci_hcd
[   16.432137] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   16.651840] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   16.871682] usb 1-1.4.1: device not accepting address 17, error -22
[   16.995801] usb 1-1.4-port1: attempt power cycle
[   18.061680] usb 1-1.3.1: new full-speed USB device number 18 using xhci_hcd
[   18.061860] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   18.281850] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   18.501687] usb 1-1.3.1: device not accepting address 18, error -22
[   19.581676] usb 1-1.2.2: new full-speed USB device number 19 using xhci_hcd
[   19.581849] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   19.801833] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   20.021685] usb 1-1.2.2: device not accepting address 19, error -22
[   20.801681] usb 1-1.1.3: new full-speed USB device number 20 using xhci_hcd
[   20.801851] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   21.021836] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   21.241678] usb 1-1.1.3: device not accepting address 20, error -22
[   22.221681] usb 1-1.4.1: new full-speed USB device number 21 using xhci_hcd
[   22.221853] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   22.441826] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   22.661688] usb 1-1.4.1: device not accepting address 21, error -22
[   23.031681] usb 1-1.3.1: new full-speed USB device number 22 using xhci_hcd
[   23.031851] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   23.251810] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   23.471687] usb 1-1.3.1: device not accepting address 22, error -22
[   23.560749] usb 1-1.3-port1: unable to enumerate USB device
[   24.131678] usb 1-1.2.2: new full-speed USB device number 23 using xhci_hcd
[   24.131853] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   24.351823] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   24.571681] usb 1-1.2.2: device not accepting address 23, error -22
[   24.694914] usb 1-1.2-port2: unable to enumerate USB device
[   25.311675] usb 1-1.1.3: new full-speed USB device number 24 using xhci_hcd
[   25.311849] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   25.531829] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   25.751685] usb 1-1.1.3: device not accepting address 24, error -22
[   25.793061] usb 1-1.1-port3: unable to enumerate USB device
[   26.321683] usb 1-1.4.1: new full-speed USB device number 25 using xhci_hcd
[   26.321855] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   26.541828] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   26.761685] usb 1-1.4.1: device not accepting address 25, error -22
[   26.826711] usb 1-1.4-port1: unable to enumerate USB device
[   27.751675] usb 1-1.3.2: new full-speed USB device number 26 using xhci_hcd
[   28.552108] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   28.771831] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   28.991689] usb 1-1.3.2: device not accepting address 26, error -22
[   29.881681] usb 1-1.2.3: new full-speed USB device number 27 using xhci_hcd
[   30.672112] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   30.891818] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   31.111683] usb 1-1.2.3: device not accepting address 27, error -22
[   31.581675] usb 1-1.1.4: new full-speed USB device number 28 using xhci_hcd
[   32.242127] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   32.461824] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   32.681686] usb 1-1.1.4: device not accepting address 28, error -22
[   33.301680] usb 1-1.4.2: new full-speed USB device number 29 using xhci_hcd
[   34.092106] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   34.311820] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   34.531689] usb 1-1.4.2: device not accepting address 29, error -22
[   34.871681] usb 1-1.3.2: new full-speed USB device number 30 using xhci_hcd
[   35.522135] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   35.741808] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   35.961689] usb 1-1.3.2: device not accepting address 30, error -22
[   36.099582] usb 1-1.3-port2: attempt power cycle
[   36.531675] usb 1-1.2.3: new full-speed USB device number 31 using xhci_hcd
[   36.952111] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   37.171825] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   37.391676] usb 1-1.2.3: device not accepting address 31, error -22
[   37.401786] usb 1-1.2-port3: attempt power cycle
[   38.021677] usb 1-1.1.4: new full-speed USB device number 32 using xhci_hcd
[   39.332108] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   39.551833] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   39.771677] usb 1-1.1.4: device not accepting address 32, error -22
[   39.803595] usb 1-1.1-port4: attempt power cycle
[   40.131685] usb 1-1.4.2: new full-speed USB device number 33 using xhci_hcd
[   40.812119] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   41.031834] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   41.251678] usb 1-1.4.2: device not accepting address 33, error -22
[   41.330819] usb 1-1.4-port2: attempt power cycle
[   42.341681] usb 1-1.3.2: new full-speed USB device number 34 using xhci_hcd
[   42.341856] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   42.561821] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   42.781676] usb 1-1.3.2: device not accepting address 34, error -22
[   43.841684] usb 1-1.2.3: new full-speed USB device number 35 using xhci_hcd
[   43.841865] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   44.061849] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   44.281696] usb 1-1.2.3: device not accepting address 35, error -22
[   45.221682] usb 1-1.1.4: new full-speed USB device number 36 using xhci_hcd
[   45.221856] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   45.441837] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   45.661684] usb 1-1.1.4: device not accepting address 36, error -22
[   46.631682] usb 1-1.4.2: new full-speed USB device number 37 using xhci_hcd
[   46.631853] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   46.851812] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   47.071680] usb 1-1.4.2: device not accepting address 37, error -22
[   47.471694] usb 1-1.3.2: new full-speed USB device number 38 using xhci_hcd
[   47.471875] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   47.691823] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   47.911683] usb 1-1.3.2: device not accepting address 38, error -22
[   48.053300] usb 1-1.3-port2: unable to enumerate USB device
[   48.771685] usb 1-1.2.3: new full-speed USB device number 39 using xhci_hcd
[   48.771850] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   48.991818] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   49.211677] usb 1-1.2.3: device not accepting address 39, error -22
[   49.239966] usb 1-1.2-port3: unable to enumerate USB device
[   49.941683] usb 1-1.1.4: new full-speed USB device number 40 using xhci_hcd
[   49.941850] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   50.161810] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   50.381674] usb 1-1.1.4: device not accepting address 40, error -22
[   50.606673] usb 1-1.1-port4: unable to enumerate USB device
[   51.241679] usb 1-1.4.2: new full-speed USB device number 41 using xhci_hcd
[   51.241852] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   51.461817] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 12.
[   51.681682] usb 1-1.4.2: device not accepting address 41, error -22
[   51.859349] usb 1-1.4-port2: unable to enumerate USB device
[   52.361679] usb 1-1.3.3: new full-speed USB device number 42 using xhci_hcd
[   52.812113] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   53.031814] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   53.251680] usb 1-1.3.3: device not accepting address 42, error -22
[   53.811679] usb 1-1.2.4: new full-speed USB device number 43 using xhci_hcd
[   54.322103] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   54.541810] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   54.761681] usb 1-1.2.4: device not accepting address 43, error -22
[   55.301680] usb 1-1.4.3: new full-speed USB device number 44 using xhci_hcd
[   56.012115] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   56.231826] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   56.451678] usb 1-1.4.3: device not accepting address 44, error -22
[   57.021682] usb 1-1.3.3: new full-speed USB device number 45 using xhci_hcd
[   57.582105] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   57.801809] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   58.021681] usb 1-1.3.3: device not accepting address 45, error -22
[   58.157268] usb 1-1.3-port3: attempt power cycle
[   58.601656] usb 1-1.2.4: new full-speed USB device number 46 using xhci_hcd
[   59.222106] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   59.441821] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   59.661682] usb 1-1.2.4: device not accepting address 46, error -22
[   59.809001] usb 1-1.2-port4: attempt power cycle
[   60.371673] usb 1-1.4.3: new full-speed USB device number 47 using xhci_hcd
[   61.072109] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   61.291847] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   61.511677] usb 1-1.4.3: device not accepting address 47, error -22
[   61.642273] usb 1-1.4-port3: attempt power cycle
[   62.691680] usb 1-1.3.3: new full-speed USB device number 48 using xhci_hcd
[   62.691856] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   62.911824] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   63.131709] usb 1-1.3.3: device not accepting address 48, error -22
[   64.251647] usb 1-1.2.4: new full-speed USB device number 49 using xhci_hcd
[   64.251792] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   64.471764] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   64.691689] usb 1-1.2.4: device not accepting address 49, error -22
[   65.791680] usb 1-1.4.3: new full-speed USB device number 50 using xhci_hcd
[   65.791851] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   66.011809] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   66.231695] usb 1-1.4.3: device not accepting address 50, error -22
[   66.751684] usb 1-1.3.3: new full-speed USB device number 51 using xhci_hcd
[   66.751858] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   66.971811] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   67.191682] usb 1-1.3.3: device not accepting address 51, error -22
[   67.239580] usb 1-1.3-port3: unable to enumerate USB device
[   67.771684] usb 1-1.2.4: new full-speed USB device number 52 using xhci_hcd
[   67.771976] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   67.991819] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   68.211690] usb 1-1.2.4: device not accepting address 52, error -22
[   68.298745] usb 1-1.2-port4: unable to enumerate USB device
[   68.641596] usb 1-1.4.3: new full-speed USB device number 53 using xhci_hcd
[   68.641772] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   68.861708] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 11.
[   69.081493] usb 1-1.4.3: device not accepting address 53, error -22
[   69.120857] usb 1-1.4-port3: unable to enumerate USB device
[   69.701324] usb 1-1.3.4: new full-speed USB device number 54 using xhci_hcd
[   70.181642] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   70.401325] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   70.621095] usb 1-1.3.4: device not accepting address 54, error -22
[   71.340935] usb 1-1.4.4: new full-speed USB device number 55 using xhci_hcd
[   72.431133] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   72.650819] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   72.870634] usb 1-1.4.4: device not accepting address 55, error -22
[   73.230533] usb 1-1.3.4: new full-speed USB device number 56 using xhci_hcd
[   73.560901] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   73.780590] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   74.000379] usb 1-1.3.4: device not accepting address 56, error -22
[   74.086583] usb 1-1.3-port4: attempt power cycle
[   74.660260] usb 1-1.4.4: new full-speed USB device number 57 using xhci_hcd
[   75.190618] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   75.410304] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   75.630115] usb 1-1.4.4: device not accepting address 57, error -22
[   75.669309] usb 1-1.4-port4: attempt power cycle
[   76.399945] usb 1-1.3.4: new full-speed USB device number 58 using xhci_hcd
[   76.400119] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   76.620008] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   76.839857] usb 1-1.3.4: device not accepting address 58, error -22
[   77.649775] usb 1-1.4.4: new full-speed USB device number 59 using xhci_hcd
[   77.649948] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   77.869899] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 10.
[   78.089719] usb 1-1.4.4: device not accepting address 59, error -22
[   78.669635] usb 1-1.3.4: new full-speed USB device number 60 using xhci_hcd
[   78.669807] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   78.889748] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 9.
[   79.109555] usb 1-1.3.4: device not accepting address 60, error -22
[   79.202325] usb 1-1.3-port4: unable to enumerate USB device
[   79.585088] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x0000ffff
[   79.586571] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00000fff
[   79.587112] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x0000ffff
[   79.587599] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x0000ffff
[   79.602099] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[   79.604305] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[   79.604322] [vc_sm_connected_init]: start
[   79.605240] [vc_sm_connected_init]: installed successfully```

@P33M
Copy link
Contributor

P33M commented Oct 29, 2019

Interesting. The xhci controller is rejecting an ADDRESS_DEVICE command that assigns an Enabled device slot to a particular Device. The controller is erroring out with "device slot not enabled".

This is weird because the xhci specification requires the host software to retrieve a slot ID from the controller and enable it prior to assigning a device address to it. Linux does this, and we can infer that the first command succeeded (no error message for "enable context command"). So why is the second command failing?

@P33M
Copy link
Contributor

P33M commented Oct 29, 2019

What CDC devices are you using?

@P33M P33M added the Close within 30 days Issue will be closed within 30 days unless requested to stay open label Jan 14, 2020
@JamesH65
Copy link
Contributor

Closing due to lack of activity. Please request to be reopened if you feel this issue is still relevant.

@JesseMCFC
Copy link

Closing due to lack of activity. Please request to be reopened if you feel this issue is still relevant.

Please.

I am having about the same issue. Getting the following error with ‘dmesg’:

[ 808.960110] hub 1-1.4.7.7:1.0: USB hub found [ 808.960214] hub 1-1.4.7.7:1.0: 7 ports detected [ 809.270141] usb 1-1.4.7.7.1: new full-speed USB device number 74 using xhci_hcd [ 809.395200] usb 1-1.4.7.7.1: New USB device found, idVendor=04e2, idProduct=1414, bcdDevice= 0.03 [ 809.395214] usb 1-1.4.7.7.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 809.506135] usb 1-1.4.7.7.2: new full-speed USB device number 75 using xhci_hcd [ 809.631231] usb 1-1.4.7.7.2: New USB device found, idVendor=04e2, idProduct=1414, bcdDevice= 0.03 [ 809.631246] usb 1-1.4.7.7.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 809.633005] usb 1-1.4.7.7.2: Not enough bandwidth for new device state. [ 809.633872] usb 1-1.4.7.7.2: can't set config #1, error -28

And just like the original poster said, 36 are loaded fine but the other 28 are not working. Seems like the same issue.

@andriisemenov
Copy link

Facing the same issue. Any update?

@laf0rge
Copy link
Contributor

laf0rge commented Jan 7, 2022

I would also like to request re-opening this issue. XHCI-only controllersa are a nightmare for any but the most trivial USB use cases. They hide a lot of the important bits in proprietary firmware, and that firmware tends to be more buggy than the corresponding Linux kernel code for EHCI/OHCI/UICH (e.g. in terms of isochronous bandwidth allocation).

So any way how we can disable XHCI (and loose superspeed) while maintaining the much more flexible and interoperable EHCI linux kernel driver feature set would be a big improvement.

@P33M
Copy link
Contributor

P33M commented Jan 7, 2022

Your question doesn't make any sense. There are no EHCI interfaces on a Pi 4.

@laf0rge
Copy link
Contributor

laf0rge commented Jan 7, 2022

Your question doesn't make any sense. There are no EHCI interfaces on a Pi 4.

Ok, then the logical choice is to buy devices with actual EHCI controllers in them. At least there one is not subject to arbitrary bugs (which one cannot fix) like broken isochronous bandwidth computation, arbitrary limits on number of endpoints, devices, ...

@P33M
Copy link
Contributor

P33M commented Jan 7, 2022

I am willing to entertain arguments as to why EHCI (a hardware specification mandating a particular software interface) is better than XHCI (a hardware specification mandating another particular software interface) for the same underlying hardware implementation.

@laf0rge
Copy link
Contributor

laf0rge commented Feb 13, 2022

I am willing to entertain arguments as to why EHCI (a hardware specification mandating a particular software interface) is better than XHCI (a hardware specification mandating another particular software interface) for the same underlying hardware implementation.

Since you're asking: The problem is the level of interface combined with non-open-source bits: OHCI/UHCI/EHCI are closer to the hardware, while XHCI is at a higher level of abstraction, delegating more parts to the controller hard-wired logic or firmware.

There are bugs in XHCI controllers that we cannot fix due to those parts being in hardware/firmware (for example, miscalculating the available isochronous bandwidth). In OHCI/UHCI/EHCI those bugs don't exist, as those parts are done inside the kernel. And even if such bugs existed, they could be fixed by anyone by altering the Linux kernel source code.

@sanitariu
Copy link

I have similar problems and will change my PI4 for PI3 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close within 30 days Issue will be closed within 30 days unless requested to stay open
Projects
None yet
Development

No branches or pull requests

8 participants