You are not logged in.

#1 2022-01-22 10:37:32

feluxe
Member
Registered: 2017-12-21
Posts: 14

Laptop keyboard not working after loing

Hi,

my laptop (thinkpad x280) keyboard stops working after the login screen.

It worked fine for years. I never had this issue. I think it came with an update.

The funny part:

If I reinstall "linux" and "linux-firmware":

pacman -R linux linux-firmware
pacman -S linux linux-firmware

and reboot the system the keyboard will continue to work until the next reboot.

Does anyone know where to go from there?

Thanks! smile

UPDATE

I noticed that the keyboard can be enabled with "xinput". It works again if I run the following:

> sudo xinput list

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Synaptics TM3381-002                    	id=10	[slave  pointer  (2)]
⎜   ↳ TPPS/2 Elan TrackPoint                  	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Integrated Camera: Integrated C         	id=9	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=13	[slave  keyboard (3)]
    ↳ Chicony USB Keyboard Consumer Control   	id=14	[slave  keyboard (3)]
    ↳ Chicony USB Keyboard System Control     	id=15	[slave  keyboard (3)]
    ↳ Chicony USB Keyboard                    	id=16	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=12	[slave  keyboard (3)]

> sudo xinput enable 12

It seems that the system update disabled the keyboard somehow. But I wonder why and how? I don't think calling "xinput enable 12" in "xinitrc" is the right approach to fix this. Does anyone know which config is responsible for this?

Last edited by feluxe (2022-01-22 11:02:20)

Offline

#2 2022-01-22 11:13:30

feluxe
Member
Registered: 2017-12-21
Posts: 14

Re: Laptop keyboard not working after loing

I found the problem.

For some reason the xinput device ids changed and I had a script to disable the touchpad in my i3wm config:

exec --no-startup-id xinput --disable 12

Id 12 is now the id of the keyboard and should not be disabled.

Now the only question left is why did the ids change?

Offline

Board footer

Powered by FluxBB