[-- Attachment #1: Type: text/plain, Size: 530 bytes --] There is a new pull request by 2asoft against master on the void-packages repository https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms https://github.com/void-linux/void-packages/pull/23943 New package: r8125-dkms-9.003.05 Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch. A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --] [-- Type: text/x-diff, Size: 2207 bytes --] From d1abcb31c9c85f22c1edfb6c872fbd8f01af211b Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Wed, 29 Jul 2020 22:12:20 -0700 Subject: [PATCH] New package: r8125-dkms-9.003.05 --- srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++ srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf create mode 100644 srcpkgs/r8125-dkms/template diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf new file mode 100644 index 00000000000..b6d398c76b3 --- /dev/null +++ b/srcpkgs/r8125-dkms/files/dkms.conf @@ -0,0 +1,12 @@ +PACKAGE_NAME="r8125" +PACKAGE_VERSION="@VERSION@" +BUILT_MODULE_NAME="r8125" + +AUTOINSTALL="yes" +REMAKE_INITRD="no" + +MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules" +CLEAN="make clean" + +DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek" diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template new file mode 100644 index 00000000000..51a52207e88 --- /dev/null +++ b/srcpkgs/r8125-dkms/template @@ -0,0 +1,27 @@ +# Template file for 'r8125-dkms' +pkgname=r8125-dkms +version=9.003.05 +revision=1 +_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +archs=noarch +wrksrc="r8125-${version}" +depends="dkms" +short_desc="Realtek RTL8125 driver (DKMS)" +maintainer="Anton Afanasyev <anton@doubleasoftware.com>" +license="GPL-2.0-only" +homepage="https://www.realtek.com/" +distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" +checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +dkms_modules="r8125 ${version}" + +do_install() { + vmkdir /usr/src/r8125-${version} + vcopy "src/*" usr/src/r8125-${version} + vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version} + sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf + + # modules-load.d(5) file. + vmkdir usr/lib/modules-load.d + echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf + chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf +}
[-- Attachment #1: Type: text/plain, Size: 535 bytes --] There is an updated pull request by 2asoft against master on the void-packages repository https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms https://github.com/void-linux/void-packages/pull/23943 New package: r8125-dkms-9.003.05 Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch. A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --] [-- Type: text/x-diff, Size: 2207 bytes --] From 1f14e1b6628ecb6d4a967fc576bf595f8a7faf0d Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Wed, 29 Jul 2020 22:12:20 -0700 Subject: [PATCH] New package: r8125-dkms-9.003.05 --- srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++ srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf create mode 100644 srcpkgs/r8125-dkms/template diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf new file mode 100644 index 00000000000..b6d398c76b3 --- /dev/null +++ b/srcpkgs/r8125-dkms/files/dkms.conf @@ -0,0 +1,12 @@ +PACKAGE_NAME="r8125" +PACKAGE_VERSION="@VERSION@" +BUILT_MODULE_NAME="r8125" + +AUTOINSTALL="yes" +REMAKE_INITRD="no" + +MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules" +CLEAN="make clean" + +DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek" diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template new file mode 100644 index 00000000000..51a52207e88 --- /dev/null +++ b/srcpkgs/r8125-dkms/template @@ -0,0 +1,27 @@ +# Template file for 'r8125-dkms' +pkgname=r8125-dkms +version=9.003.05 +revision=1 +_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +archs=noarch +wrksrc="r8125-${version}" +depends="dkms" +short_desc="Realtek RTL8125 driver (DKMS)" +maintainer="Anton Afanasyev <anton@doubleasoftware.com>" +license="GPL-2.0-only" +homepage="https://www.realtek.com/" +distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" +checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +dkms_modules="r8125 ${version}" + +do_install() { + vmkdir /usr/src/r8125-${version} + vcopy "src/*" usr/src/r8125-${version} + vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version} + sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf + + # modules-load.d(5) file. + vmkdir usr/lib/modules-load.d + echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf + chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf +}
[-- Attachment #1: Type: text/plain, Size: 535 bytes --] There is an updated pull request by 2asoft against master on the void-packages repository https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms https://github.com/void-linux/void-packages/pull/23943 New package: r8125-dkms-9.003.05 Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch. A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --] [-- Type: text/x-diff, Size: 2207 bytes --] From 84a50c41e57810b8c88cb2dcb1d5322808218297 Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Wed, 29 Jul 2020 22:12:20 -0700 Subject: [PATCH] New package: r8125-dkms-9.003.05 --- srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++ srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf create mode 100644 srcpkgs/r8125-dkms/template diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf new file mode 100644 index 00000000000..b6d398c76b3 --- /dev/null +++ b/srcpkgs/r8125-dkms/files/dkms.conf @@ -0,0 +1,12 @@ +PACKAGE_NAME="r8125" +PACKAGE_VERSION="@VERSION@" +BUILT_MODULE_NAME="r8125" + +AUTOINSTALL="yes" +REMAKE_INITRD="no" + +MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules" +CLEAN="make clean" + +DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek" diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template new file mode 100644 index 00000000000..51a52207e88 --- /dev/null +++ b/srcpkgs/r8125-dkms/template @@ -0,0 +1,27 @@ +# Template file for 'r8125-dkms' +pkgname=r8125-dkms +version=9.003.05 +revision=1 +_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +archs=noarch +wrksrc="r8125-${version}" +depends="dkms" +short_desc="Realtek RTL8125 driver (DKMS)" +maintainer="Anton Afanasyev <anton@doubleasoftware.com>" +license="GPL-2.0-only" +homepage="https://www.realtek.com/" +distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" +checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +dkms_modules="r8125 ${version}" + +do_install() { + vmkdir /usr/src/r8125-${version} + vcopy "src/*" usr/src/r8125-${version} + vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version} + sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf + + # modules-load.d(5) file. + vmkdir usr/lib/modules-load.d + echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf + chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf +}
[-- Attachment #1: Type: text/plain, Size: 535 bytes --] There is an updated pull request by 2asoft against master on the void-packages repository https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms https://github.com/void-linux/void-packages/pull/23943 New package: r8125-dkms-9.003.05 Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch. A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --] [-- Type: text/x-diff, Size: 2207 bytes --] From 020466f122a01ae5d8ca94e8d03c27328a24195a Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Wed, 29 Jul 2020 22:12:20 -0700 Subject: [PATCH] New package: r8125-dkms-9.003.05 --- srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++ srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf create mode 100644 srcpkgs/r8125-dkms/template diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf new file mode 100644 index 00000000000..b6d398c76b3 --- /dev/null +++ b/srcpkgs/r8125-dkms/files/dkms.conf @@ -0,0 +1,12 @@ +PACKAGE_NAME="r8125" +PACKAGE_VERSION="@VERSION@" +BUILT_MODULE_NAME="r8125" + +AUTOINSTALL="yes" +REMAKE_INITRD="no" + +MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules" +CLEAN="make clean" + +DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek" diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template new file mode 100644 index 00000000000..51a52207e88 --- /dev/null +++ b/srcpkgs/r8125-dkms/template @@ -0,0 +1,27 @@ +# Template file for 'r8125-dkms' +pkgname=r8125-dkms +version=9.003.05 +revision=1 +_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +archs=noarch +wrksrc="r8125-${version}" +depends="dkms" +short_desc="Realtek RTL8125 driver (DKMS)" +maintainer="Anton Afanasyev <anton@doubleasoftware.com>" +license="GPL-2.0-only" +homepage="https://www.realtek.com/" +distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" +checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +dkms_modules="r8125 ${version}" + +do_install() { + vmkdir /usr/src/r8125-${version} + vcopy "src/*" usr/src/r8125-${version} + vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version} + sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf + + # modules-load.d(5) file. + vmkdir usr/lib/modules-load.d + echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf + chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf +}
[-- Attachment #1: Type: text/plain, Size: 535 bytes --] There is an updated pull request by 2asoft against master on the void-packages repository https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms https://github.com/void-linux/void-packages/pull/23943 New package: r8125-dkms-9.003.05 Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch. A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --] [-- Type: text/x-diff, Size: 3502 bytes --] From 48664153d22af5b27a6e4c01723678899c24e0af Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Wed, 29 Jul 2020 22:12:20 -0700 Subject: [PATCH 1/2] New package: r8125-dkms-9.003.05 --- srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++ srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf create mode 100644 srcpkgs/r8125-dkms/template diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf new file mode 100644 index 00000000000..b6d398c76b3 --- /dev/null +++ b/srcpkgs/r8125-dkms/files/dkms.conf @@ -0,0 +1,12 @@ +PACKAGE_NAME="r8125" +PACKAGE_VERSION="@VERSION@" +BUILT_MODULE_NAME="r8125" + +AUTOINSTALL="yes" +REMAKE_INITRD="no" + +MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules" +MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules" +CLEAN="make clean" + +DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek" diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template new file mode 100644 index 00000000000..51a52207e88 --- /dev/null +++ b/srcpkgs/r8125-dkms/template @@ -0,0 +1,27 @@ +# Template file for 'r8125-dkms' +pkgname=r8125-dkms +version=9.003.05 +revision=1 +_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +archs=noarch +wrksrc="r8125-${version}" +depends="dkms" +short_desc="Realtek RTL8125 driver (DKMS)" +maintainer="Anton Afanasyev <anton@doubleasoftware.com>" +license="GPL-2.0-only" +homepage="https://www.realtek.com/" +distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" +checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +dkms_modules="r8125 ${version}" + +do_install() { + vmkdir /usr/src/r8125-${version} + vcopy "src/*" usr/src/r8125-${version} + vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version} + sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf + + # modules-load.d(5) file. + vmkdir usr/lib/modules-load.d + echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf + chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf +} From b39aec84bd3aadea933bbb28d3208e64c34864f0 Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <anton@doubleasoftware.com> Date: Sat, 21 Nov 2020 10:06:43 -0800 Subject: [PATCH 2/2] r8125-dkms: update to 9.004.01. --- srcpkgs/r8125-dkms/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template index 51a52207e88..f7813da7f29 100644 --- a/srcpkgs/r8125-dkms/template +++ b/srcpkgs/r8125-dkms/template @@ -1,8 +1,8 @@ # Template file for 'r8125-dkms' pkgname=r8125-dkms -version=9.003.05 +version=9.004.01 revision=1 -_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402 +_gitrev=e174fe9d2ccf5c64fc79e980683fd2bae8413c35 archs=noarch wrksrc="r8125-${version}" depends="dkms" @@ -10,8 +10,8 @@ short_desc="Realtek RTL8125 driver (DKMS)" maintainer="Anton Afanasyev <anton@doubleasoftware.com>" license="GPL-2.0-only" homepage="https://www.realtek.com/" -distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz" -checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6 +distfiles="https://github.com/ibmibmibm/r8125/archive/${_gitrev}.tar.gz" +checksum=10d96d19cbd6c2a251445de516788c4afb485c57bb9e8d4c96ec14fa56e2c324 dkms_modules="r8125 ${version}" do_install() {
[-- Attachment #1: Type: text/plain, Size: 213 bytes --] New comment by 2asoft on void-packages repository https://github.com/void-linux/void-packages/pull/23943#issuecomment-753585013 Comment: Closing this as support for RTL8125 is built into kernel 5.9.1 and newer.
[-- Attachment #1: Type: text/plain, Size: 369 bytes --] There's a closed pull request on the void-packages repository New package: r8125-dkms-9.003.05 https://github.com/void-linux/void-packages/pull/23943 Description: Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10). Did not verify 2.5G functionality or performance because I do not have a 2.5G switch.
[-- Attachment #1: Type: text/plain, Size: 255 bytes --] New comment by kkga on void-packages repository https://github.com/void-linux/void-packages/pull/23943#issuecomment-803897944 Comment: @2asoft does the built-in support work for you? I still have to install the driver manually after each kernel update.
[-- Attachment #1: Type: text/plain, Size: 337 bytes --] New comment by 2asoft on void-packages repository https://github.com/void-linux/void-packages/pull/23943#issuecomment-803921200 Comment: @kkga I've only tried it on the motherboard mentioned in the PR description, and it does still work there. No special configuration, just using the latest default kernel version packaged for Void.