You are not logged in.
The machine is a Fujitsu Siemens S936 which apart from this issue works perfectly fine.
The issue I describe has been there forever (2+ years) but I finally got annoyed enough to ask for help.
I use full disk encryption using dm-crypt + LUKS so I have to enter a passphrase before Archlinux starts.
My mkinitcpio.conf has the following HOOKS:
HOOKS=(base udev keyboard keymap autodetect modconf block encrypt filesystems fsck)
When I am at the passphrase prompt, the keyboard does not work. Only if I hit the ECO key above the main keyboard, sometimes multiple times, I can enter my passphrase and have hitting the Enter key actually enter it.
Here is that key: https://www.notebookcheck.com/fileadmin … 1b7575.jpg
While this is of course in X and a much later stage I tried to find more info about the key via xev and evtest.
With evtest I found this key at /dev/input/event5, labelled as "Fujitsu FUJ02E3". Here is me pressing it once in evtest as root:
# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Sleep Button
/dev/input/event2: Lid Switch
/dev/input/event3: Video Bus
/dev/input/event4: AT Translated Set 2 keyboard
/dev/input/event5: Fujitsu FUJ02E3
/dev/input/event6: HDA Digital PCBeep
/dev/input/event7: HDA Intel PCH Headphone
/dev/input/event8: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event9: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event10: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event11: HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event12: HDA Intel PCH HDMI/DP,pcm=10
/dev/input/event13: SynPS/2 Synaptics TouchPad
/dev/input/event14: FJ Camera: FJ Camera
Select the device event number [0-14]: 5
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Fujitsu FUJ02E3"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 148 (KEY_PROG1)
Event code 149 (KEY_PROG2)
Event code 202 (KEY_PROG3)
Event code 203 (KEY_PROG4)
Event code 240 (KEY_UNKNOWN)
Event code 247 (KEY_RFKILL)
Event code 248 (KEY_MICMUTE)
Event code 530 (KEY_TOUCHPAD_TOGGLE)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1579974338.168671, type 4 (EV_MSC), code 4 (MSC_SCAN), value 413
Event: time 1579974338.168671, type 1 (EV_KEY), code 203 (KEY_PROG4), value 1
Event: time 1579974338.168671, -------------- SYN_REPORT ------------
Event: time 1579974338.303542, type 4 (EV_MSC), code 4 (MSC_SCAN), value 413
Event: time 1579974338.303542, type 1 (EV_KEY), code 203 (KEY_PROG4), value 0
Event: time 1579974338.303542, -------------- SYN_REPORT ------------
Monitoring with xev gives me this:
MappingNotify event, serial 37, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
KeyPress event, serial 37, synthetic NO, window 0x5400001,
root 0x1bc, subw 0x0, time 1352458, (-299,203), root:(572,663),
state 0x0, keycode 211 (keysym 0x1008ff44, XF86Launch4), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x5400001,
root 0x1bc, subw 0x0, time 1352628, (-299,203), root:(572,663),
state 0x0, keycode 211 (keysym 0x1008ff44, XF86Launch4), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
What could cause this? How can I fix this?
Last edited by j83a (2020-01-25 17:47:54)
Offline
Thank you very much for posting this. I spent yesterday the whole day trying to figure out why I couldn't enter the password.
How on earth did you figure this out?
Offline
Confusion and anger mostly, and pure luck.
Could you share details about your setup as well? It would be great if we found out why this is happening and on which devices.
Offline
What kind of info can I share?
It's the same brand: a Fujitsu E754, i7, integrated Intel graphics.
Offline
This does not seem to happen for me anymore. Kernel is 5.10.5-arch1-1 and I changed nothing in my mkinitcpio.
Last edited by j83a (2021-01-10 10:07:52)
Offline
It is happening again now with 5.10.6.
Offline
I had the same problem, adding psmouse to the modules in the initramfs did the trick for me!
Offline
Thanks!
When I do that it does not solve the issue at entering the passphrase but additionally makes my keyboard and mouse stop reacting alltogether at times. Mysterious.
Offline
I just finished setting up full disc encryption on a laptop and notice one difference in our mkinitcpio.conf hooks.
wiki lists base udev autodetect as first 3 hooks with encrypt hook .
No idea if it matters, but may be worth testing.
Last edited by Lone_Wolf (2022-03-09 18:05:22)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I put
autodetect
after
udev
and this changed nothing. Thank you for the idea though!
Offline