Package Details: r8152-dkms 2.17.1.20240405-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
Conflicts: r8152
Submitter: crocowhile
Maintainer: wget (hcartiaux)
Last Packager: hcartiaux
Votes: 16
Popularity: 0.77
First Submitted: 2016-09-17 11:34 (UTC)
Last Updated: 2024-04-05 10:14 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 Next › Last »

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).

bjin commented on 2022-08-28 16:32 (UTC)

same error for 5.19

upstream bug report: https://github.com/wget/realtek-r8152-linux/issues/22

ledarium commented on 2022-08-01 12:46 (UTC)

Unable to install on 5.19

:: Running post-transaction hooks...
(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Install DKMS modules
==> dkms install --no-depmod r8152/2.16.1 -k 5.19.0-1-MANJARO
Error! Bad return status for module build on kernel: 5.19.0-1-MANJARO (x86_64)
Consult /var/lib/dkms/r8152/2.16.1/build/make.log for more information.
==> WARNING: `dkms install --no-depmod r8152/2.16.1 -k 5.19.0-1-MANJARO' exited 10

file /var/lib/dkms/r8152/2.16.1/build/make.log is removed (or not created at all). after running dkms install --no-depmod r8152/2.16.1 -k 5.19.0-1-MANJARO log is created. Content:

DKMS make.log for r8152-2.16.1 for kernel 5.19.0-1-MANJARO (x86_64)
Пн 01 авг 2022 16:42:26 +04
make: Entering directory '/usr/lib/modules/5.19.0-1-MANJARO/build'
  CC [M]  /var/lib/dkms/r8152/2.16.1/build/src/r8152.o
/var/lib/dkms/r8152/2.16.1/build/src/r8152.c: In function ‘sg_en_store’:
/var/lib/dkms/r8152/2.16.1/build/src/r8152.c:20359:9: error: implicit declaration of function ‘netif_set_gso_max_size’; did you mean ‘netif_set_tso_max_size’? [-Werror=implicit-function-declaration]
20359 |         netif_set_gso_max_size(netdev, tso_size);
      |         ^~~~~~~~~~~~~~~~~~~~~~
      |         netif_set_tso_max_size
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:249: /var/lib/dkms/r8152/2.16.1/build/src/r8152.o] Error 1
make: *** [Makefile:1843: /var/lib/dkms/r8152/2.16.1/build/src] Error 2
make: Leaving directory '/usr/lib/modules/5.19.0-1-MANJARO/build'

hcartiaux commented on 2022-04-01 17:42 (UTC)

@petsam Fixed