• Installing Debian11 on Lenovo P1 Gen5

    From Todor Petkov@21:1/5 to All on Mon Feb 6 10:50:02 2023
    Hello,

    I am installing Debian 11 (firmware-11.6.0-amd64-DVD-1.iso ) on Lenovo
    P1 Gen5 laptop, using Lemorele USB-C Hub HDMI 4K@60Hz - USB-C Docking
    Station. This station has Ethernet RJ45 port with RTL8153 chipset
    (according to lsusb), that's using Realtek r8152 driver.
    During installation Ethernet card is recognized, it gets IP address,
    etc, but once installation is done and I boot into Linux GUI, it does
    not show any network adapter. I tried loading r8152/cdc_ether/usbnet
    drivers, but to no avail. If I connect the docking station via USB-C
    to USB-A adapter on USB-A port, Ethernet card is recognized after
    installation. At the same time, the docking station works for other
    activities, like USB drives, monitor/keyboard on USB-A ports, etc.
    Also, I tried it on another laptop (Dell Latitude 5521) on USB-C port
    and it's working as expected. Once I managed to install backports
    kernel (either via USB-A adapter or another USB Ethernet card), the
    docking station starts working on USB-C port.
    Can anyone give a clue how to make the Ethernet card work on USB-C
    without installing the backports kernel? It will be installed
    eventually, but before this I need network somehow to install and
    since the WiFi is not working even with backports kernel (that's
    another story), the only network card that can work is the Realtek
    one.

    Regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Todor Petkov on Mon Feb 6 15:20:01 2023
    On Mon, 6 Feb 2023 11:43:17 +0200
    Todor Petkov <petkovptodor@gmail.com> wrote:

    This station has Ethernet RJ45 port with RTL8153 chipset
    (according to lsusb), that's using Realtek r8152 driver.

    Is the firmware-realtek package installed?

    Please in future don't tell us what you think lsusb said, show us the
    actual output from lsusb. We may notice things from that output you
    don't.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Todor Petkov@21:1/5 to charlescurley@charlescurley.com on Tue Feb 7 00:40:01 2023
    On Mon, Feb 6, 2023 at 4:13 PM Charles Curley
    <charlescurley@charlescurley.com> wrote:
    Is the firmware-realtek package installed?

    Please in future don't tell us what you think lsusb said, show us the
    actual output from lsusb. We may notice things from that output you
    don't.

    firmware-realtek package is installed, here is what is shown with
    original kernel and with backports one:

    Original kernel (uname -a):
    Linux laptop 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21)
    x86_64 GNU/Linux

    dpkg -l | grep -- firmware
    firmware packages:
    ii firmware-linux-free 20200122-1
    all Binary firmware for various drivers in the Linux
    kernel
    ii firmware-misc-nonfree 20210315-3
    all Binary firmware for various drivers in the Linux
    kernel
    ii firmware-realtek 20210315-3
    all Binary firmware for Realtek wired/wifi/BT adapters

    lsusb:
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 04f2:b74f Chicony Electronics Co., Ltd Integrated Camera Bus 001 Device 003: ID 06cb:00f9 Synaptics, Inc.
    Bus 001 Device 007: ID 8087:0033 Intel Corp.
    Bus 001 Device 010: ID 05e3:0608 Genesys Logic, Inc. Hub
    Bus 001 Device 009: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


    Backports kernel:
    Linux laptop 6.0.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1~bpo11+1 (2022-12-19) x86_64 GNU/Linux

    firmware packages:
    ii firmware-linux-free 20200122-1
    all Binary firmware for various drivers in the Linux
    kernel
    ii firmware-misc-nonfree 20210818-1~bpo11+1
    all Binary firmware for various drivers in the Linux
    kernel
    ii firmware-realtek 20210818-1~bpo11+1
    all Binary firmware for Realtek wired/wifi/BT adapters

    lsusb:
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 04f2:b74f Chicony Electronics Co., Ltd Integrated Camera Bus 001 Device 003: ID 06cb:00f9 Synaptics, Inc.
    Bus 001 Device 006: ID 8087:0033 Intel Corp.
    Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
    Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153
    Gigabit Ethernet Adapter
    Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    I noticed docking does not recognize USB Flash drives with the
    original kernel, but external keyboard/mouse are working, as well
    USB-A Ethernet card.

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From didier gaumet@21:1/5 to All on Tue Feb 7 09:20:01 2023
    Le 07/02/2023 à 00:31, Todor Petkov a écrit :
    [...]
    dpkg -l | grep -- firmware
    [...]

    Hello,

    I would suggest you to install firmware-linux, it would install (as dependencies) firmware-linux-nonfree and AMD/Intel microcodes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Todor Petkov@21:1/5 to didier.gaumet@gmail.com on Tue Feb 7 22:30:01 2023
    I have installed the microcode package, but to no avail. What bothers
    me is that the card is detected during setup, but then it's not. I
    will try some other steps and see what will come out.

    Thanks.

    On Tue, Feb 7, 2023 at 10:19 AM didier gaumet <didier.gaumet@gmail.com> wrote:

    Le 07/02/2023 à 00:31, Todor Petkov a écrit :
    [...]
    dpkg -l | grep -- firmware
    [...]

    Hello,

    I would suggest you to install firmware-linux, it would install (as dependencies) firmware-linux-nonfree and AMD/Intel microcodes


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)