From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: Mouse issue Date: Wed, 15 Jan 2020 18:24:09 +0100 Message-ID: <20200115172409.utxv5qgrxhqqlvsp@pelzflorian.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44360) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irmOs-0000aC-RH for help-guix@gnu.org; Wed, 15 Jan 2020 12:24:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irmOr-00016R-Lq for help-guix@gnu.org; Wed, 15 Jan 2020 12:24:14 -0500 Received: from pelzflorian.de ([5.45.111.108]:45136 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irmOr-000136-6B for help-guix@gnu.org; Wed, 15 Jan 2020 12:24:13 -0500 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: wisdomlight@protonmail.com Cc: "help-guix@gnu.org" On Wed, Jan 15, 2020 at 04:32:30PM +0000, wisdomlight--- via wrote: > Guix on my MacBook Air 13=E2=80=9D >=20 > most times of booting the system the mouse goes only up and down. > It is stuck on the right side of the screen and just goes up and down. Ohh I thought I was the only one with that issue. Are you using a Macbook too? I investigated long ago and had patched Guix to enable debugging for udev. Maybe it was this patch? diff --git a/gnu/services/base.scm b/gnu/services/base.scm index b1eff89ecc..11509aaff3 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -2054,7 +2054,7 @@ item of @var{packages}." (make-static-device-nodes directory)) (umask old-umask)) =20 - (let ((pid (fork+exec-command (list udevd)))) + (let ((pid (fork+exec-command (list udevd "--debug") #:l= og-file "/var/log/udevd"))) ;; Wait until udevd is up and running. This appears t= o ;; be needed so that the events triggered below are ;; actually handled. But why did I set the log-file? I don=E2=80=99t remember. Whatever. Back then I found that only on bad boots the trackpad is detected as a Mouse and therefore is not treated as a trackpad. root@florianmacbook /var/log/gdm# cat greeter.log.2 | grep Apple | grep t= agged (II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Keyboard (II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Keyboard (II) event14 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Mouse (II) event14 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Mouse (II) event15 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Ke= yboard (II) event15 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Ke= yboard root@florianmacbook /var/log/gdm# cat greeter.log.1 | grep Apple | grep t= agged (II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Keyboard (II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged b= y udev as: Keyboard (II) event12 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Ke= yboard (II) event12 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Ke= yboard I had not investigated further what is responsible for this trackpad detection. I suppose there is some difference between the udev setup used by Guix and the udev setup used by others. Regards, Florian