Skip to content

USB device disconnects after a few tries when connecting an Android phone to built-in USB ports #425

@kaazoo

Description

@kaazoo

When connecting Android phone to built-in USB ports:

Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 3
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000808000000010
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: irq 130, io mem 0x702280000
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 4
Nov 17 08:50:03 where kernel: xhci-hcd xhci-hcd.4.auto: Host supports USB 3.1 Enhanced SuperSpeed
Nov 17 08:50:03 where kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.16
Nov 17 08:50:03 where kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Nov 17 08:50:03 where kernel: usb usb3: Product: xHCI Host Controller
Nov 17 08:50:03 where kernel: usb usb3: Manufacturer: Linux 6.16.0-1002-asahi-arm xhci-hcd
Nov 17 08:50:03 where kernel: usb usb3: SerialNumber: xhci-hcd.4.auto
Nov 17 08:50:03 where kernel: hub 3-0:1.0: USB hub found
Nov 17 08:50:03 where kernel: hub 3-0:1.0: 1 port detected
Nov 17 08:50:03 where kernel: usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Nov 17 08:50:03 where kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.16
Nov 17 08:50:03 where kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Nov 17 08:50:03 where kernel: usb usb4: Product: xHCI Host Controller
Nov 17 08:50:03 where kernel: usb usb4: Manufacturer: Linux 6.16.0-1002-asahi-arm xhci-hcd
Nov 17 08:50:03 where kernel: usb usb4: SerialNumber: xhci-hcd.4.auto
Nov 17 08:50:03 where kernel: hub 4-0:1.0: USB hub found
Nov 17 08:50:03 where kernel: hub 4-0:1.0: 1 port detected
Nov 17 08:50:03 where kernel: usb 3-1: new high-speed USB device number 2 using xhci-hcd
Nov 17 08:50:03 where kernel: usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee2, bcdDevice= 6.01
Nov 17 08:50:03 where kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 17 08:50:03 where kernel: usb 3-1: Product: Fairphone 6
Nov 17 08:50:03 where kernel: usb 3-1: Manufacturer: Fairphone
Nov 17 08:50:03 where kernel: usb 3-1: SerialNumber: 935493d7
Nov 17 08:50:04 where kernel: usb 3-1: USB disconnect, device number 2
Nov 17 08:50:06 where kernel: usb 3-1: new high-speed USB device number 3 using xhci-hcd
Nov 17 08:50:06 where kernel: usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee2, bcdDevice= 6.01
Nov 17 08:50:06 where kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 17 08:50:06 where kernel: usb 3-1: Product: Fairphone 6
Nov 17 08:50:06 where kernel: usb 3-1: Manufacturer: Fairphone
Nov 17 08:50:06 where kernel: usb 3-1: SerialNumber: 935493d7
Nov 17 08:50:06 where kernel: usb 3-1: USB disconnect, device number 3
Nov 17 08:50:08 where kernel: usb 3-1: new high-speed USB device number 4 using xhci-hcd
Nov 17 08:50:08 where kernel: usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee2, bcdDevice= 6.01
Nov 17 08:50:08 where kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 17 08:50:08 where kernel: usb 3-1: Product: Fairphone 6
Nov 17 08:50:08 where kernel: usb 3-1: Manufacturer: Fairphone
Nov 17 08:50:08 where kernel: usb 3-1: SerialNumber: 935493d7
Nov 17 08:50:09 where kernel: usb 3-1: USB disconnect, device number 4
Nov 17 08:50:10 where kernel: usb 3-1: new high-speed USB device number 5 using xhci-hcd
Nov 17 08:50:10 where kernel: usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee2, bcdDevice= 6.01
Nov 17 08:50:10 where kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 17 08:50:10 where kernel: usb 3-1: Product: Fairphone 6
Nov 17 08:50:10 where kernel: usb 3-1: Manufacturer: Fairphone
Nov 17 08:50:10 where kernel: usb 3-1: SerialNumber: 935493d7
Nov 17 08:50:11 where kernel: usb 3-1: USB disconnect, device number 5

USB device disconnects after a few tries when connecting an Android phone to built-in USB ports. You can see the device number being incremented each time. It seems to give up after the 4th time, 8 seconds after first connect.

When connecting the same Android phone through a Dell Universal Dock D6000 the device stays connected:

Nov 17 09:02:08 where kernel: usb 1-1.2.1: new high-speed USB device number 12 using xhci-hcd
Nov 17 09:02:08 where kernel: usb 1-1.2.1: New USB device found, idVendor=18d1, idProduct=4ee2, bcdDevice= 6.01
Nov 17 09:02:08 where kernel: usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 17 09:02:08 where kernel: usb 1-1.2.1: Product: Fairphone 6
Nov 17 09:02:08 where kernel: usb 1-1.2.1: Manufacturer: Fairphone
Nov 17 09:02:08 where kernel: usb 1-1.2.1: SerialNumber: 935493d7

Hardware: Apple MacBook Pro (14-inch, M2 Pro, 2023)
Android device: Fairphone 6
OS: Ubuntu Asahi 24.04, kernel 6.16.0-1002-asahi-arm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions