You are not logged in.

#1 2020-01-25 17:37:43

j83a
Member
Registered: 2020-01-25
Posts: 11

Passphrase can only be entered after hitting ECO key

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

#2 2020-02-05 10:07:10

rokidakota
Member
Registered: 2014-11-22
Posts: 34

Re: Passphrase can only be entered after hitting ECO key

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

#3 2020-02-06 21:16:22

j83a
Member
Registered: 2020-01-25
Posts: 11

Re: Passphrase can only be entered after hitting ECO key

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

#4 2020-02-27 10:53:17

rokidakota
Member
Registered: 2014-11-22
Posts: 34

Re: Passphrase can only be entered after hitting ECO key

What kind of info can I share?

It's the same brand: a Fujitsu E754, i7, integrated Intel graphics.

Offline

#5 2021-01-10 10:07:11

j83a
Member
Registered: 2020-01-25
Posts: 11

Re: Passphrase can only be entered after hitting ECO key

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

#6 2021-02-15 17:42:00

j83a
Member
Registered: 2020-01-25
Posts: 11

Re: Passphrase can only be entered after hitting ECO key

It is happening again now with 5.10.6.

Offline

#7 2022-03-03 16:28:40

melmacian
Member
Registered: 2022-03-03
Posts: 1

Re: Passphrase can only be entered after hitting ECO key

I had the same problem, adding psmouse to the modules in the initramfs did the trick for me!

Source: https://bbs.archlinux.org/viewtopic.php?id=219469

Offline

#8 2022-03-08 19:48:24

j83a
Member
Registered: 2020-01-25
Posts: 11

Re: Passphrase can only be entered after hitting ECO key

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

#9 2022-03-09 18:04:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Passphrase can only be entered after hitting ECO key

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

#10 2022-03-13 15:27:12

j83a
Member
Registered: 2020-01-25
Posts: 11

Re: Passphrase can only be entered after hitting ECO key

I put

autodetect

after

udev

and this changed nothing. Thank you for the idea though! big_smile

Offline

Board footer

Powered by FluxBB