ethernet connection not activated when hoyoki dock is connected
Kernel version: 6.3.0-1-librem5 (PureOS Byzantium)
The ethernet connection is not activated when the hoyoki dock is connected.
Here's a dmesg of the dock being connected:
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: irq 208, io mem 0x38100000
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[Fr Aug 18 12:29:52 2023] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fr Aug 18 12:29:52 2023] usb usb3: Product: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] usb usb3: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
[Fr Aug 18 12:29:52 2023] usb usb3: SerialNumber: xhci-hcd.5.auto
[Fr Aug 18 12:29:52 2023] hub 3-0:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 3-0:1.0: 1 port detected
[Fr Aug 18 12:29:52 2023] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[Fr Aug 18 12:29:52 2023] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
[Fr Aug 18 12:29:52 2023] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fr Aug 18 12:29:52 2023] usb usb4: Product: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] usb usb4: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
[Fr Aug 18 12:29:52 2023] usb usb4: SerialNumber: xhci-hcd.5.auto
[Fr Aug 18 12:29:52 2023] hub 4-0:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 4-0:1.0: 1 port detected
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] cdns-mhdp-imx 32c00000.hdmi: Wait PLL Ack failed
[Fr Aug 18 12:29:52 2023] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[Fr Aug 18 12:29:52 2023] usb 3-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 7.04
[Fr Aug 18 12:29:52 2023] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fr Aug 18 12:29:52 2023] usb 3-1: Product: USB2.0 Hub
[Fr Aug 18 12:29:52 2023] usb 3-1: Manufacturer: VIA Labs, Inc.
[Fr Aug 18 12:29:52 2023] usb 3-1: SerialNumber: 000000001
[Fr Aug 18 12:29:52 2023] usb 3-1: Device is not authorized for usage
[Fr Aug 18 12:29:52 2023] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[Fr Aug 18 12:29:52 2023] hub 3-1:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 3-1:1.0: 4 ports detected
[Fr Aug 18 12:29:52 2023] usb 4-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 7.04
[Fr Aug 18 12:29:52 2023] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fr Aug 18 12:29:52 2023] usb 4-1: Product: USB3.1 Hub
[Fr Aug 18 12:29:52 2023] usb 4-1: Manufacturer: VIA Labs, Inc.
[Fr Aug 18 12:29:52 2023] usb 4-1: SerialNumber: 000000001
[Fr Aug 18 12:29:52 2023] usb 4-1: Device is not authorized for usage
[Fr Aug 18 12:29:53 2023] usb 3-1: authorized to connect
[Fr Aug 18 12:29:53 2023] hub 4-1:1.0: USB hub found
[Fr Aug 18 12:29:53 2023] hub 4-1:1.0: 4 ports detected
[Fr Aug 18 12:29:53 2023] usb 4-1: authorized to connect
[Fr Aug 18 12:29:53 2023] usb 3-1.4: new high-speed USB device number 3 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 3-1.4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[Fr Aug 18 12:29:54 2023] usb 3-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Fr Aug 18 12:29:54 2023] usb 3-1.4: Product: USB 2.0 Hub
[Fr Aug 18 12:29:54 2023] usb 3-1.4: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:54 2023] hub 3-1.4:1.0: USB hub found
[Fr Aug 18 12:29:54 2023] hub 3-1.4:1.0: 4 ports detected
[Fr Aug 18 12:29:54 2023] usb 3-1.4: authorized to connect
[Fr Aug 18 12:29:54 2023] usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 4-1.1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[Fr Aug 18 12:29:54 2023] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[Fr Aug 18 12:29:54 2023] usb 4-1.1: Product: USB 10/100/1000 LAN
[Fr Aug 18 12:29:54 2023] usb 4-1.1: Manufacturer: Realtek
[Fr Aug 18 12:29:54 2023] usb 4-1.1: SerialNumber: 000001000000
[Fr Aug 18 12:29:54 2023] r8152-cfgselector 4-1.1: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:54 2023] r8152-cfgselector 4-1.1: authorized to connect
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: new low-speed USB device number 4 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: New USB device found, idVendor=099a, idProduct=7202, bcdDevice= 0.06
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: Product: Wireless Keyboard/Mouse
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] input: Wireless Keyboard/Mouse as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.0/0003:099A:7202.0015/input/input49
[Fr Aug 18 12:29:55 2023] hid-generic 0003:099A:7202.0015: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-xhci-hcd.5.auto-1.4.1/input0
[Fr Aug 18 12:29:55 2023] input: Wireless Keyboard/Mouse as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.1/0003:099A:7202.0016/input/input50
[Fr Aug 18 12:29:55 2023] input: Wireless Keyboard/Mouse Consumer Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.1/0003:099A:7202.0016/input/input51
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: new high-speed USB device number 5 using xhci-hcd
[Fr Aug 18 12:29:55 2023] hid-generic 0003:099A:7202.0016: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-xhci-hcd.5.auto-1.4.1/input1
[Fr Aug 18 12:29:55 2023] usb 3-1.4.1: authorized to connect
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: New USB device found, idVendor=05e3, idProduct=0751, bcdDevice=14.04
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Product: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Manufacturer: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Device is not authorized for usage
[Fr Aug 18 12:29:55 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:55 2023] usb-storage 3-1.4.3:1.0: USB Mass Storage device detected
[Fr Aug 18 12:29:55 2023] scsi host1: usb-storage 3-1.4.3:1.0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: authorized to connect
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: new high-speed USB device number 6 using xhci-hcd
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: New USB device found, idVendor=05e3, idProduct=0751, bcdDevice=14.04
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Product: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Manufacturer: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Device is not authorized for usage
[Fr Aug 18 12:29:55 2023] usb-storage 3-1.4.4:1.0: USB Mass Storage device detected
[Fr Aug 18 12:29:55 2023] scsi host2: usb-storage 3-1.4.4:1.0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: authorized to connect
[Fr Aug 18 12:29:56 2023] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 1404 PQ: 0 ANSI: 6
[Fr Aug 18 12:29:56 2023] sd 1:0:0:0: [sdb] Media removed, stopped polling
[Fr Aug 18 12:29:56 2023] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[Fr Aug 18 12:29:56 2023] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 1404 PQ: 0 ANSI: 6
[Fr Aug 18 12:29:57 2023] sd 2:0:0:0: [sdc] Media removed, stopped polling
[Fr Aug 18 12:29:57 2023] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[Fr Aug 18 12:30:35 2023] edt_ft5x06 2-0038: Unable to fetch data, error: -6
While the dock is still connected the ethernet adapter can be resurrected by unloading and reloading its kernel module(s):
root@pureos:~# dmesg -W -T &
root@pureos:~# rmmod r8153_ecm r8152
[Fr Aug 18 12:38:18 2023] usbcore: deregistering interface driver r8153_ecm
[Fr Aug 18 12:38:18 2023] usbcore: deregistering interface driver r8152
[Fr Aug 18 12:38:18 2023] usbcore: deregistering device driver r8152-cfgselector
root@pureos:~# modprobe r8152
[Fr Aug 18 12:38:40 2023] usbcore: registered new device driver r8152-cfgselector
[Fr Aug 18 12:38:40 2023] r8152-cfgselector 4-1.1: reset SuperSpeed USB device number 3 using xhci-hcd
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0: Direct firmware load for rtl_nic/rtl8153a-3.fw failed with error -2
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0: unable to load firmware patch rtl_nic/rtl8153a-3.fw (-2)
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0 eth0: v1.12.13
[Fr Aug 18 12:38:40 2023] usbcore: registered new interface driver r8152
root@pureos:~# [Fr Aug 18 12:38:40 2023] usbcore: registered new interface driver r8153_ecm
[Fr Aug 18 12:38:41 2023] r8152 4-1.1:1.0 enxXXXXXXXXXX: renamed from eth0