From: Michael Rohleder <mike@rohleder.de>
To: 40568@debbugs.gnu.org
Cc: me@tobias.gr
Subject: [bug#40568] [PATCH] gnu: Add rtl8821ce-linux-module.
Date: Sun, 12 Apr 2020 12:38:22 +0200 [thread overview]
Message-ID: <875ze5dm5d.fsf@rohleder.de> (raw)
In-Reply-To: <871rotntf5.fsf@nckx> (Tobias Geerinckx-Rice via Guix-patches via's message of "Sun, 12 Apr 2020 07:51:10 +0200")
[-- Attachment #1.1: Type: text/plain, Size: 863 bytes --]
Hi Tobias,
Tobias Geerinckx-Rice via Guix-patches via <guix-patches@gnu.org>
writes:
> Yay! Thank her for the patch.
Will do.
Thank you for your review!
Your suggestions are in the patch appended.
> This ought to be a little longer. I can throw something together if
> you're without inspiration.
Yes, please do.
> The AUR package says ‘with firmware’, which would be problematic if
> I'd actually found any. The README also mentions firmware at the very
> end. Do you know what they mean? Does this package work out of the
> box with Linux-Libre? Is that only for Bluetooth?
idk what firmware they mean. This driver depends on cfg80211 which
shouldnt be a problem.
yes, this works out of the box with Linux-Libre (and not Libre) on the
laptop I have tested.
I havent tested bluetooth at all.
Kind Regards,
mike
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH] gnu: Add rtl8821ce-linux-module --]
[-- Type: text/x-patch, Size: 2241 bytes --]
From b87d051b0ca74550df619e3cc8ed70e8f77f6e99 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike@rohleder.de>
Date: Sun, 12 Apr 2020 12:06:31 +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..2365d309e4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1057,6 +1057,41 @@ and frame injection. It provides a @code{88XXau} kernel module that supports
RTL8812AU, RTL8821AU, and RTL8814AU chips.")
(license license:gpl2+))))
+(define-public rtl8821ce-linux-module
+ (let ((commit "69765eb288a8dfad3b055b906760b53e02ab1dea")
+ (revision "0"))
+ (package
+ (name "rtl8821ce-linux-module")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tomaspinho/rtl8821ce.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "17jiw25k74kv5lnvgycvj2g1n06hbrpjz6p4znk4a62g136rhn4s"))))
+ (build-system linux-module-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key (make-flags '()) inputs #:allow-other-keys)
+ (setenv "CC" "gcc")
+ (invoke "make"
+ (string-append "KSRC="
+ (assoc-ref inputs "linux-module-builder")
+ "/lib/modules/build")
+ ))))
+ #: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))))
+
(define-public vhba-module
(package
(name "vhba-module")
--
2.26.0
[-- Attachment #1.3: Type: text/plain, Size: 89 bytes --]
--
There are two types of hard drives: those that have failed, and those that will.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2020-04-12 10:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-12 4:37 [bug#40568] [PATCH] gnu: Add rtl8821ce-linux-module Michael Rohleder
2020-04-12 5:51 ` Tobias Geerinckx-Rice via Guix-patches via
2020-04-12 10:38 ` Michael Rohleder [this message]
2020-04-13 20:19 ` Danny Milosavljevic
2020-04-14 4:38 ` Michael Rohleder
2020-05-08 14:29 ` bug#40568: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875ze5dm5d.fsf@rohleder.de \
--to=mike@rohleder.de \
--cc=40568@debbugs.gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).