Subject: after upgrade to 3.14 touchpad and keyboard stop working in X11

From: Riccardo Mottola <[email-masked]>
Date: Fri, 16 Jul 2021 18:39:36 +0200

Hi all,

After upgrading to 3.14 from 3.12 X11 has no pointer/keyboard.

Xorg.log shows below. It seems I have issues with libinit and the touchpad.

setup-xorg-base shows that all is ok!

Any suggestions? Thanks.

Riccardo

[  6552.711] (EE) libinput: Power Button: Failed to create a device for
/dev/input/event3
[  6552.711] (EE) PreInit returned 2 for "Power Button"
[  6552.712] (II) UnloadModule: "libinput"
[  6552.714] (II) config/udev: Adding input device Lid Switch
(/dev/input/event1)
[  6552.714] (II) No input driver specified, ignoring this device.
[  6552.714] (II) This device may have been added with another device file.
[  6552.718] (II) config/udev: Adding input device AT Translated Set 2
keyboard (/dev/input/event0)
[  6552.718] (**) AT Translated Set 2 keyboard: Applying InputClass
"libinput keyboard catchall"
[  6552.718] (II) Using input driver 'libinput' for 'AT Translated Set 2
keyboard'
[  6552.718] (**) AT Translated Set 2 keyboard: always reports core events
[  6552.718] (**) Option "Device" "/dev/input/event0"
[  6552.718] (**) Option "_source" "server/udev"
[  6552.731] (EE) xf86OpenSerial: Cannot open device /dev/input/event0
        Permission denied.
[  6552.731] (II) event0: opening input device '/dev/input/event0'
failed (Permission denied).
[  6552.731] (II) event0  - failed to create input device
'/dev/input/event0'.
[  6552.731] (EE) libinput: AT Translated Set 2 keyboard: Failed to
create a device for /dev/input/event0
[  6552.732] (EE) PreInit returned 2 for "AT Translated Set 2 keyboard"
[  6552.732] (II) UnloadModule: "libinput"
[  6552.737] (II) config/udev: Adding input device AlpsPS/2 ALPS
GlidePoint (/dev/input/event6)
[  6552.737] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass
"libinput touchpad catchall"
[  6552.737] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass
"touchpad catchall"
[  6552.737] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "Default
clickpad buttons"
[  6552.737] (II) LoadModule: "synaptics"
[  6552.738] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  6552.766] (II) Module synaptics: vendor="X.Org Foundation"
[  6552.766]    compiled for 1.20.11, module version = 1.9.1
[  6552.767]    Module class: X.Org XInput Driver
[  6552.767]    ABI class: X.Org XInput driver, version 24.1
[  6552.767] (II) Using input driver 'synaptics' for 'AlpsPS/2 ALPS
GlidePoint'
[  6552.767] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[  6552.767] (**) Option "Device" "/dev/input/event6"
[  6552.767] (EE) synaptics: AlpsPS/2 ALPS GlidePoint: Synaptics driver
unable to detect protocol
[  6552.767] (EE) PreInit returned 11 for "AlpsPS/2 ALPS GlidePoint"
[  6552.767] (II) UnloadModule: "synaptics"
[  6552.768] (II) config/udev: Adding input device AlpsPS/2 ALPS
GlidePoint (/dev/input/mouse0)
[  6552.768] (**) AlpsPS/2 ALPS GlidePoint: Ignoring device from
InputClass "touchpad ignore duplicates"
[  6552.794] (II) config/udev: Adding input device PC Speaker
(/dev/input/event5)

---

From: Marvin Preuss <[email-masked]>
Date: Fri, 16 Jul 2021 20:00:44 +0200

Hi,

> setup-xorg-base shows that all is ok!

i dont have your problem (using alpine only on headless machines) but i
read something about this in the release notes: https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0

> xf86-input-{mouse,keyboard} have been removed, as upstream maintainers have explicitly declared that they are for non-Linux platforms only. Users should have already switched to xf86-input-evdev or xf86-input-libinput.
> Rootless support has been enabled for Xorg. X now requires udev or mdev, and either elogind must be enabled or X users must be in the video and input groups.
> The Xorg sysconfdir has been changed from /etc/X11 to /etc. In the unlikely event that you have configuration files in /etc/X11/X11, those must be moved to /etc/X11.

Maybe that helps!

---

From: Riccardo Mottola <[email-masked]>
Date: Fri, 16 Jul 2021 23:27:01 +0200

Hi Marvin,

On 2021-07-16 18:00:44 +0000 Marvin Preuss <[email-masked]> 
wrote:

> read something about this in the release notes: 
> https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0
> 
>> xf86-input-{mouse,keyboard} have been removed, as upstream 
>> maintainers have 
>> explicitly declared that they are for non-Linux platforms only. 
>> Users 
>> should have already switched to xf86-input-evdev or 
>> xf86-input-libinput.
>> Rootless support has been enabled for Xorg. X now requires udev or 
>> mdev, 
>> and either elogind must be enabled or X users must be in the video 
>> and 
>> input groups.
>> The Xorg sysconfdir has been changed from /etc/X11 to /etc. In the 
>> unlikely 
>> event that you have configuration files in /etc/X11/X11, those must 
>> be 
>> moved to /etc/X11.
> 
> Maybe that helps!

Maybe.
First, I did check and I already removed input-mouse and 
input-keyboard, I already installed xf86-input-libinput...
So that I don't know.

I don't have /etc/X11/X11, only /etc/X11/xinit so I think this is all 
also clear.

Riccardo

---

From: [email-masked]
Date: Sat, 17 Jul 2021 02:17:07 -0700

Maybe you need to add your user to 'input' group.

---

From: Riccardo Mottola <[email-masked]>
Date: Sat, 17 Jul 2021 22:58:45 +0200

Hi!

> Maybe you need to add your user to 'input' group.

thank you, just figured it out myself too and wanting to write it as 
solved. As I had too ad myself to "video", "input" was a good candidate too.

Riccardo