1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 01:25:57 +02:00

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>
This commit is contained in:
Tim Gesthuizen
2019-01-05 23:28:18 +01:00
committed by Ludovic Courtès
parent bf2a9969a2
commit 97ab799afe
2 changed files with 62 additions and 0 deletions
+16
View File
@@ -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: