Package Details: r8125 9.003.05-1

Git Clone URL: (read-only, click to copy)
Package Base: r8125
Description: r8125 kernel driver for linux
Upstream URL:
Licenses: GPL2
Submitter: BestSteve
Maintainer: BestSteve
Last Packager: BestSteve
Votes: 4
Popularity: 0.59
First Submitted: 2019-07-10 15:23
Last Updated: 2020-07-26 04:31

Latest Comments

1 2 Next › Last »

Smoerrebroed commented on 2020-10-18 05:27

Fortunately, with the advent of kernel 5.9.1 this package is no longer needed.

AlexanderS commented on 2020-09-30 13:50

I think the two lines in dkms.conf should be something like this:

MAKE="make -C $kernel_source_dir M=$dkms_tree/r8125/9.003.05/build/src modules"
CLEAN="make -C $kernel_source_dir M=$dkms_tree/r8125/9.003.05/build/src clean"

This should fix the broken rebuild after a kernel update.

Smoerrebroed commented on 2020-08-25 08:21

Normally doing

dkms build -m r8125 -v 9.003.05 -k 5.8.3-arch1-1 (or whatever your kernel is)


dkms install -m r8125 -v 9.003.05 -k 5.8.3-arch1-1

should be good enough.

STEELBAS commented on 2020-08-24 18:02

You said it. I'm trying to get this to work again after an update. No luck yet, though I got it working before.

Smoerrebroed commented on 2020-08-24 11:16

Yep, there are definitely some bugs in the dkms.conf, but it seems the creator of this package is no longer maintaining it. The good news is that kernel 5.9 will natively support the r8125 chip in different variants out of the box, so hopefully that'll be out soon and I can get rid of this workaround package.

Superfox commented on 2020-08-24 10:18

the dkms variant did not properly rebuild the driver upon an update of the kernel:

(2/2) Remove DKMS modules
==> dkms remove --no-depmod -m r8125 -v 9.003.05 -k 5.8.1-arch1-1
==> depmod 5.8.1-arch1-1
 (11/15) Install DKMS modules
==> dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.8.3-arch1-1
Error!  Build of r8125.ko failed for: 5.8.3-arch1-1 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/r8125/9.003.05/build/ for more information.
==> Warning, `dkms install --no-depmod -m r8125 -v 9.003.05 -k 5.8.3-arch1-1' returned 7
==> depmod 5.8.3-arch1-1


DKMS make.log for r8125-9.003.05 for kernel 5.8.3-arch1-1 (x86_64)
Sun 23 Aug 18:55:57 CEST 2020
make: Entering directory '/usr/lib/modules/5.8.3-arch1-1/build'
  CC [M]  /usr/src/r8125-9.003.05/src/r8125_n.o
  CC [M]  /usr/src/r8125-9.003.05/src/rtl_eeprom.o
  CC [M]  /usr/src/r8125-9.003.05/src/rtltool.o
  LD [M]  /usr/src/r8125-9.003.05/src/r8125.o
  MODPOST /usr/src/r8125-9.003.05/src/Module.symvers
  CC [M]  /usr/src/r8125-9.003.05/src/r8125.mod.o
  LD [M]  /usr/src/r8125-9.003.05/src/r8125.ko
make: Leaving directory '/usr/lib/modules/5.8.3-arch1-1/build'

dkms status:

# dkms status
r8125, 9.003.05: added

but then when issuing dkms remove:

# dkms remove -m r8125 -v 9.003.05
Error! There is no instance of r8125 9.003.05
for kernel 5.8.3-arch1-1 (x86_64) located in the DKMS tree.

emmettwu commented on 2020-08-22 02:45

change /usr/src/linux/version to uname -r,

build package works. but commit package with conflicts

Error: Failed to commit transaction:
conflicting files:
- r8125: /usr/lib/modules/5.7.14-1-MANJARO/extramodules already exists in filesystem (owned by linux57)

how to fix this conflict?

Democrab commented on 2020-08-01 13:19

It also needs pkgbuild edits to build on custom kernels. (It hard-codes "/usr/src/linux/version" which isn't applicable on custom kernels, "uname -r" works however.)

Smoerrebroed commented on 2020-07-27 12:56

It kinda works for me ... except for the autoinstall after a kernel upgrade which doesn't. Oh, and it doesn't automatically build the module for all available kernels, just the one that's currently running.

BestSteve commented on 2020-07-26 04:31