unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41813] [PATCH] gnu: Add bbswitch-module.
@ 2020-06-11 20:24 Pierre Neidhardt
  2020-06-14 10:05 ` Mathieu Othacehe
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-11 20:24 UTC (permalink / raw)
  To: 41813

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#41813] [PATCH] gnu: Add bbswitch-module.
  2020-06-11 20:24 [bug#41813] [PATCH] gnu: Add bbswitch-module Pierre Neidhardt
@ 2020-06-14 10:05 ` Mathieu Othacehe
  2020-06-14 10:27   ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Othacehe @ 2020-06-14 10:05 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41813


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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41813] [PATCH] gnu: Add bbswitch-module.
  2020-06-14 10:05 ` Mathieu Othacehe
@ 2020-06-14 10:27   ` Pierre Neidhardt
  2020-06-14 10:42     ` Mathieu Othacehe
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-14 10:27 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 41813

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Mathieu Othacehe <othacehe@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/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41813] [PATCH] gnu: Add bbswitch-module.
  2020-06-14 10:27   ` Pierre Neidhardt
@ 2020-06-14 10:42     ` Mathieu Othacehe
  2020-06-14 11:26       ` Pierre Neidhardt
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Othacehe @ 2020-06-14 10:42 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 41813


> 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#41813] [PATCH] gnu: Add bbswitch-module.
  2020-06-14 10:42     ` Mathieu Othacehe
@ 2020-06-14 11:26       ` Pierre Neidhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Pierre Neidhardt @ 2020-06-14 11:26 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 41813

[-- Attachment #1: Type: text/plain, Size: 65 bytes --]

Thanks, merged.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-14 11:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-11 20:24 [bug#41813] [PATCH] gnu: Add bbswitch-module Pierre Neidhardt
2020-06-14 10:05 ` Mathieu Othacehe
2020-06-14 10:27   ` Pierre Neidhardt
2020-06-14 10:42     ` Mathieu Othacehe
2020-06-14 11:26       ` Pierre Neidhardt

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).