You are not logged in.

#1 2023-01-01 17:00:28

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Keyboard doesn't work at login

Hello,

My arch install on thinkpad x220 doesn't let me type when I arrive at login in tty since a week or so.
Caps lock led does respond. USB keyboard also doesn't work and I can't switch tty.
The keyboard still works at GRUB menu. I have booted into live USB and used command  "sleep 5; journalctl -b | curl -F 'file=@-' 0x0.st" to get log as described in https://bbs.archlinux.org/viewtopic.php?id=278864. Output is at 0x0.st/oRX-.txt. Please tell me if more information is needed.

Offline

#2 2023-01-01 17:20:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

There's no obvious problem in that journal.
1. does the lts kernel still work?
2. try adding "i8042.dumbkbd=1" to the kernel commandline (though I don't see how this would help if an external keyboard fails as well. That's not in the journal, though?)
3. NM drags in wpa_supplicant but you also have iwd enabled, disable the latter or use https://wiki.archlinux.org/title/Networ … Fi_backend (it's a stretch, but hey…)

Offline

#3 2023-01-01 17:57:57

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

Thanks for the quick response

1. I installed the lts kernel and chose it in advances options in grub but it still doesn't work.
2. That doesn't work. I tried typing with USB keyboard earlier, but I can plug it in and upload the log if needed.
3. Disabling iwd also doesn't work.

Offline

#4 2023-01-01 20:05:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

So an older kernel doesn't work and an external keyboard doesn't work either.

My arch install on thinkpad x220 doesn't let me type when I arrive at login in tty since a week or so.

What happened a week ago (or so)?
Did you possibly update the BIOS?
Was systemd updated around that time (check your pacman log)?

Offline

#5 2023-01-02 22:25:49

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

13 december after 2 months of no upgrading I did a full system upgrade and systemd was updated from 251.6-2 to 252.3-1 and kernel from 6.0.2. to 6.0.12.
I also kept getting the error message: WARNING: Possibly missing firmware for module: xhci_pci.
I did not update BIOS.

Offline

#6 2023-01-02 22:43:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

251.6 will get you into trouble b/c of the openssl bump, but you should™ be able to downgrade to 251.7-4
https://wiki.archlinux.org/title/Arch_Linux_Archive

Edit: make sure you've some bootable live system at hand (install iso, grml, …)

Last edited by seth (2023-01-02 22:44:14)

Offline

#7 2023-01-03 00:07:27

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

I downgraded systemd. Do I have to downgrade the systemdlib package seperately?

Offline

#8 2023-01-03 01:22:11

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: Keyboard doesn't work at login

bimbambo wrote:

I downgraded systemd. Do I have to downgrade the systemdlib package seperately?

The systemd package doesn't version that dependency, but downgrading systemd-libs in sync would seem wise.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2023-01-03 10:44:18

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

I have downgraded systemd-libs as well, but this didn't fix the problem.

Offline

#10 2023-01-03 14:09:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

* Neither the kernel nor systemd are relevant.
* Internal and USB keyboard are affected (not? the BUS)
* Keyboard works in GRUB (not the HW)

1. Try some live distro (grml) for an entirely differen SW stack.
2. Script the session to auto-run "libinput debug-events" and see whether that produces any output (w/ and w/o your interaction)

Offline

#11 2023-01-03 17:09:09

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

1. I don't understand why I need to use a live distro and what I would have to do after that?
2. It first showed some lines with -event2 DEVICE_ADDED Poser Button seat0 default group1 cap:k.
For Power Button, same for USB Keyboard, AT Translated Set 2 keyboard and more.
When I started typing it said: event3 KEYBOARD_KEY ... pressed
for the USB keyboard and event 5 in the case of thinkpad keyboard.

Offline

#12 2023-01-03 17:31:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

To try some entirely different software and rule out some weird HW issue, however libinput correctly reports input.
Maybe this is just a visual thing?
If you from the autologin (blindly) enter "systemctl reboot", does the system reboot?
Does the "keyboard" work if you boot the multi-user.target along the "nomodeset" kernel parameter?
(2nd link below)

Edit: though you're apparently getting something of an output… hmm

Last edited by seth (2023-01-03 17:31:34)

Offline

#13 2023-01-03 17:41:29

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

systemctl reboot doesn't work neither does using nomodeset and systemd.unit=multi-user.target as kernel parameters.

Offline

#14 2023-01-03 18:05:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

What does your vconsole.conf look like?
What if you autorun "loadkeys us" ?

Offline

#15 2023-01-03 18:47:58

bimbambo
Member
Registered: 2023-01-01
Posts: 8

Re: Keyboard doesn't work at login

That solved it. I had a personal map in vconsole.conf because I wanted to use CapsLK as Esc key in tty. I changed it to us qwerty and now I can type again.
Thank you very much!

Offline

#16 2023-01-03 20:54:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,406

Re: Keyboard doesn't work at login

Did the map previously work and/or does it work if you load it at runtime?
This might be because of the recent mkinicpio hook changes, specifically the keymap addition.
https://gitlab.archlinux.org/archlinux/ … e12a95470a

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB