Comment 34 for bug 1907308

Revision history for this message
Wladimir Mutel (mwg) wrote :

$ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Power Button
/dev/input/event2: Sleep Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: Video Bus
/dev/input/event5: Ideapad extra buttons
/dev/input/event6: MSFT0001:01 04F3:3140 Mouse
/dev/input/event7: MSFT0001:01 04F3:3140 Touchpad
/dev/input/event8: sof-hda-dsp Mic
/dev/input/event9: sof-hda-dsp Headphone
/dev/input/event10: sof-hda-dsp HDMI/DP,pcm=3
/dev/input/event11: sof-hda-dsp HDMI/DP,pcm=4
/dev/input/event12: sof-hda-dsp HDMI/DP,pcm=5
/dev/input/event13: Integrated Camera: Integrated C
Select the device event number [0-13]:

tried to select 5, could not trigger any events from keyboard

tried to select 3, could trigger code 113 (KEY_MUTE), code 114 (KEY_VOLUMEDOWN) and code 115 (KEY_VOLUMEUP) with Fn+F1/F2/F3,

_nothing happened_ with pressing Fn+F4 (picture: microphone off), Fn+F5 (picture: brightness down), Fn+F6 (picture: brightness up), Fn+F8 (picture: airplane mode), Fn+Insert (on the right from F12, picture: star and letter S), Fn+PrtSc (picture: scissors and oval pointed cutout)

With Fn+F7 (picture: probably switch between local/external display), ^X@sp is printed in the terminal (Konsole), and the following events are dumped :

Event: time 1607686644.627232, type 4 (EV_MSC), code 4 (MSC_SCAN), value 19
Event: time 1607686644.627232, type 1 (EV_KEY), code 25 (KEY_P), value 0
Event: time 1607686644.627232, -------------- SYN_REPORT ------------
Event: time 1607686644.632269, type 4 (EV_MSC), code 4 (MSC_SCAN), value db
Event: time 1607686644.632269, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0
Event: time 1607686644.632269, -------------- SYN_REPORT ------------

Fn+F9 (picture: cog wheel or sun) prints ^X@si and code 23 (KEY_I) in the dump,
Fn+F10 (picture: lock) prints ^X@sl and code 38 (KEY_L),
Fn+F11 (picture: bar with 3 squares within) generated ESC Tab (0x1b 0x9) codes
Fn+F12 (picture: calculator) generates code 140 (KEY_CALC)

multimedia keys above the Num field generated codes 164 (KEY_PLAYPAUSE), 166 (KEY_STOPCD), 165 (KEY_PREVIOUSSONG) and 163 (KEY_NEXTSONG), accordingly

Fn+Space generated no events in evtest, but caused keyboard backlight cycle through medium level, high level and back off.