From unknown Sun Jun 22 00:42:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) Resent-From: Jacob K Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Aug 2022 03:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57269 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57269@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166079218124272 (code B ref -1); Thu, 18 Aug 2022 03:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 03:09:41 +0000 Received: from localhost ([127.0.0.1]:53363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOVue-0006JP-07 for submit@debbugs.gnu.org; Wed, 17 Aug 2022 23:09:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:41214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOU5E-0003MY-Ku for submit@debbugs.gnu.org; Wed, 17 Aug 2022 21:12:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU5D-00061b-TP for bug-guix@gnu.org; Wed, 17 Aug 2022 21:12:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU5B-00018c-IX for bug-guix@gnu.org; Wed, 17 Aug 2022 21:12:27 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 387B34013F for ; Thu, 18 Aug 2022 03:12:22 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZsWqbg7rqWcD for ; Thu, 18 Aug 2022 03:12:21 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660785140; bh=hBfYe0vXkQ+1p9uCQGAQ9WgxrSTakMVwxDPwFDoOFMw=; h=Date:To:From:Subject; b=k+d6SqEnv4Z0woRnwv2rMOrbBGqR9342jiCWQVvBJvWlPXV2DnED966BTFLY7VyhZ eRSfhz6yzv0j9wibT38epE2CJRyCObFCSWgTQgqTbBegbDILmeQ5blhvzAQE6j8MiN 4TG1cMybSiQewi9gkXjVO9kn0f90vm08wkEu1DCjHeiF6F1gKJPhEQ4F2HKoIJ/5wb uyErbw9t+88UiesLGmO7T3kWsJ+msF6iqiPMmbun0TCUTlFDXaXLv+koG7bq8V6tzG IBQSc7uICIGCSWsYtENi+tUKVFbnrx3PErUk4grHApEw99Jt9UfNIdFUWswlTA/RuW SdAAh9gUkIQjQ== Date: Wed, 17 Aug 2022 20:12:18 -0500 Mime-Version: 1.0 Content-Language: en-US From: Jacob K Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=jacobk@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Wed, 17 Aug 2022 23:09:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Files such as hal8812a_fw.c [1] have large arrays that seem to be binary firmware encoded in text. My understanding is that source code is not available, so I believe the files are nonfree software, and should, in the short-term at least, be removed from Guix. Long term it would be good to get the source code (via reverse engineering or asking Realtek), but I imagine that would take a significant amount of time and effort (I do have a Realtek USB Wi-Fi card, maybe not with this exact firmware though.). [1] web copy at https://raw.githubusercontent.com/aircrack-ng/rtl8812au/6c1b4a333b067eaddc9b8b34927019b41b99bc36/hal/rtl8812a/hal8812a_fw.c From unknown Sun Jun 22 00:42:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Aug 2022 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57269 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jacob K Cc: 57269@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 57269@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1660833101574 (code B ref -1); Thu, 18 Aug 2022 14:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 14:31:41 +0000 Received: from localhost ([127.0.0.1]:56436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOgYe-00009B-7A for submit@debbugs.gnu.org; Thu, 18 Aug 2022 10:31:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:34410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOgYa-00008w-OM for submit@debbugs.gnu.org; Thu, 18 Aug 2022 10:31:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOgYa-0003Kx-J5 for bug-guix@gnu.org; Thu, 18 Aug 2022 10:31:36 -0400 Received: from tobias.gr ([80.241.217.52]:55272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOgYY-0005C4-6y for bug-guix@gnu.org; Thu, 18 Aug 2022 10:31:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=LvmZAeGiWgqXi 4o4025SD5RQRix3uVW+qltzMk/CVGA=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=m+HqehwHmzBnlFx5XQR3j72ZXtbGRur++OKpt7 u6WZNv4qkauRlh63sotSvvins6FryMJL0fiy9tHSeR8RvGducQMOsCkjrmdyHwgOWlMyyJ 3Ds2ZpiIbx10ZhWuUAps569in6cYEdiSFQf9PggMU8qPFq7FPqRw6JkNTTO/YycUpoCgZ8 jNGPdAKNgAvrIDWHXkn3r9b2WWJLVvXZ+Y3+ggpPEF4cNq0xeg5FehxgwhowkjrENQBuQv vZTzggLijq2oUX8quPsMJr384p4d8+V8fy+b3ykBjJ49LSg5bxkiBumia/QkEY/Rrc1Aj3 A2POHGS5gtd8Ncwz3A3XehAA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7d8590d5 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 18 Aug 2022 14:31:27 +0000 (UTC) References: From: Tobias Geerinckx-Rice Date: Thu, 18 Aug 2022 16:23:30 +0200 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87y1vl1v3y.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=80.241.217.52; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Jacob, Jacob K via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A > Files such as hal8812a_fw.c [1] have large arrays that seem to=20 > be binary > firmware encoded in text. My understanding is that source code=20 > is not > available, so I believe the files are nonfree software, Even if free source code exists, we should still remove the blobs=20 and build our own. (Yes, we actually do this for other firmware=20 :-) > the short-term at least, be removed from Guix. Long term it=20 > would be > good to get the source code (via reverse engineering or asking=20 > Realtek), > but I imagine that would take a significant amount of time and=20 > effort (I > do have a Realtek USB Wi-Fi card, maybe not with this exact=20 > firmware > though.). Unfortunately all correct. Another blow to wireless networking=20 with Guix. Attached is a patch removing the=20 rtl8821ce-linux-module and rtl8812au-aircrack-ng-linux-module=20 packages. I didn't apply it yet. Since this case, unlike some others,=20 appears to be straightforward, I don't intend to wait long. Kind regards, T G-R --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Remove-Realtek-WiFi-drivers-with-firmware-blobs.patch Content-Transfer-Encoding: quoted-printable From=20a4650f7dbad4458d3bc907a96a45a334d1d2a086 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 14 Aug 2022 02:00:00 +0200 Subject: [PATCH 01/12] gnu: Remove Realtek WiFi drivers with firmware blobs. rtl8821ce-linux-module contains, e.g., halhwimg8821c_fw.c and hal8821c_fw.c. rtl8812au-aircrack-ng-linux-module has, e.g., hal8814a_fw.c, hal8812a_fw.c, and hal8821a_fw.c. Each of these examples contains non-free firmware blobs disguised as C arrays. * gnu/packages/linux.scm (rtl8821ce-linux-module) (rtl8812au-aircrack-ng-linux-module): Remove variables. Reported by Jacob K =2D-- gnu/packages/linux.scm | 75 ----------------------------- gnu/system/examples/bare-bones.tmpl | 1 + 2 files changed, 1 insertion(+), 75 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index fb8b4fa5a8..2c1a38b5c4 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1373,81 +1373,6 @@ (define-public lkrg detection of security vulnerability exploits against the kernel.") (license license:gpl2))) =20 =2D(define-public rtl8821ce-linux-module =2D (let ((commit "be733dc86781c68571650b395dd0fa6b53c0a039") =2D (revision "6")) =2D (package =2D (name "rtl8821ce-linux-module") =2D (version (git-version "0.0.0" revision commit)) =2D (source =2D (origin =2D (method git-fetch) =2D (uri (git-reference =2D (url "https://github.com/tomaspinho/rtl8821ce") =2D (commit commit))) =2D (file-name (git-file-name name version)) =2D (sha256 =2D (base32 =2D "00sd7s0582b9jcpfgy0fw6418dwg700mfyizkfr22jf2x140iy70")))) =2D (build-system linux-module-build-system) =2D (arguments =2D (list #:make-flags =2D #~(list (string-append "CC=3D" #$(cc-for-target)) =2D (string-append "KSRC=3D" =2D (assoc-ref %build-inputs =2D "linux-module-builder") =2D "/lib/modules/build")) =2D #:phases =2D #~(modify-phases %standard-phases =2D (replace 'build =2D (lambda* (#:key (make-flags '()) (parallel-build? #t) =2D #:allow-other-keys) =2D (apply invoke "make" =2D `(,@(if parallel-build? =2D `("-j" ,(number->string (parallel-jo= b-count))) =2D '()) =2D ,@make-flags))))) =2D #:tests? #f)) ; no test suite =2D (home-page "https://github.com/tomaspinho/rtl8821ce") =2D (synopsis "Linux driver for Realtek RTL8821CE wireless network ada= pters") =2D (description "This is Realtek's RTL8821CE Linux driver for wireless =2Dnetwork adapters.") =2D (license license:gpl2)))) =2D =2D(define-public rtl8812au-aircrack-ng-linux-module =2D (let ((commit "6d0d9fb56d4d918012a5c7a030b9233cad039cdd") =2D (revision "8")) =2D (package =2D (inherit rtl8821ce-linux-module) =2D (name "rtl8812au-aircrack-ng-linux-module") =2D (version (git-version "5.6.4.2" revision commit)) =2D (source =2D (origin =2D (method git-fetch) =2D (uri (git-reference =2D (url "https://github.com/aircrack-ng/rtl8812au") =2D (commit commit))) =2D (file-name (git-file-name name version)) =2D (sha256 =2D (base32 "012asiy43ik13kl9p97sscdsqq5jihq73s4ws3g5wqqczqcgrsvc"= )) =2D (modules '((guix build utils))) =2D (snippet =2D #~(begin =2D ;; Remove bundled tarballs, APKs, word lists, speadsheets, =2D ;; and other unnecessary unlicenced things. =2D (for-each delete-file-recursively (list "android" =2D "docs" =2D "tools")))))) =2D (supported-systems '("x86_64-linux" "i686-linux")) =2D (home-page "https://github.com/aircrack-ng/rtl8812au") =2D (synopsis "Linux driver for Realtek USB wireless network adapters") =2D (description =2D "This is Realtek's rtl8812au Linux driver for USB 802.11n wireless =2Dnetwork adapters, modified by the aircrack-ng project to support monitor= mode =2Dand frame injection. It provides a @code{88XXau} kernel module that sup= ports =2DRTL8812AU, RTL8821AU, and RTL8814AU chips.") =2D (license license:gpl2+)))) =2D (define-public vhba-module (package (name "vhba-module") diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare= -bones.tmpl index 387e4b12ba..ecac4bb3d1 100644 =2D-- a/gnu/system/examples/bare-bones.tmpl +++ b/gnu/system/examples/bare-bones.tmpl @@ -19,6 +19,7 @@ (file-systems (cons (file-system (device (file-system-label "my-root")) (mount-point "/") + (options "atime,lol,ro,shared,shared") (type "ext4")) %base-file-systems)) =20 =2D-=20 2.37.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYv5NQg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15TCYBANu02nNhBjIIb4Ah48wM1SxPIEo4UXgxi8s6Y0ge hMA6AQDPx7jwubq/KG8ptKtjjAYp0IQJGGuc7YsJhqHpo6z3AA== =RXc3 -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Jun 22 00:42:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Aug 2022 15:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57269 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: Jacob K , 57269@debbugs.gnu.org Received: via spool by 57269-submit@debbugs.gnu.org id=B57269.16608350923977 (code B ref 57269); Thu, 18 Aug 2022 15:05:01 +0000 Received: (at 57269) by debbugs.gnu.org; 18 Aug 2022 15:04:52 +0000 Received: from localhost ([127.0.0.1]:56457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOh4l-000125-Me for submit@debbugs.gnu.org; Thu, 18 Aug 2022 11:04:51 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:46828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOh4j-00011r-Jc for 57269@debbugs.gnu.org; Thu, 18 Aug 2022 11:04:50 -0400 Received: from cpe-107-15-18-231.nc.res.rr.com ([107.15.18.231] helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOh4c-0000k2-Os; Thu, 18 Aug 2022 11:04:42 -0400 Date: Thu, 18 Aug 2022 11:04:41 -0400 (EDT) From: Jack Hill In-Reply-To: <87y1vl1v3y.fsf@nckx> Message-ID: <622da590-37de-5d3b-f6eb-a66dd414c67e@jackhill.us> References: <87y1vl1v3y.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tobias, On Thu, 18 Aug 2022, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Attached is a patch removing the rtl8821ce-linux-module and > rtl8812au-aircrack-ng-linux-module packages. > diff --git a/gnu/system/examples/bare-bones.tmpl > b/gnu/system/examples/bare-bones.tmpl > index 387e4b12ba..ecac4bb3d1 100644 > --- a/gnu/system/examples/bare-bones.tmpl > +++ b/gnu/system/examples/bare-bones.tmpl > @@ -19,6 +19,7 @@ > (file-systems (cons (file-system > (device (file-system-label "my-root")) > (mount-point "/") > + (options "atime,lol,ro,shared,shared") Looks like you have an extraneous change here. Best, Jack From unknown Sun Jun 22 00:42:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Aug 2022 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57269 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: Jacob K , 57269@debbugs.gnu.org Received: via spool by 57269-submit@debbugs.gnu.org id=B57269.166094063910757 (code B ref 57269); Fri, 19 Aug 2022 20:24:01 +0000 Received: (at 57269) by debbugs.gnu.org; 19 Aug 2022 20:23:59 +0000 Received: from localhost ([127.0.0.1]:59333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP8X9-0002nQ-6B for submit@debbugs.gnu.org; Fri, 19 Aug 2022 16:23:59 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:36637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oP8X6-0002nC-Ew for 57269@debbugs.gnu.org; Fri, 19 Aug 2022 16:23:57 -0400 Received: by mail-qt1-f182.google.com with SMTP id h21so4188902qta.3 for <57269@debbugs.gnu.org>; Fri, 19 Aug 2022 13:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc; bh=qTwvw1Kq85htUJn7jlJ91iqIu/l1Pl2ueSEE5B2DuRE=; b=FdSj4JaedHcdFfaXXVqQ+JB4H0EVSSx5CoTQ7KlH2LqzodX6T4PWPv76W9hWWtaA4Y OXZE59MM5I2lrOFSdfuHOEuuLG22nCYVMxvCtaniSEUwdqRt5LoXqAz/qU1kJES+hS1M Ub4/O2+4MaLfsF5sBsthI1wpP5+1x+8xoBU8SznBsSutOB6Vz1jqDgFlj5XivXKSr+ji 8SieQtw2j98M07j0JIdAjUlRfPwq+L3OPxWaBkJpVwua8n7vZiiCunbZs5k9rJmaWme4 x0aS3GeWqPKpkSy3Byo/A9EDKOrsjjBf9f+D2b2EJQsTRh8NTdtXJtHkvcUCGH50Rbi9 Vwdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc; bh=qTwvw1Kq85htUJn7jlJ91iqIu/l1Pl2ueSEE5B2DuRE=; b=SWjLJH5LWR5oOMb5VW4ogLW67NCEcjEFcElnT5czcZlEBrQ9GmcFdtv4V7mhXZN+j8 gWfO+3NJilv5FU7BSfuIwG50b362XgEj9adB8qXrsRu8h7Lu3cfetI6feH6/buYZJim7 PvUSsQKtzy/NmUva/Hx2+3tWqBQzBZ47ftBmqCiRberLs4YBaEAsz91didOuos8ePMsv LqCrMB7/aSbkwvWsNO/df3BiID78R3RXNoKuRY7iV69tQSZ6DJz4za72uhEvhd2pDafg gmzgGGOxKIcTXFz4/5EFvPfuu816TUJAczAQgzDirvGhrkRPev1N582SUjKji9hEAGiu dB1w== X-Gm-Message-State: ACgBeo02q6FOPzlAWvGB1A3XaqughLydiwt8F1LO1z8xAcbp/5Dthckv FGz7kH1SJgNDkmA0qC/HrIfLSsueiPEsoA== X-Google-Smtp-Source: AA6agR6H2ud6Ta3HwVSaTa8RWvj+zPM3HFhWlVXaYKQBoTczapAa9Pk/hLNs2R55veBq/myto7Yc2w== X-Received: by 2002:a05:622a:303:b0:343:6eb2:31fe with SMTP id q3-20020a05622a030300b003436eb231femr7921861qtw.439.1660940630485; Fri, 19 Aug 2022 13:23:50 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id h5-20020a05620a13e500b006b941e994fasm4003359qkl.14.2022.08.19.13.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Aug 2022 13:23:50 -0700 (PDT) From: Maxim Cournoyer References: <87y1vl1v3y.fsf@nckx> Date: Fri, 19 Aug 2022 16:23:49 -0400 In-Reply-To: <87y1vl1v3y.fsf@nckx> (Tobias Geerinckx-Rice's message of "Thu, 18 Aug 2022 16:23:30 +0200") Message-ID: <87o7wghtii.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Tobias Geerinckx-Rice writes: > Hi Jacob, > > Jacob K via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A >> Files such as hal8812a_fw.c [1] have large arrays that seem to be >> binary >> firmware encoded in text. My understanding is that source code is >> not >> available, so I believe the files are nonfree software, > > Even if free source code exists, we should still remove the blobs and > build our own. (Yes, we actually do this for other firmware :-) > >> the short-term at least, be removed from Guix. Long term it would be >> good to get the source code (via reverse engineering or asking >> Realtek), >> but I imagine that would take a significant amount of time and >> effort (I >> do have a Realtek USB Wi-Fi card, maybe not with this exact firmware >> though.). > > Unfortunately all correct. Another blow to wireless networking with > Guix. Attached is a patch removing the rtl8821ce-linux-module and > rtl8812au-aircrack-ng-linux-module packages. Ouch. There goes the tiny WiFi dongle I liked on my x200 :-). Can we report this upstream, so that it's at least documented and opens the door for an eventual resolution? > I didn't apply it yet. Since this case, unlike some others, appears > to be straightforward, I don't intend to wait long. Fine by me (without the lol part). Maxim From unknown Sun Jun 22 00:42:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jacob K Subject: bug#57269: closed (Re: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c)) Message-ID: References: <87y1v9bsdf.fsf@gmail.com> X-Gnu-PR-Message: they-closed 57269 X-Gnu-PR-Package: guix Reply-To: 57269@debbugs.gnu.org Date: Sat, 27 Aug 2022 15:48:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1661615284-13448-1" This is a multi-part message in MIME format... ------------=_1661615284-13448-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812= a/hal8812a_fw.c (and probably other files ending in fw.c) which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57269@debbugs.gnu.org. --=20 57269: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57269 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1661615284-13448-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57269-done) by debbugs.gnu.org; 27 Aug 2022 15:47:52 +0000 Received: from localhost ([127.0.0.1]:56846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRy2K-0003TL-2e for submit@debbugs.gnu.org; Sat, 27 Aug 2022 11:47:52 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:34699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRy2G-0003SL-4m for 57269-done@debbugs.gnu.org; Sat, 27 Aug 2022 11:47:51 -0400 Received: by mail-qv1-f44.google.com with SMTP id kh8so3317528qvb.1 for <57269-done@debbugs.gnu.org>; Sat, 27 Aug 2022 08:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc; bh=rTMQX0/EKC+LfSYELJ8A/moukvWldpRYqdP6zxfXOps=; b=pBsIor8LvnIqXqQrgxdj2EOZ3I3xAEssQLWW89BVV49n+0TpUZeP3Ec4d4i13n2c+P ZxYS44eQblU/l7sCa7+oNv7rJzY4ynUvcZsw7JuLzHRvCI5Kossts1TaSDJPysHEd/Ww yTBgK0TuzUXM1NF2F0eyTGNfFoZUaThhZV1G1rDrhbOKHPXPvNejL53YBjOaRgCzjz83 A2CXIkHqWncR90fHRXIl9S113nbLQ3VHTqCABXUrCrpfBOPtiEfgKfcTcbhIXYHs6y8P CiQdLTCYcKPsnnPUuBq4uwejdvyjFsEJz1GSL12MbaBCIjTzojsude6u2Rv/j0LnXgn2 GGIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc; bh=rTMQX0/EKC+LfSYELJ8A/moukvWldpRYqdP6zxfXOps=; b=lTA8vSV3MK67Qfe0L39qMeIS17DdQ4Fptin0FvuuhiYeM9rOqem1gOE5PtPMY0p1SB x+4QzYChINj9ebPzCeFaA3tTzYkh0Ldtfc90iimI+JDH7k1/bHZu7BbU6vGC/cPCFlvP hhQsvFhRJaQq1r1G8Fpw9TE5S8foStfCYnN7fINnCte3svOFtrt4yjhsSWVIYx+3AwMY IoGrExssyDp2F7igZpxQIFGiiDyohhqgDooFitOtVndXJABotIhSug67pVaOy3YBej1N y0zws3zD6l2CwBC6MaHw13dKzjRShADY2AcglxgTS9SodV1cElC2kuISZwEu14vVJsKi VaIw== X-Gm-Message-State: ACgBeo2GL1+kbco5VQl7LhA0NSTX7hxzUiFejMyTISX2tIws4tmkvDZH P880sAvzfjQlZVD7UwotV9mkICyqOUY= X-Google-Smtp-Source: AA6agR7dChorlNbhkmdmr7oPB6B/DxMDuV6zgcdKp2mWG7+ZHv7XwNt9qsa0XkgV0sA55u8fcbfRMw== X-Received: by 2002:ad4:5aa3:0:b0:496:a6eb:950d with SMTP id u3-20020ad45aa3000000b00496a6eb950dmr4105417qvg.46.1661615262417; Sat, 27 Aug 2022 08:47:42 -0700 (PDT) Received: from hurd (dsl-149-141.b2b2c.ca. [66.158.149.141]) by smtp.gmail.com with ESMTPSA id c12-20020ac8110c000000b003437a694049sm1701647qtj.96.2022.08.27.08.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Aug 2022 08:47:41 -0700 (PDT) From: Maxim Cournoyer To: Tobias Geerinckx-Rice Subject: Re: bug#57269: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) References: <87y1vl1v3y.fsf@nckx> <87o7wghtii.fsf@gmail.com> Date: Sat, 27 Aug 2022 11:47:40 -0400 In-Reply-To: <87o7wghtii.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 19 Aug 2022 16:23:49 -0400") Message-ID: <87y1v9bsdf.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57269-done Cc: Jacob K , 57269-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Maxim Cournoyer writes: > Hi, > > Tobias Geerinckx-Rice writes: > >> Hi Jacob, >> >> Jacob K via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC=9A >>> Files such as hal8812a_fw.c [1] have large arrays that seem to be >>> binary >>> firmware encoded in text. My understanding is that source code is >>> not >>> available, so I believe the files are nonfree software, >> >> Even if free source code exists, we should still remove the blobs and >> build our own. (Yes, we actually do this for other firmware :-) >> >>> the short-term at least, be removed from Guix. Long term it would be >>> good to get the source code (via reverse engineering or asking >>> Realtek), >>> but I imagine that would take a significant amount of time and >>> effort (I >>> do have a Realtek USB Wi-Fi card, maybe not with this exact firmware >>> though.). >> >> Unfortunately all correct. Another blow to wireless networking with >> Guix. Attached is a patch removing the rtl8821ce-linux-module and >> rtl8812au-aircrack-ng-linux-module packages. Closing, as the drivers were removed in Tobias's commit b8f2eb286ec52c97048e23d326d94ae5772797e8. Thanks, Maxim ------------=_1661615284-13448-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Aug 2022 03:09:41 +0000 Received: from localhost ([127.0.0.1]:53363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOVue-0006JP-07 for submit@debbugs.gnu.org; Wed, 17 Aug 2022 23:09:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:41214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOU5E-0003MY-Ku for submit@debbugs.gnu.org; Wed, 17 Aug 2022 21:12:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU5D-00061b-TP for bug-guix@gnu.org; Wed, 17 Aug 2022 21:12:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:56774) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOU5B-00018c-IX for bug-guix@gnu.org; Wed, 17 Aug 2022 21:12:27 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 387B34013F for ; Thu, 18 Aug 2022 03:12:22 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZsWqbg7rqWcD for ; Thu, 18 Aug 2022 03:12:21 +0200 (CEST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1660785140; bh=hBfYe0vXkQ+1p9uCQGAQ9WgxrSTakMVwxDPwFDoOFMw=; h=Date:To:From:Subject; b=k+d6SqEnv4Z0woRnwv2rMOrbBGqR9342jiCWQVvBJvWlPXV2DnED966BTFLY7VyhZ eRSfhz6yzv0j9wibT38epE2CJRyCObFCSWgTQgqTbBegbDILmeQ5blhvzAQE6j8MiN 4TG1cMybSiQewi9gkXjVO9kn0f90vm08wkEu1DCjHeiF6F1gKJPhEQ4F2HKoIJ/5wb uyErbw9t+88UiesLGmO7T3kWsJ+msF6iqiPMmbun0TCUTlFDXaXLv+koG7bq8V6tzG IBQSc7uICIGCSWsYtENi+tUKVFbnrx3PErUk4grHApEw99Jt9UfNIdFUWswlTA/RuW SdAAh9gUkIQjQ== Date: Wed, 17 Aug 2022 20:12:18 -0500 Mime-Version: 1.0 To: bug-guix@gnu.org Content-Language: en-US From: Jacob K Subject: [rtl8812au-aircrack-ng-linux-module] Missing Source for hal/rtl8812a/hal8812a_fw.c (and probably other files ending in fw.c) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=jacobk@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 17 Aug 2022 23:09:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Files such as hal8812a_fw.c [1] have large arrays that seem to be binary firmware encoded in text. My understanding is that source code is not available, so I believe the files are nonfree software, and should, in the short-term at least, be removed from Guix. Long term it would be good to get the source code (via reverse engineering or asking Realtek), but I imagine that would take a significant amount of time and effort (I do have a Realtek USB Wi-Fi card, maybe not with this exact firmware though.). [1] web copy at https://raw.githubusercontent.com/aircrack-ng/rtl8812au/6c1b4a333b067eaddc9b8b34927019b41b99bc36/hal/rtl8812a/hal8812a_fw.c ------------=_1661615284-13448-1--