Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installing Debian11 on Lenovo P1 Gen5

136 views
Skip to first unread message

Todor Petkov

unread,
Feb 6, 2023, 4:50:07 AM2/6/23
to
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

Charles Curley

unread,
Feb 6, 2023, 9:20:06 AM2/6/23
to
On Mon, 6 Feb 2023 11:43:17 +0200
Todor Petkov <petkov...@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/

Todor Petkov

unread,
Feb 6, 2023, 6:40:05 PM2/6/23
to
On Mon, Feb 6, 2023 at 4:13 PM Charles Curley
<charle...@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

didier gaumet

unread,
Feb 7, 2023, 3:20:06 AM2/7/23
to
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

Todor Petkov

unread,
Feb 7, 2023, 4:30:07 PM2/7/23
to
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.
0 new messages