aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTim Gesthuizen <tim.gesthuizen@yahoo.de>2019-01-05 23:28:18 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-18 10:51:06 +0100
commit97ab799afeff032b422642d945c2bcc764f6d8ed (patch)
tree29b5f33bc212f20389f250753a4b15285fec1127 /doc
parentbf2a9969a26886a4c57df1a6011f18edd2f013d0 (diff)
downloadguix-97ab799afeff032b422642d945c2bcc764f6d8ed.tar
guix-97ab799afeff032b422642d945c2bcc764f6d8ed.tar.gz
gnu: Add inputattach service.
Add a service that runs inputattach as a daemon to translate events from serial ports. * gnu/services/desktop.scm (<inputattach-configuration>): New record type. * gnu/services/desktop.scm (inputattach-service-type): New service type. * doc/guix.texi (Miscellaneous Services): Add inputattach Service subsubheading. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index a3dd344a70..601afeda06 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -22503,6 +22503,22 @@ that enables sharing the clipboard with a vm and setting the guest display
resolution when the graphical console window resizes.
@end deffn
+@cindex inputattach
+@subsubheading inputattach Service
+
+@deftp {Data Type} inputattach-configuration
+@table @asis
+@item @code{device-type} The type of device to connect to.
+@item @code{device} The device file to connect to the device.
+@item @code{log-file} The file to log messages to.
+@end table
+@end deftp
+
+@deffn {Scheme Procedure} inputattach-service-type
+Return a service that runs inputattach on a device and
+dispatches events from it.
+@end deffn
+
@subsection Dictionary Services
@cindex dictionary
The @code{(gnu services dict)} module provides the following service: