diff options
author | Florian Pelz <pelzflorian@pelzflorian.de> | 2019-06-12 11:16:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-15 18:37:57 +0200 |
commit | 7dbeb5a791fe6b8cb66ceb4e9261aa77f04e2fbc (patch) | |
tree | cbae2b59b4cd4ff31ad01dd168bc25593d0b3068 | |
parent | f5be51040c5535f9aefefb6c6a582279b5c44e16 (diff) | |
download | guix-7dbeb5a791fe6b8cb66ceb4e9261aa77f04e2fbc.tar guix-7dbeb5a791fe6b8cb66ceb4e9261aa77f04e2fbc.tar.gz |
services: Include USB_ModeSwitch in %desktop-services.
Fixes <https://bugs.gnu.org/35640>.
* gnu/services/desktop.scm (%desktop-services): Add usb-modeswitch-service-type.
* doc/guix.texi (Networking Services): Document it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | doc/guix.texi | 3 | ||||
-rw-r--r-- | gnu/services/desktop.scm | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index bd535f82db..033ad9ea8e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -12681,6 +12681,9 @@ themselves as a read-only storage medium and not as a modem. They need to be @dfn{modeswitched} before they are usable. The USB_ModeSwitch service type installs udev rules to automatically modeswitch these devices when they are plugged in. + +This service is part of @code{%desktop-services} (@pxref{Desktop +Services}). @end defvr @deftp {Data Type} usb-modeswitch-configuration diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 652f7b1b02..343d507c14 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1067,6 +1067,7 @@ dispatches events from it."))) profile-service-type (list network-manager-applet)) (service modem-manager-service-type) + (service usb-modeswitch-service-type) ;; The D-Bus clique. (service avahi-service-type) |