Package Details: r8152-dkms 2.19.2-1

Git Clone URL: https://aur.archlinux.org/r8152-dkms.git (read-only, click to copy)
Package Base: r8152-dkms
Description: A kernel module for Realtek RTL8152/RTL8153/RTL8154/RTL8156 Based USB Ethernet Adapters
Upstream URL: http://www.realtek.com
Licenses: GPL-2.0-only
Conflicts: r8152
Submitter: crocowhile
Maintainer: wget (hcartiaux)
Last Packager: hcartiaux
Votes: 17
Popularity: 0.002021
First Submitted: 2016-09-17 11:34 (UTC)
Last Updated: 2025-03-11 22:25 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 Next › Last »

hcartiaux commented on 2025-03-11 22:59 (UTC)

@HurricanePootis: fixed

HurricanePootis commented on 2025-03-11 22:16 (UTC)

@wget @hcartiaux

diff --git a/PKGBUILD b/PKGBUILD
index 03c7861..d52a898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.19.2
 pkgrel=1
 pkgdesc="A kernel module for Realtek RTL8152/RTL8153/RTL8154/RTL8156 Based USB Ethernet Adapters"
 url="http://www.realtek.com"
-license=("GPL")
+license=("GPL-2.0-or-later")
 arch=('i686' 'x86_64')
 depends=('glibc' 'dkms')
 conflicts=("${_pkgbase}")

Please make the license() SPDX compliant.

hcartiaux commented on 2024-12-19 17:33 (UTC) (edited on 2024-12-19 17:34 (UTC) by hcartiaux)

@Andy123Andy1 On my system, the new module is installed in /lib/modules/<KERNEL VERSION>/updates/dkms/ and it gets loaded by default.

$ modinfo r8152
filename:       /lib/modules/6.12.4-arch1-1/updates/dkms/r8152.ko.zst
version:        v2.19.2 (2024/10/21)
license:        GPL
description:    Realtek RTL8152/RTL8153 Based USB Ethernet Adapters

$ sudo dmesg| grep -i r8152
...
[    8.240510] r8152 6-2.4:1.0 eth0: v2.19.2 (2024/10/21)
...

I admit, it has always worked like that on my system and I've never spent time on understanding modules loading priorities...

arti commented on 2023-12-27 14:32 (UTC)

Linux kernel since v6.3 includes a fix for always loading the mainline r8152 driver that performs much better than the default cdc_ncm driver. For my UGREE 2.5G ethernet dongle the mainline driver seems to now work fine and I no longer need to use this vendor dkms package.

Andy123Andy1 commented on 2023-11-01 14:10 (UTC)

How can I ensure that this driver is also loaded? And not the kernel driver?

Pietro_Pizzi commented on 2023-02-10 16:09 (UTC)

Thanks!

In the meantime I have figured out with "modinfo r8152" that there is a driver in the kernel and it has the "firmware: rtl_nic/rtl8156b-2.fw".

Am I right that this means that I don't need the DKMS driver and that it is only available for custom kernels that doesn't include the official diver?

hcartiaux commented on 2023-02-10 16:02 (UTC)

According to the realtek website[0], yes:

  • RTL8156 / RTL8156B(S)(G)
  • RTL8153 / RTL8153B
  • RTL8154 / RTL8154B
  • RTL8152B

[0] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software

Pietro_Pizzi commented on 2023-02-10 15:42 (UTC)

Q: Does it work for the RTL8156B Revision?

hcartiaux commented on 2022-09-14 13:32 (UTC)

Updated, works on my machine (c)

hcartiaux commented on 2022-09-14 12:52 (UTC)

@bjin, this is not upstream, this is our repository to keep track of the sources for this package, because the sources are not available directly from realtek (it is accessible behind a public portal).