From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54552) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNUOd-0004BO-On for guix-patches@gnu.org; Sun, 12 Apr 2020 00:39:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNUOc-00056F-G7 for guix-patches@gnu.org; Sun, 12 Apr 2020 00:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45742) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNUOc-000569-DM for guix-patches@gnu.org; Sun, 12 Apr 2020 00:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jNUOc-0001NC-9f for guix-patches@gnu.org; Sun, 12 Apr 2020 00:39:02 -0400 Subject: [bug#40568] [PATCH] gnu: Add rtl8821ce-linux-module. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54505) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNUNc-00048h-Hh for guix-patches@gnu.org; Sun, 12 Apr 2020 00:38:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNUNb-0004tJ-4s for guix-patches@gnu.org; Sun, 12 Apr 2020 00:38:00 -0400 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:51198) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNUNa-0004qk-US for guix-patches@gnu.org; Sun, 12 Apr 2020 00:37:59 -0400 From: Michael Rohleder Date: Sun, 12 Apr 2020 06:37:48 +0200 Message-ID: <87r1wte2ub.fsf@rohleder.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40568@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain My girlfriend's laptop has this chip, so I needed this to spread the love of guix (to her already endless sea of love). Im not sure about the naming, it could also be something like rtl8821ce-driver-linux. So far (2 days), it works very well. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-rtl8821ce-linux-module.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add rtl8821ce-linux-module. From=206332e69b7fedb614c404a434bcf35e217ce3a953 Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sun, 12 Apr 2020 06:33:23 +0200 Subject: [PATCH] gnu: Add rtl8821ce-linux-module. * gnu/packages/linux.scm (rtl8821ce-linux-module): New variable. =2D-- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 0be50c11e0..a833aae236 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -42,6 +42,7 @@ ;;; Copyright =C2=A9 2020 Pierre Neidhardt ;;; Copyright =C2=A9 2020 Chris Marusich ;;; Copyright =C2=A9 2020 Vincent Legoll +;;; Copyright =C2=A9 2020 Michael Rohleder ;;; ;;; This file is part of GNU Guix. ;;; @@ -1125,6 +1126,40 @@ module allows the control of the backlight level or = luminance property when supported under @file{/sys/class/backlight/}.") (license license:gpl2+))) =20 +(define-public rtl8821ce-linux-module + (let ((commit "69765eb288a8dfad3b055b906760b53e02ab1dea") + (revision "0")) + (package + (name "rtl8821ce-linux-module") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tomaspinho/rtl8821ce.git") + (commit commit))) + (sha256 + (base32 + "17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s")))) + (build-system linux-module-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key inputs make-flags #:allow-other-keys) + (setenv "CC" "gcc") + (apply invoke "make" + (string-append "KSRC=3D" + (assoc-ref inputs "linux-module-build= er") + "/lib/modules/build") + (or make-flags '()))))) + #:tests? #f)) + (home-page "https://github.com/tomaspinho/rtl8821ce") + (synopsis "Linux Driver for Realtek RTL8821CE wireless network adapt= ers") + (description "This is Realtek's RTL8821CE Linux driver for wireless= =20 +network adapters.") + (license license:gpl2)))) + ;;; ;;; Pluggable authentication modules (PAM). =2D-=20 2.26.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 When a Banker jumps out of a window, jump after him--that's where the money= is. -- Robespierre --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl6Smx0ACgkQfHr/vv7y yyWKqwf+LZPcnYnPVhbzcX0Edack/3GUdcrimz5tirDe3WUZfu7YrgAu9Auy9PKk qt50S7AoAd7Yq9zbyhpGagdDPJhlupIG+U0L6iQkkqAJIBHoS5ndiXTF8cB8ZgIL dtBpihltF9AHUu2LFXjaBbYnooupecZCW5bqMwDLGN8pbDRG+svpcga4vhT6pisv QLhPuBNSETMyMVKqjo9R+PESHKFKYHUNqNd6DAxSq/MQ97UfxAnLRtmgdHOqQrGM /t/s5M9o0qP/eWXm2IAp1ts24Qu/4oUXC438YTwzb8OtCAF+4T+qApeoDGXQWfid YWt7AiM3CE4kMYHwsyXS9Q2SaBD1MA== =kX8m -----END PGP SIGNATURE----- --==-=-=--