You are not logged in.

#1 2022-01-29 17:04:28

light9876
Member
Registered: 2020-01-05
Posts: 142

[SOLVED] Keyboard and mouse freeze after update

This is the third time I have this issue in the past 2 years: I update my computer, restart, and then computer mouse and keyboard stop working.

The /var/log/Xorg.0.log file says:

[    21.016] (II) Initializing extension DRI2
[    21.054] (II) intel(0): switch to mode 1920x1080@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none
[    21.069] (II) intel(0): Setting screen physical size to 508 x 285
[    21.371] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    21.371] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    21.371] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    21.371] (**) Power Button: Applying InputClass "system-keyboard"
[    21.371] (II) LoadModule: "libinput"
[    21.372] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.417] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
[    21.417] (EE) Failed to load module "libinput" (loader failed, 0)
[    21.417] (EE) No input driver matching `libinput'
[    21.417] (II) Falling back to input driver `libinput'
[    21.417] (II) LoadModule: "libinput"
[    21.417] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.418] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
[    21.418] (EE) Failed to load module "libinput" (loader failed, 0)
[    21.419] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    21.419] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    21.419] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    21.419] (**) Video Bus: Applying InputClass "system-keyboard"
[    21.419] (II) LoadModule: "libinput"
[    21.419] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.419] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
[    21.419] (EE) Failed to load module "libinput" (loader failed, 0)
[    21.419] (EE) No input driver matching `libinput'
[    21.419] (II) Falling back to input driver `libinput'
[    21.419] (II) LoadModule: "libinput"
[    21.419] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    21.420] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
[    21.420] (EE) Failed to load module "libinput" (loader failed, 0)
[    21.420] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    21.421] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    21.421] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    21.421] (**) Power Button: Applying InputClass "system-keyboard"
[    21.421] (II) LoadModule: "libinput"

As you can see this error is repeated over and over again in the file.

When I've had this issue in the past, I had:

[    20.184] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    20.184] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    20.184] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    20.184] (II) LoadModule: "libinput"
[    20.184] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    20.215] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/libinput.so.10: version `LIBINPUT_1.19' not found (required by /usr/lib/xorg/modules/input/libinput_drv.so)
[    20.215] (EE) Failed to load module "libinput" (loader failed, 0)
[    20.215] (EE) No input driver matching `libinput'
[    20.215] (II) Falling back to input driver `libinput'
[    20.215] (II) LoadModule: "libinput"

I could fix this past error by replacing /usr/lib/libinput.so.10 file with another one from another arch linux installation.

But what should I do this time?

Update
I tried using an archlinux installer usb, I did:

mount /dev/sda2 /mnt
pacstrap /mnt libinput
pacstrap /mnt libwacom

But did not solve the issue..

Update 2
If I search for the file libwacom.so.2 I can't find it anywhere on my system..

Last edited by light9876 (2022-01-29 22:54:34)

Offline

#2 2022-01-29 19:59:42

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Keyboard and mouse freeze after update

light9876 wrote:

I could fix this past error by replacing /usr/lib/libinput.so.10 file with another one from another arch linux installation.

Don't do that.

Soname errors are usually a symptom of partial upgrades so try

# pacman -Syu

Also rebuild any AUR packages.


Jin, Jîyan, Azadî

Offline

#3 2022-01-29 21:22:08

light9876
Member
Registered: 2020-01-05
Posts: 142

Re: [SOLVED] Keyboard and mouse freeze after update

Thank you very much.

My PC is totally unusable, unless I boot from a flash disk and mount the root partition. From there, I cannot run any pacman commands.. Only pacstrap..

I think I will be able to use pacman if I can make my pc login using a shell and skip the login manager..

Offline

#4 2022-01-29 21:29:15

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Keyboard and mouse freeze after update

light9876 wrote:

From there, I cannot run any pacman commands

Yes you can:

# pacman -Syu --sysroot /mnt

EDIT: append systemd.unit=multi-user.target as a kernel command line parameter from the bootloader to disable the display manager and boot to a console screen.

Last edited by Head_on_a_Stick (2022-01-29 21:31:18)


Jin, Jîyan, Azadî

Offline

#5 2022-01-29 22:54:18

light9876
Member
Registered: 2020-01-05
Posts: 142

Re: [SOLVED] Keyboard and mouse freeze after update

Excellent! Works perfectly, thank you very much : )

Solution:
1. I added systemd.unit=multi-user.target as kernel command (after the line starting with linux). You can access this advanced linux startup options by pressing 'shift' after booting then pressing 'e' in advanced mode.

2. Then I updated my laptop using sudo pacman -Syu as you suggested. God bless you!

3.

sudo pacman -Syu # this alone does not work, so I did:
sudo pacman -S xf86-input-libinput
sudo pacman -S libinput # if asked to replace libinput-multiplier choose yes (probably this is what fixed the error I got).
sudo pacman -S libwacom 

Last edited by light9876 (2022-01-30 09:54:44)

Offline

Board footer

Powered by FluxBB