Skip to content
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

Lenovo usb-c mini dock ethernet port not working #1997

Open
citral23 opened this issue Dec 19, 2024 · 0 comments
Open

Lenovo usb-c mini dock ethernet port not working #1997

citral23 opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@citral23
Copy link
Contributor

Describe the bug

I have a lenovo usb-c mini dock (type 40AU) that works fine for the ports, charging and display out. however the cdc_ether driver fails to load so the network card is not seen by the OS

In dmesg we can see the driver trying to load, but failing quickly.

[ 1734.308505] usb 3-1: New USB device found, idVendor=17ef, idProduct=3095, bcdDevice= 5.24
[ 1734.308516] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1734.308522] usb 3-1: Product: Lenovo USB-C Mini Dock 
[ 1734.308528] usb 3-1: Manufacturer: VIA Labs, Inc.         
[ 1734.348848] hub 3-1:1.0: USB hub found
[ 1734.349234] hub 3-1:1.0: 5 ports detected
[ 1734.445006] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[ 1734.539864] usb 4-1: New USB device found, idVendor=17ef, idProduct=3094, bcdDevice= 5.24
[ 1734.539872] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1734.539876] usb 4-1: Product: Lenovo USB-C Mini Dock 
[ 1734.539879] usb 4-1: Manufacturer: VIA Labs, Inc.         
[ 1734.572744] hub 4-1:1.0: USB hub found
[ 1734.573069] hub 4-1:1.0: 4 ports detected
[ 1735.134417] usb 3-1.4: new high-speed USB device number 5 using xhci_hcd
[ 1735.278466] usb 3-1.4: New USB device found, idVendor=17ef, idProduct=3097, bcdDevice= 4.b3
[ 1735.278472] usb 3-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1735.278475] usb 3-1.4: Product: Lenovo USB-C Mini Dock 
[ 1735.278477] usb 3-1.4: Manufacturer: VIA Labs, Inc.         
[ 1735.278480] usb 3-1.4: SerialNumber: 00000000000000000000001
[ 1735.340437] hub 3-1.4:1.0: USB hub found
[ 1735.340837] hub 3-1.4:1.0: 5 ports detected
[ 1735.372347] usb 4-1.1: new SuperSpeed USB device number 3 using xhci_hcd
[ 1735.384393] usb 4-1.1: New USB device found, idVendor=17ef, idProduct=3098, bcdDevice=31.03
[ 1735.384398] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1735.384400] usb 4-1.1: Product: Lenovo Mini Dock
[ 1735.384402] usb 4-1.1: Manufacturer: Lenovo
[ 1735.384405] usb 4-1.1: SerialNumber: 301524896
[ 1735.437141] cdc_ether 4-1.1:2.0 eth0: register 'cdc_ether' at usb-0000:03:00.4-1.1, CDC Ethernet Device, 60:6d:3c:52:48:96
[ 1735.439014] cdc_ether 4-1.1:2.0 eth0: unregister 'cdc_ether' usb-0000:03:00.4-1.1, CDC Ethernet Device
christophe@yoga:~$ sudo lshw -c Network
  *-network                 
       description: Wireless interface
       product: Wi-Fi 6E(802.11ax) AX210/AX1675* 2x2 [Typhoon Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: wlp1s0
       version: 1a
       serial: 0a:07:4a:af:9d:46
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.11.10-304.bazzite.fc41.x86_64 firmware=89.6b44fa0b.0 ty-a0-gf-a0-89.uc ip=192.168.1.73 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:78 memory:d0500000-d0503fff

journalctl:

Dec 19 22:51:58 yoga kernel: cdc_ether 4-1.1:2.0 eth0: register 'cdc_ether' at usb-0000:03:00.4-1.1, CDC Ethernet Device, 60:6d:3c:52:48:96
Dec 19 22:51:58 yoga kernel: cdc_ether 4-1.1:2.0 eth0: unregister 'cdc_ether' usb-0000:03:00.4-1.1, CDC Ethernet Device
Dec 19 22:51:58 yoga mtp-probe[31855]: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1/4-1.1"
Dec 19 22:51:57 yoga NetworkManager[1393]: <info>  [1734645117.9734] device (eth0): driver 'cdc_ether' does not support carrier detection.
Dec 19 22:51:57 yoga NetworkManager[1393]: <info>  [1734645117.9737] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/7)
Dec 19 22:51:58 yoga mtp-probe[31855]: bus: 4, device: 5 was not an MTP device
Dec 19 22:51:58 yoga mtp-probe[31860]: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1/4-1.1"
Dec 19 22:51:58 yoga mtp-probe[31860]: bus: 4, device: 5 was not an MTP device
Dec 19 22:51:58 yoga ModemManager[1340]: <msg> [base-manager] port eth0 released by device '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1/4-1.1'
Dec 19 22:51:58 yoga ModemManager[1340]: <msg> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:08.1/0000:03:00.4/usb4/4-1/4-1.1': Operation was cancelled

The ethernet interface is available in the bazzite Anaconda installer, and also in regular Fedora, on 2 different laptops.

What did you expect to happen?

I expect the driver to load and ethernet to be available.

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:469e773118b5c357113e9ac77a766f293ca581f44c61cddf40e9bd1917e3d4ca
                  Version: 41.20241216 (2024-12-16T04:57:45Z)
          LayeredPackages: edk2-ovmf libvirt qemu virt-manager

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:469e773118b5c357113e9ac77a766f293ca581f44c61cddf40e9bd1917e3d4ca
                  Version: 41.20241216 (2024-12-16T04:57:45Z)

Hardware

No response

Extra information or context

No response

@dosubot dosubot bot added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant