[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse issue
From: |
pelzflorian (Florian Pelz) |
Subject: |
Re: Mouse issue |
Date: |
Wed, 15 Jan 2020 18:24:09 +0100 |
On Wed, Jan 15, 2020 at 04:32:30PM +0000, wisdomlight--- via wrote:
> Guix on my MacBook Air 13”
>
> 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))
- (let ((pid (fork+exec-command (list udevd))))
+ (let ((pid (fork+exec-command (list udevd "--debug")
#:log-file "/var/log/udevd")))
;; Wait until udevd is up and running. This appears to
;; be needed so that the events triggered below are
;; actually handled.
But why did I set the log-file? I don’t 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 tagged
(II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Keyboard
(II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Keyboard
(II) event14 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Mouse
(II) event14 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Mouse
(II) event15 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Keyboard
(II) event15 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Keyboard
root@florianmacbook /var/log/gdm# cat greeter.log.1 | grep Apple | grep tagged
(II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Keyboard
(II) event4 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev
as: Keyboard
(II) event12 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Keyboard
(II) event12 - Apple Computer, Inc. IR Receiver: is tagged by udev as: Keyboard
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
- Mouse issue, wisdomlight, 2020/01/15
- Re: Mouse issue,
pelzflorian (Florian Pelz) <=