From patchwork Mon Jan 14 12:20:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Gesthuizen X-Patchwork-Id: 738 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B564D16A71; Mon, 14 Jan 2019 12:22:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 194AC16A6E for ; Mon, 14 Jan 2019 12:22:15 +0000 (GMT) Received: from localhost ([127.0.0.1]:35682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj1Fu-0001hD-GU for patchwork@mira.cbaines.net; Mon, 14 Jan 2019 07:22:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj1Fq-0001h3-JJ for guix-patches@gnu.org; Mon, 14 Jan 2019 07:22:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj1Fm-0002RF-Lq for guix-patches@gnu.org; Mon, 14 Jan 2019 07:22:10 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj1Fm-0002Qn-0X for guix-patches@gnu.org; Mon, 14 Jan 2019 07:22:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gj1Fl-0000Qc-9D for guix-patches@gnu.org; Mon, 14 Jan 2019 07:22:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34067] Add input-wacom/inputattach Resent-From: Tim Gesthuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jan 2019 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34067 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 34067@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15474684851590 (code B ref -1); Mon, 14 Jan 2019 12:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2019 12:21:25 +0000 Received: from localhost ([127.0.0.1]:58348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj1Ey-0000PR-Fl for submit@debbugs.gnu.org; Mon, 14 Jan 2019 07:21:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gj1Ev-0000PE-Di for submit@debbugs.gnu.org; Mon, 14 Jan 2019 07:21:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:34373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gj1Ep-000209-01 for submit@debbugs.gnu.org; Mon, 14 Jan 2019 07:21:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj1Em-0001cZ-Am for guix-patches@gnu.org; Mon, 14 Jan 2019 07:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj1Eh-0001tX-VV for guix-patches@gnu.org; Mon, 14 Jan 2019 07:21:03 -0500 Received: from sonic310-12.consmr.mail.ir2.yahoo.com ([77.238.177.33]:42139) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj1Eh-0001pk-5a for guix-patches@gnu.org; Mon, 14 Jan 2019 07:20:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1547468456; bh=OcK9Ub4uUKEYrGufOzIaCT2bWAHBNDVQppchb6Ef6xY=; h=From:To:Subject:Date:From:Subject; b=G0zjfK9tCja/+ECc2F9Oee2x/AqeMh3Ri158lNXqvz8RnyzExVg0uJbA6qTz+9B95HEUbVcXtC4gUM8RekPQAYPlcZxc5ljZqfRaSBpvfrt3PapxykDeHXQ9fVj6rpdhiFVwx4ettzmX6MwQOs+8FPsqqQF4zx2KpJoNBCBE78B/L8qbK9MAc8mb0R8gQIXPbm3vbmPAXg7SD+LuKBPBQj4ZoVLdygmYlPlvR27ohNXAUTUZpwG9C1VelkT2E+nTS1FnzjEmWltxEZpmDSCSIgtTMD7tdu6s8v8I8pb8+lvBm5RKvL0pZJFZrs3AGERR6xGIbuGSdZ5LCF8yJZJuiA== X-YMail-OSG: iIuP9G0VM1k6Xs6JpP7_x2pvKkxxyRYz33kmmycQtIbS8hg9U7CKVqQXF4MTRuX ocMC296WTF6acrUIHZU.aaPKGlij0RA6XzkgH14BVIKbjr.7_VzBnozRjUsBgINowkX2GGyFVJWN R1kCFhY8koTlJdCPuHKKi8cWZegqt2o8uzEbDk7qnggGcvrF1HJKjb90GiYmxLffRG6DyniFR9Tr MCN.QEU43zbE69aFExkZ9lASAHmjLg1nJae3GfeMfr_pgTfpPYsOTvKtKILJ.Gp5fkeQnJc1EQZ9 fNL0F2Dp5Cb8oI_tPd1RzPqmU6fb525QM4G4wf7el.GfrrCBRxhIASo5qkljnPmuCK3cjHXTDNMh zBunwFcvQDacrQOp5niSx9CHJwIn4iUc_Qdl.Quv4qTtSN998A9yd.qVV456s9TIXxXo1gGxlKy8 Gff.GG7b3tXvJBizoMVY2ZuCle_70YnbD1VaenmbGogAnHzNmwaSLMEG_nRlGoDxu0If7JvvO.lJ ciS03O4uZUR4CpHN4H0DBK2nxGbWL0592Zm59EY.FopfOOBM9C7d0_bfBVxGqSCWg49e9ASrQdWh Zwm9oaHja8AJ7.hOgggp0F0ezmALysMM3s9WmVRxy.yu0GeDO38CFnFSjdQeDiAylPYRexSOeRO4 5rK65hqEQ198PIWUvpYUSZVYSqdLwXZA4mIm3au3FThqGqjoT0EiWhFBPmbF1_XtgmvV.oWvuDA_ MEfKZBQ5dm_cfFeiwPCqadREi792bdXsRl4VChtpPtz2khd7yZ0GaYnkM1p5C45LSRg4Xb2002M4 S1I3BTflwX_lkVNajXEDvEuo7YMYTB5wlPO.tFD2JmAZQ5E_MXF95VLuE6z.zn21CDZyHL95QnS1 HFNRzIhD.6hOahVF9y2xEgAMlnuev.eFZNQQt.UXOd8T8cF0SMr7Dicd2eDrfpIy2fPUh3hEUaEL DCHpJhb15.AoWxlPM0eOz_g8QnS0WNG60dF6rqELpeWn8G3vFmX8aqeMdrcyp4TYLOLqkd1eg8w9 F7FVNgg77zcU0sOc5Afgn0uQ6CvlWoaRY4f6P0F1cxrclTw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Mon, 14 Jan 2019 12:20:56 +0000 Received: from pD954F60F.dip0.t-ipconnect.de (EHLO finkpad) ([217.84.246.15]) by smtp412.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 11b16769087e01753f7336ba7232007f for ; Mon, 14 Jan 2019 12:20:52 +0000 (UTC) From: Tim Gesthuizen Date: Mon, 14 Jan 2019 13:20:50 +0100 Message-ID: <87fttvl9b1.fsf@yahoo.de> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi, I added the following changes in order to get the touchscreen on my thinkpad x200t to work. Quick summary: - Add functions to locate modules for linux-libre. - Change linux-libre to not include non deterministic symlinks to dead items and package the source in separate output. - Add input-wacom driver and inputattach. - Add an inputattach service type that starts inputattach as a daemon. - Document the new service type There are some things worth discussing about these patches: - firmware.scm for input-wacom is probably not quite the optimal file. - linux-libre gains quite some size from packaging its build tree - Lots of small things - Maybe other things It would be nice if someone could review the patches. Tim. From a9cd86ad2244fff023f0c1bf4038748872aeab13 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Sun, 6 Jan 2019 11:56:57 +0100 Subject: [PATCH 7/7] doc: Add documentation for inputattach-service * doc/guix.texi (Miscellaneous Services): Add inputattach Service subsubheading --- doc/guix.texi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index c0cc8d416..e0921d34d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -22020,6 +22020,17 @@ 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 + +The @code{(gnu services hardware)} module provides the following service. + +@deffn {Scheme Procedure} inputattach-service [#:type "wacom"] @ + [#:device "/dev/ttyS0"] [#:log-file #f] +Return a service that runs inputattach on @var{device} to decode events from +@var{type}. +@end deffn + @subsubsection Dictionary Services @cindex dictionary The @code{(gnu services dict)} module provides the following service: -- 2.20.1