From patchwork Sun Apr 12 04:37:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Rohleder X-Patchwork-Id: 21200 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C640E27BBE4; Sun, 12 Apr 2020 05:39:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5514E27BBE1 for ; Sun, 12 Apr 2020 05:39:11 +0100 (BST) Received: from localhost ([::1]:58776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNUOk-0004BX-PC for patchwork@mira.cbaines.net; Sun, 12 Apr 2020 00:39:10 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#40568] [PATCH] gnu: Add rtl8821ce-linux-module. Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Apr 2020 04:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40568 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40568@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15866662835207 (code B ref -1); Sun, 12 Apr 2020 04:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2020 04:38:03 +0000 Received: from localhost ([127.0.0.1]:57288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNUNf-0001Lu-7x for submit@debbugs.gnu.org; Sun, 12 Apr 2020 00:38:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:36146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jNUNd-0001Lb-SM for submit@debbugs.gnu.org; Sun, 12 Apr 2020 00:38:02 -0400 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 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1jNUNW-0002rl-BA; Sun, 12 Apr 2020 06:37:54 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with smtp (Exim 4.93) (envelope-from ) id 1jNUNU-00070U-JR; Sun, 12 Apr 2020 06:37:53 +0200 Received: by micha (sSMTP sendmail emulation); Sun, 12 Apr 2020 06:37:49 +0200 From: Michael Rohleder X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Sun, 12 Apr 2020 06:37:48 +0200 Message-ID: <87r1wte2ub.fsf@rohleder.de> MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1586666278;d744f6c8; X-HE-SMSGID: 1jNUNW-0002rl-BA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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. From 6332e69b7fedb614c404a434bcf35e217ce3a953 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. --- 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 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2020 Pierre Neidhardt ;;; Copyright © 2020 Chris Marusich ;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 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+))) +(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=" + (assoc-ref inputs "linux-module-builder") + "/lib/modules/build") + (or make-flags '()))))) + #:tests? #f)) + (home-page "https://github.com/tomaspinho/rtl8821ce") + (synopsis "Linux Driver for Realtek RTL8821CE wireless network adapters") + (description "This is Realtek's RTL8821CE Linux driver for wireless +network adapters.") + (license license:gpl2)))) + ;;; ;;; Pluggable authentication modules (PAM). -- 2.26.0