GNU bug report logs - #41813
[PATCH] gnu: Add bbswitch-module.

Previous Next

Package: guix-patches;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Thu, 11 Jun 2020 20:25:02 UTC

Severity: normal

Tags: patch

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41813 in the body.
You can then email your comments to 41813 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#41813; Package guix-patches. (Thu, 11 Jun 2020 20:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 11 Jun 2020 20:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add bbswitch-module.
Date: Thu, 11 Jun 2020 22:24:23 +0200
* gnu/packages/linux.scm (bbswitch-module): New variable.
---
 gnu/packages/linux.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 73d99be48c..7c19517432 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1137,6 +1137,29 @@ network adapters.")
 between the CDemu userspace daemon and linux kernel.")
     (license license:gpl2+)))
 
+(define-public bbswitch-module
+  (package
+    (name "bbswitch-module")
+    (version "0.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Bumblebee-Project/bbswitch")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1glch4j0x1dzlp2yrb67v2r5jg9609jb6p8m251y78m74advqw0l"))))
+    (build-system linux-module-build-system)
+    (arguments
+     ;; No tests.
+     `(#:tests? #f))
+    (home-page "https://github.com/Bumblebee-Project/bbswitch")
+    (synopsis "Kernel module that disables discrete Nvidia graphics cards")
+    (description "The bbswitch module provides a way to toggle the Nvidia
+graphics card on Optimus laptops.")
+    (license license:gpl2)))
+
 (define-public ddcci-driver-linux
   (package
     (name "ddcci-driver-linux")
-- 
2.26.2





Information forwarded to guix-patches <at> gnu.org:
bug#41813; Package guix-patches. (Sun, 14 Jun 2020 10:06:01 GMT) Full text and rfc822 format available.

Message #8 received at 41813 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 41813 <at> debbugs.gnu.org
Subject: Re: [bug#41813] [PATCH] gnu: Add bbswitch-module.
Date: Sun, 14 Jun 2020 12:05:45 +0200
Hello Pierre,

> +    (synopsis "Kernel module that disables discrete Nvidia graphics cards")
> +    (description "The bbswitch module provides a way to toggle the Nvidia
> +graphics card on Optimus laptops.")

The home page says that's it's intended to disable discrete graphics,
but only working with Nvidia currently. Maybe you should add this
information?

Otherwise, this looks good to me.

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#41813; Package guix-patches. (Sun, 14 Jun 2020 10:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 41813 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 41813 <at> debbugs.gnu.org
Subject: Re: [bug#41813] [PATCH] gnu: Add bbswitch-module.
Date: Sun, 14 Jun 2020 12:27:11 +0200
[Message part 1 (text/plain, inline)]
Mathieu Othacehe <othacehe <at> gnu.org> writes:

> Hello Pierre,
>
>> +    (synopsis "Kernel module that disables discrete Nvidia graphics cards")
>> +    (description "The bbswitch module provides a way to toggle the Nvidia
>> +graphics card on Optimus laptops.")
>
> The home page says that's it's intended to disable discrete graphics,
> but only working with Nvidia currently. Maybe you should add this
> information?

Sorry, I'm not sure what you mean :)  Are you saying that I should
mention that it could potentially work with any brand in the future?
Considering the age of the last commit, I doubt it ever will :)

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#41813; Package guix-patches. (Sun, 14 Jun 2020 10:43:01 GMT) Full text and rfc822 format available.

Message #14 received at 41813 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 41813 <at> debbugs.gnu.org
Subject: Re: [bug#41813] [PATCH] gnu: Add bbswitch-module.
Date: Sun, 14 Jun 2020 12:42:26 +0200
> Sorry, I'm not sure what you mean :)  Are you saying that I should
> mention that it could potentially work with any brand in the future?
> Considering the age of the last commit, I doubt it ever will :)

Yes, mmh, '2013' then I guess you're right.

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#41813; Package guix-patches. (Sun, 14 Jun 2020 11:27:03 GMT) Full text and rfc822 format available.

Message #17 received at 41813 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 41813 <at> debbugs.gnu.org
Subject: Re: [bug#41813] [PATCH] gnu: Add bbswitch-module.
Date: Sun, 14 Jun 2020 13:26:35 +0200
[Message part 1 (text/plain, inline)]
Thanks, merged.

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 41813 <at> debbugs.gnu.org and Pierre Neidhardt <mail <at> ambrevar.xyz> Request was from Pierre Neidhardt <mail <at> ambrevar.xyz> to control <at> debbugs.gnu.org. (Sun, 14 Jun 2020 11:28:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.