You are not logged in.

#1 2021-12-21 19:27:26

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

[SOLVED] HP laptop keyboard (de_CH-latin1) issues

Since I switched to Linux, first manjaro, then Arch, I've had two major issues with my keyboard:

  • The f3 and f4 keys toggle the microphone mute (same as f8) instead of changing the laptop display brightness. I do remember them working ONCE one day ago, but never after that. The other function keys work as intended.

  • I would like the various accents (´, `, ^, ~, ¨) to wait until I press a vocal before printing out, and making that vocal accented, like they did on windows (and also on manjaro I think, I'm not sure). To make things clear, this is what the de_CH keyboard looks like

I'm using an HP ProBook 440 G6, and the BIOS is fully up to date (01.18.00 Rev.A).

In case any of you have experienced the exact same problems, and maybe found a fix, or have any idea, let me know below!
Thanks in advance!

Last edited by alba4k (2021-12-27 12:12:17)

Offline

#2 2021-12-22 07:33:05

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

setkxbmap -print -query

The basic swissgerman layout has

    key <AE11> { [ apostrophe,   question,   dead_acute             ] };
    key <AE12> { [ dead_circumflex, dead_grave, dead_tilde          ] };

so your desired behavior is the default for that layout.

This is unrelated to the brightness keys. What does

sudo libinput debug-events

report for brightness and mute keys?

Offline

#3 2021-12-23 16:18:56

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

sudo libinput debug-events
-event2   DEVICE_ADDED            Power Button                      seat0 default group1  cap:k
-event9   DEVICE_ADDED            Video Bus                         seat0 default group2  cap:k
-event1   DEVICE_ADDED            Lid Switch                        seat0 default group3  cap:S
-event0   DEVICE_ADDED            Sleep Button                      seat0 default group4  cap:k
-event10  DEVICE_ADDED            HP HD Camera: HP HD Camera        seat0 default group5  cap:k
-event8   DEVICE_ADDED            SYNA3082:00 06CB:8265 Mouse       seat0 default group6  cap:p left scroll-nat scroll-button
-event11  DEVICE_ADDED            SYNA3082:00 06CB:8265 Touchpad    seat0 default group6  cap:pg  size 106x61mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event3   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group7  cap:k
-event19  DEVICE_ADDED            SynPS/2 Synaptics TouchPad        seat0 default group8  cap:pg  size 69x50mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
-event7   DEVICE_ADDED            HP WMI hotkeys                    seat0 default group9  cap:k
-event4   DEVICE_ADDED            Wireless hotkeys                  seat0 default group10 cap:k
-event3   KEYBOARD_KEY            +0.000s	KEY_F20 (190) pressed
 event3   KEYBOARD_KEY            +0.007s	KEY_F20 (190) released
 event3   KEYBOARD_KEY            +1.813s	KEY_F20 (190) pressed
 event3   KEYBOARD_KEY            +1.820s	KEY_F20 (190) released
 event3   KEYBOARD_KEY            +3.123s	KEY_F20 (190) pressed
 event3   KEYBOARD_KEY            +3.130s	KEY_F20 (190) released

Apparently, f3, f4 and f8 (as functions) are seen as the same key

setxkbmap -print -query
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+ch(de_nodeadkeys)+inet(evdev)"	};
	xkb_geometry  { include "pc(pc86)"	};
};
rules:      evdev
model:      pc86
layout:     ch
variant:    de_nodeadkeys

Thanks for answering, hope this helps

Offline

#4 2021-12-23 17:02:50

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

You're using the "de_nodeadkeys" which only purpose is to defeat the behaviour you desire.
Simply use the basic ch layout (no variant, the "de" variant  is equivalent)

As for your brightness keys, we need to look a layer below

sudo evtest

If they're also the same there, it probably hangs on some wmi kernel module/parameter - but https://forums.linuxmint.com/viewtopic.php?t=333181 ended w/ a BIOS update.

Offline

#5 2021-12-24 10:11:30

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

Thank you, the accent keys are now fixed and are working as expected! àá..

setxkbmap -print -query
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwertz)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+ch+inet(evdev)"	};
	xkb_geometry  { include "pc(pc86)"	};
};
rules:      evdev
model:      pc86
layout:     ch

as for the other one, there you go

sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	Sleep Button
/dev/input/event1:	Lid Switch
/dev/input/event2:	Power Button
/dev/input/event3:	AT Translated Set 2 keyboard
/dev/input/event4:	Wireless hotkeys
/dev/input/event5:	ST LIS3LV02DL Accelerometer
/dev/input/event6:	HP WMI hotkeys
/dev/input/event7:	SYNA3082:00 06CB:8265 Mouse
/dev/input/event8:	Video Bus
/dev/input/event9:	PC Speaker
/dev/input/event10:	HP HD Camera: HP HD Camera
/dev/input/event11:	SYNA3082:00 06CB:8265 Touchpad
/dev/input/event12:	SynPS/2 Synaptics TouchPad
/dev/input/event13:	HDA Intel PCH Mic
/dev/input/event14:	HDA Intel PCH Headphone
/dev/input/event15:	HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event16:	HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event17:	HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event18:	HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event19:	HDA Intel PCH HDMI/DP,pcm=10
Select the device event number [0-19]:

Assuming we're intrested in the device "HP WMI hotkeys" =  /dev/input/event6 or "AT Translated Set 2 keyboard" = /dev/input/event3 (In both I am pressing f3, f4 and f8):

sudo evtest /dev/input/event3
Input driver version is 1.0.1
Input device ID: bus 0x11 vendor 0x1 product 0x1 version 0xab41
Input device name: "AT Translated Set 2 keyboard"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 1 (KEY_ESC)
    Event code 2 (KEY_1)
    Event code 3 (KEY_2)
    Event code 4 (KEY_3)
    Event code 5 (KEY_4)
    Event code 6 (KEY_5)
    Event code 7 (KEY_6)
    Event code 8 (KEY_7)
    Event code 9 (KEY_8)
    Event code 10 (KEY_9)
    Event code 11 (KEY_0)
    Event code 12 (KEY_MINUS)
    Event code 13 (KEY_EQUAL)
    Event code 14 (KEY_BACKSPACE)
    Event code 15 (KEY_TAB)
    Event code 16 (KEY_Q)
    Event code 17 (KEY_W)
    Event code 18 (KEY_E)
    Event code 19 (KEY_R)
    Event code 20 (KEY_T)
    Event code 21 (KEY_Y)
    Event code 22 (KEY_U)
    Event code 23 (KEY_I)
    Event code 24 (KEY_O)
    Event code 25 (KEY_P)
    Event code 26 (KEY_LEFTBRACE)
    Event code 27 (KEY_RIGHTBRACE)
    Event code 28 (KEY_ENTER)
    Event code 29 (KEY_LEFTCTRL)
    Event code 30 (KEY_A)
    Event code 31 (KEY_S)
    Event code 32 (KEY_D)
    Event code 33 (KEY_F)
    Event code 34 (KEY_G)
    Event code 35 (KEY_H)
    Event code 36 (KEY_J)
    Event code 37 (KEY_K)
    Event code 38 (KEY_L)
    Event code 39 (KEY_SEMICOLON)
    Event code 40 (KEY_APOSTROPHE)
    Event code 41 (KEY_GRAVE)
    Event code 42 (KEY_LEFTSHIFT)
    Event code 43 (KEY_BACKSLASH)
    Event code 44 (KEY_Z)
    Event code 45 (KEY_X)
    Event code 46 (KEY_C)
    Event code 47 (KEY_V)
    Event code 48 (KEY_B)
    Event code 49 (KEY_N)
    Event code 50 (KEY_M)
    Event code 51 (KEY_COMMA)
    Event code 52 (KEY_DOT)
    Event code 53 (KEY_SLASH)
    Event code 54 (KEY_RIGHTSHIFT)
    Event code 55 (KEY_KPASTERISK)
    Event code 56 (KEY_LEFTALT)
    Event code 57 (KEY_SPACE)
    Event code 58 (KEY_CAPSLOCK)
    Event code 59 (KEY_F1)
    Event code 60 (KEY_F2)
    Event code 61 (KEY_F3)
    Event code 62 (KEY_F4)
    Event code 63 (KEY_F5)
    Event code 64 (KEY_F6)
    Event code 65 (KEY_F7)
    Event code 66 (KEY_F8)
    Event code 67 (KEY_F9)
    Event code 68 (KEY_F10)
    Event code 69 (KEY_NUMLOCK)
    Event code 70 (KEY_SCROLLLOCK)
    Event code 71 (KEY_KP7)
    Event code 72 (KEY_KP8)
    Event code 73 (KEY_KP9)
    Event code 74 (KEY_KPMINUS)
    Event code 75 (KEY_KP4)
    Event code 76 (KEY_KP5)
    Event code 77 (KEY_KP6)
    Event code 78 (KEY_KPPLUS)
    Event code 79 (KEY_KP1)
    Event code 80 (KEY_KP2)
    Event code 81 (KEY_KP3)
    Event code 82 (KEY_KP0)
    Event code 83 (KEY_KPDOT)
    Event code 85 (KEY_ZENKAKUHANKAKU)
    Event code 86 (KEY_102ND)
    Event code 87 (KEY_F11)
    Event code 88 (KEY_F12)
    Event code 89 (KEY_RO)
    Event code 90 (KEY_KATAKANA)
    Event code 91 (KEY_HIRAGANA)
    Event code 92 (KEY_HENKAN)
    Event code 93 (KEY_KATAKANAHIRAGANA)
    Event code 94 (KEY_MUHENKAN)
    Event code 95 (KEY_KPJPCOMMA)
    Event code 96 (KEY_KPENTER)
    Event code 97 (KEY_RIGHTCTRL)
    Event code 98 (KEY_KPSLASH)
    Event code 99 (KEY_SYSRQ)
    Event code 100 (KEY_RIGHTALT)
    Event code 102 (KEY_HOME)
    Event code 103 (KEY_UP)
    Event code 104 (KEY_PAGEUP)
    Event code 105 (KEY_LEFT)
    Event code 106 (KEY_RIGHT)
    Event code 107 (KEY_END)
    Event code 108 (KEY_DOWN)
    Event code 109 (KEY_PAGEDOWN)
    Event code 110 (KEY_INSERT)
    Event code 111 (KEY_DELETE)
    Event code 112 (KEY_MACRO)
    Event code 113 (KEY_MUTE)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 116 (KEY_POWER)
    Event code 117 (KEY_KPEQUAL)
    Event code 118 (KEY_KPPLUSMINUS)
    Event code 119 (KEY_PAUSE)
    Event code 121 (KEY_KPCOMMA)
    Event code 122 (KEY_HANGUEL)
    Event code 123 (KEY_HANJA)
    Event code 124 (KEY_YEN)
    Event code 125 (KEY_LEFTMETA)
    Event code 126 (KEY_RIGHTMETA)
    Event code 127 (KEY_COMPOSE)
    Event code 128 (KEY_STOP)
    Event code 138 (KEY_HELP)
    Event code 140 (KEY_CALC)
    Event code 142 (KEY_SLEEP)
    Event code 143 (KEY_WAKEUP)
    Event code 152 (KEY_SCREENLOCK)
    Event code 155 (KEY_MAIL)
    Event code 156 (KEY_BOOKMARKS)
    Event code 157 (KEY_COMPUTER)
    Event code 158 (KEY_BACK)
    Event code 159 (KEY_FORWARD)
    Event code 163 (KEY_NEXTSONG)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 165 (KEY_PREVIOUSSONG)
    Event code 166 (KEY_STOPCD)
    Event code 172 (KEY_HOMEPAGE)
    Event code 173 (KEY_REFRESH)
    Event code 183 (KEY_F13)
    Event code 184 (KEY_F14)
    Event code 185 (KEY_F15)
    Event code 190 (KEY_F20)
    Event code 212 (KEY_CAMERA)
    Event code 217 (KEY_SEARCH)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 226 (KEY_MEDIA)
    Event code 227 (KEY_SWITCHVIDEOMODE)
    Event code 236 (KEY_BATTERY)
    Event code 238 (KEY_WLAN)
    Event code 240 (KEY_UNKNOWN)
    Event code 389 (KEY_DVD)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
  Event type 17 (EV_LED)
    Event code 0 (LED_NUML) state 0
    Event code 1 (LED_CAPSL) state 0
    Event code 2 (LED_SCROLLL) state 0
Key repeat handling:
  Repeat type 20 (EV_REP)
    Repeat code 0 (REP_DELAY)
      Value    250
    Repeat code 1 (REP_PERIOD)
      Value     33
Properties:
Testing ... (interrupt to exit)
Event: time 1640340473.532873, type 4 (EV_MSC), code 4 (MSC_SCAN), value 1c
Event: time 1640340473.532873, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
Event: time 1640340473.532873, -------------- SYN_REPORT ------------
Event: time 1640340475.064520, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340475.064520, type 1 (EV_KEY), code 190 (KEY_F20), value 1
Event: time 1640340475.064520, -------------- SYN_REPORT ------------
Event: time 1640340475.071522, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340475.071522, type 1 (EV_KEY), code 190 (KEY_F20), value 0
Event: time 1640340475.071522, -------------- SYN_REPORT ------------
Event: time 1640340475.917476, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340475.917476, type 1 (EV_KEY), code 190 (KEY_F20), value 1
Event: time 1640340475.917476, -------------- SYN_REPORT ------------
Event: time 1640340475.924569, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340475.924569, type 1 (EV_KEY), code 190 (KEY_F20), value 0
Event: time 1640340475.924569, -------------- SYN_REPORT ------------
Event: time 1640340476.974837, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340476.974837, type 1 (EV_KEY), code 190 (KEY_F20), value 1
Event: time 1640340476.974837, -------------- SYN_REPORT ------------
Event: time 1640340476.981899, type 4 (EV_MSC), code 4 (MSC_SCAN), value 81
Event: time 1640340476.981899, type 1 (EV_KEY), code 190 (KEY_F20), value 0
Event: time 1640340476.981899, -------------- SYN_REPORT ------------
Event: time 1640340477.091695, type 4 (EV_MSC), code 4 (MSC_SCAN), value 42
Event: time 1640340477.091695, -------------- SYN_REPORT ------------
sudo evtest /dev/input/event6
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "HP WMI hotkeys"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 138 (KEY_HELP)
    Event code 141 (KEY_SETUP)
    Event code 148 (KEY_PROG1)
    Event code 153 (KEY_DIRECTION)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 226 (KEY_MEDIA)
    Event code 240 (KEY_UNKNOWN)
    Event code 358 (KEY_INFO)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
  Event type 5 (EV_SW)
Properties:
Testing ... (interrupt to exit)

Thanks a lot for still being here, hope this helps!

Offline

#6 2021-12-24 10:33:33

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

It's not handled by the wmi…

lsmod
sudo journalctl -b | grep -i wmi

Offline

#7 2021-12-24 10:36:15

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

Oh, ok, I had a doubt when I saw that it gave no input, but thanks for letting me know
Quick answer by the way
Let me try that really fast
Anyway, there you go:

lsmod
Module                  Size  Used by
ccm                    20480  6
rfcomm                 90112  16
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
snd_hda_codec_hdmi     81920  1
bnep                   32768  2
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common   131072  1 snd_sof_pci_intel_cnl
soundwire_intel        53248  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               200704  2 snd_sof_pci,snd_sof_intel_hda_common
soundwire_bus         118784  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
snd_soc_skl           221184  0
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        20480  1 snd_soc_skl
intel_tcc_cooling      16384  0
snd_soc_sst_dsp        40960  1 snd_soc_skl
x86_pkg_temp_thermal    20480  0
snd_soc_acpi_intel_match    57344  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
intel_powerclamp       20480  0
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
coretemp               20480  0
btusb                  65536  0
kvm_intel             356352  0
mousedev               24576  0
btrtl                  28672  1 btusb
snd_soc_core          393216  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
iTCO_wdt               16384  0
kvm                  1097728  1 kvm_intel
btbcm                  24576  1 btusb
rtw88_8822be           16384  0
snd_compress           28672  1 snd_soc_core
intel_pmc_bxt          16384  1 iTCO_wdt
btintel                45056  1 btusb
rtw88_8822b           233472  1 rtw88_8822be
ee1004                 20480  0
hp_wmi                 24576  0
irqbypass              16384  1 kvm
hid_multitouch         32768  0
iTCO_vendor_support    16384  1 iTCO_wdt
ac97_bus               16384  1 snd_soc_core
mei_hdcp               24576  0
sparse_keymap          16384  1 hp_wmi
bluetooth             749568  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rtw88_pci              36864  1 rtw88_8822be
snd_pcm_dmaengine      16384  1 snd_soc_core
crct10dif_pclmul       16384  1
snd_hda_intel          61440  3
crc32_pclmul           16384  0
intel_rapl_msr         20480  0
platform_profile       16384  1 hp_wmi
wmi_bmof               16384  0
ecdh_generic           16384  2 bluetooth
ghash_clmulni_intel    16384  0
joydev                 28672  0
snd_intel_dspcfg       32768  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
aesni_intel           380928  8
rtw88_core            262144  2 rtw88_pci,rtw88_8822b
crypto_simd            16384  1 aesni_intel
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
snd_hda_codec         184320  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
mac80211             1236992  2 rtw88_pci,rtw88_core
rapl                   16384  0
snd_hda_core          118784  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
intel_cstate           20480  0
snd_hwdep              16384  1 snd_hda_codec
uvcvideo              147456  0
intel_uncore          208896  0
snd_pcm               163840  11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
libarc4                16384  1 mac80211
processor_thermal_device_pci_legacy    16384  0
videobuf2_vmalloc      20480  1 uvcvideo
r8169                 106496  0
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
snd_timer              49152  1 snd_pcm
videobuf2_memops       20480  1 videobuf2_vmalloc
pcspkr                 16384  0
realtek                36864  1
processor_thermal_rfim    16384  1 processor_thermal_device
psmouse               212992  0
cfg80211             1073152  2 rtw88_core,mac80211
videobuf2_v4l2         40960  1 uvcvideo
snd                   126976  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
i2c_i801               45056  0
mdio_devres            16384  1 r8169
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
mei_me                 53248  1
i2c_smbus              20480  1 i2c_i801
i915                 3276800  28
soundcore              16384  1 snd
rfkill                 32768  9 hp_wmi,bluetooth,cfg80211
libphy                167936  3 r8169,mdio_devres,realtek
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
processor_thermal_rapl    20480  1 processor_thermal_device
mei                   167936  3 mei_hdcp,mei_me
ucsi_acpi              16384  0
intel_lpss_pci         28672  0
videodev              307200  3 videobuf2_v4l2,uvcvideo,videobuf2_common
ttm                    86016  1 i915
typec_ucsi             53248  1 ucsi_acpi
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_rapl
intel_lpss             16384  1 intel_lpss_pci
mc                     65536  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
idma64                 20480  0
intel_gtt              28672  1 i915
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
intel_pch_thermal      20480  0
typec                  65536  1 typec_ucsi
roles                  16384  1 typec_ucsi
i2c_hid_acpi           16384  0
wmi                    45056  2 hp_wmi,wmi_bmof
i2c_hid                40960  1 i2c_hid_acpi
tpm_crb                20480  0
tpm_tis                16384  0
tpm_tis_core           32768  1 tpm_tis
int3403_thermal        20480  0
hp_accel               28672  0
tpm                    98304  3 tpm_tis,tpm_crb,tpm_tis_core
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
int3400_thermal        20480  0
video                  57344  1 i915
lis3lv02d              32768  1 hp_accel
acpi_thermal_rel       16384  1 int3400_thermal
rng_core               16384  1 tpm
mac_hid                16384  0
wireless_hotkey        16384  0
acpi_pad               24576  0
crypto_user            24576  0
fuse                  176128  5
bpf_preload            16384  0
ip_tables              36864  0
x_tables               57344  1 ip_tables
ext4                 1003520  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  192512  1 ext4
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
i8042                  40960  1 hp_accel
xhci_pci               20480  0
crc32c_intel           24576  2
xhci_pci_renesas       24576  1 xhci_pci
serio                  28672  10 serio_raw,atkbd,hp_accel,psmouse,i8042
sudo journalctl -b | grep -i wmi
dic 24 11:34:58 ProBook kernel: acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
dic 24 11:34:58 ProBook kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
dic 24 11:34:59 ProBook kernel: hp_wmi: query 0x4 returned error 0x5
dic 24 11:34:59 ProBook kernel: hp_wmi: query 0xd returned error 0x5
dic 24 11:34:59 ProBook kernel: input: HP WMI hotkeys as /devices/virtual/input/input19
dic 24 11:34:59 ProBook kernel: hp_wmi: query 0x1b returned error 0x5

Hope this helps!

Last edited by alba4k (2021-12-24 10:39:38)

Offline

#8 2021-12-24 13:44:11

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

Try to blackist hp_wmi - use the kernel command line editor of your bootloader (eg. grub) - so if this goes wrong, a simple reboot will clear the stage (nb. that I don't *expect* any issues from this, but safe > sorry)
https://wiki.archlinux.org/title/Kernel … and_line_2

You only load the hp_wmi (ie. no other vendor wmi cuts into the show), there're some errors… so let's see what happens if we leave it alone.

Offline

#9 2021-12-25 12:26:27

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

ok, sorry for not answering, I was setting up latte-dock, which was giving me some issues with various shortcuts (randomly fixed itself, nice)

by the way, tell me if you think my efforts where worth it (posted it on r/unixporn cause I'm dumb, ig

also, let me try to disable hp_wmi on boot really fast (will edit soon)

Ok, so, I have no clue what was supposed to happen, but after booting with module_blacklist=hp_wmi in the grub command line, nothing really appears to have changed.

in case that might be useful, here is the output of some commands you asked for before:

lsmod
Module                  Size  Used by
ccm                    20480  6
rfcomm                 90112  16
snd_hda_codec_hdmi     81920  1
snd_hda_codec_realtek   159744  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
snd_sof_pci_intel_cnl    16384  0
snd_sof_intel_hda_common   131072  1 snd_sof_pci_intel_cnl
soundwire_intel        53248  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      45056  1 soundwire_intel
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_pci            20480  2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               200704  2 snd_sof_pci,snd_sof_intel_hda_common
soundwire_bus         118784  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
intel_tcc_cooling      16384  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_sof
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
bnep                   32768  2
snd_soc_skl           221184  0
coretemp               20480  0
snd_soc_hdac_hda       28672  2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core       36864  4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc        20480  1 snd_soc_skl
snd_soc_sst_dsp        40960  1 snd_soc_skl
kvm_intel             356352  0
btusb                  65536  0
snd_soc_acpi_intel_match    57344  3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
btrtl                  28672  1 btusb
rtw88_8822be           16384  0
snd_soc_acpi           16384  3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
btbcm                  24576  1 btusb
snd_soc_core          393216  5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
kvm                  1097728  1 kvm_intel
btintel                45056  1 btusb
rtw88_8822b           233472  1 rtw88_8822be
snd_compress           28672  1 snd_soc_core
rtw88_pci              36864  1 rtw88_8822be
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  1
mousedev               24576  0
mei_hdcp               24576  0
iTCO_wdt               16384  0
snd_hda_intel          61440  6
hp_wmi                 24576  0
bluetooth             749568  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rtw88_core            262144  2 rtw88_pci,rtw88_8822b
crc32_pclmul           16384  0
ee1004                 20480  0
snd_intel_dspcfg       32768  3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
sparse_keymap          16384  1 hp_wmi
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
intel_pmc_bxt          16384  1 iTCO_wdt
ghash_clmulni_intel    16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
hid_multitouch         32768  0
joydev                 28672  0
intel_rapl_msr         20480  0
platform_profile       16384  1 hp_wmi
wmi_bmof               16384  0
ecdh_generic           16384  2 bluetooth
snd_hda_codec         184320  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
aesni_intel           380928  8
mac80211             1236992  2 rtw88_pci,rtw88_core
crypto_simd            16384  1 aesni_intel
libarc4                16384  1 mac80211
snd_hda_core          118784  10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
uvcvideo              147456  0
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel
snd_hwdep              16384  1 snd_hda_codec
r8169                 106496  0
rapl                   16384  0
snd_pcm               163840  13 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
videobuf2_vmalloc      20480  1 uvcvideo
processor_thermal_device_pci_legacy    16384  0
realtek                36864  1
intel_cstate           20480  0
intel_uncore          208896  0
snd_timer              49152  1 snd_pcm
processor_thermal_device    20480  1 processor_thermal_device_pci_legacy
videobuf2_memops       20480  1 videobuf2_vmalloc
cfg80211             1073152  2 rtw88_core,mac80211
videobuf2_v4l2         40960  1 uvcvideo
mdio_devres            16384  1 r8169
processor_thermal_rfim    16384  1 processor_thermal_device
i2c_i801               45056  0
pcspkr                 16384  0
snd                   126976  20 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
psmouse               212992  0
i915                 3276800  29
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
processor_thermal_mbox    16384  2 processor_thermal_rfim,processor_thermal_device
soundcore              16384  1 snd
i2c_smbus              20480  1 i2c_i801
rfkill                 32768  9 hp_wmi,bluetooth,cfg80211
mei_me                 53248  1
libphy                167936  3 r8169,mdio_devres,realtek
intel_lpss_pci         28672  0
videodev              307200  3 videobuf2_v4l2,uvcvideo,videobuf2_common
processor_thermal_rapl    20480  1 processor_thermal_device
ucsi_acpi              16384  0
mei                   167936  3 mei_hdcp,mei_me
ttm                    86016  1 i915
intel_rapl_common      32768  2 intel_rapl_msr,processor_thermal_rapl
typec_ucsi             53248  1 ucsi_acpi
intel_lpss             16384  1 intel_lpss_pci
mc                     65536  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
idma64                 20480  0
intel_pch_thermal      20480  0
intel_gtt              28672  1 i915
intel_soc_dts_iosf     20480  1 processor_thermal_device_pci_legacy
typec                  65536  1 typec_ucsi
roles                  16384  1 typec_ucsi
i2c_hid_acpi           16384  0
wmi                    45056  2 hp_wmi,wmi_bmof
tpm_crb                20480  0
i2c_hid                40960  1 i2c_hid_acpi
tpm_tis                16384  0
hp_accel               28672  0
int3403_thermal        20480  0
int340x_thermal_zone    20480  2 int3403_thermal,processor_thermal_device
tpm_tis_core           32768  1 tpm_tis
lis3lv02d              32768  1 hp_accel
video                  57344  1 i915
tpm                    98304  3 tpm_tis,tpm_crb,tpm_tis_core
int3400_thermal        20480  0
mac_hid                16384  0
acpi_pad               24576  0
rng_core               16384  1 tpm
acpi_thermal_rel       16384  1 int3400_thermal
wireless_hotkey        16384  0
crypto_user            24576  0
fuse                  176128  5
bpf_preload            16384  0
ip_tables              36864  0
x_tables               57344  1 ip_tables
ext4                 1003520  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  192512  1 ext4
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  2 atkbd,psmouse
xhci_pci               20480  0
i8042                  40960  1 hp_accel
crc32c_intel           24576  2
xhci_pci_renesas       24576  1 xhci_pci
serio                  28672  10 serio_raw,atkbd,hp_accel,psmouse,i8042
sudo journalctl -b | grep -i wmi
dic 25 13:29:07 ProBook kernel: acpi PNP0C14:01: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
dic 25 13:29:07 ProBook kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:00)
dic 25 13:29:07 ProBook kernel: hp_wmi: query 0x4 returned error 0x5
dic 25 13:29:07 ProBook kernel: hp_wmi: query 0xd returned error 0x5
dic 25 13:29:07 ProBook kernel: input: HP WMI hotkeys as /devices/virtual/input/input22
dic 25 13:29:07 ProBook kernel: hp_wmi: query 0x1b returned error 0x5

don't mind telling me if you think i might have done somrthing wrong (i pressed c from the grub screen, typed module_blacklist=hp_wmi, then pressed esc and booted from the default Arch Linux entry)

Last edited by alba4k (2021-12-25 12:35:15)

Offline

#10 2021-12-25 13:23:46

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

"module_blacklist=hp_wmi" doesn't show up in the juornal grep - how did you add it to the commandline and if it was /etc/defaults/grub, did you grub-mkconfig afterwards?
If this can really not prevent the module from being loaded you'll have to go for the /bin/true variant explained in the wiki, but atm. it looks more like the parameter wasn't applied at all.

Offline

#11 2021-12-25 13:28:30

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

As I said, I'm not totally sure I did it right
Wanna talk on telegram, that way it's easier to talk

Let me try again and see if it applies

Offline

#12 2021-12-25 22:35:30

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

After trying, I only had one boot with something different, but it might also have been a kde bug (latte-dock didnt load, and the wallpaper had reset to default)
The journal and hotkeys still gave the same output, so idk.
I might try tomorrow to try with /etc/default/grub, I will let you know (it's basically midnight right now). also, merry xmas

Offline

#13 2021-12-27 07:49:09

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

alba4k wrote:

I might try tomorrow to try with /etc/default/grub, I will let you know (it's basically midnight right now). also, merry xmas

WRT your DM, I was kinda waiting for the progress report on this. Notice that findigs on different HW are pretty much useless because this is very much vendor dependent and even different generations of the same notebook model might not show the same behavior.
THe next and probably last resort suggestion to maybe somehow get some access to those keys  would have been https://wiki.archlinux.org/title/Acpid# … ht_control

Offline

#14 2021-12-27 11:29:13

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

SOLUTION:
I tried to update the BIOS via the windows utility, and it did not work
Apparently, rolling back to the previous version (01.17.00) from the bios, and then updating, still from there, to the newer one (01.18.00) fixed it?

A weird thing i noticed while updating though is that while updating PEIA the fan goes crazy and the computer shuts down, probably for termal related issues, at 90%

I tried to keep the computer as cool as possible, and it got a bit further, but still shut down

I might try later, if i get some issues, or with the next stable BIOS.

Anyway, I think we can consider the issue fixed
But still, thank you Seth for helping and for fixing the accented vocals! [áèîõü]

Offline

#15 2021-12-27 12:52:07

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

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

If there's still a parallel windows installation, the 3rd link below might be very relevant.

Offline

#16 2021-12-28 10:47:16

alba4k
Member
From: Switzerland
Registered: 2021-12-05
Posts: 157
Website

Re: [SOLVED] HP laptop keyboard (de_CH-latin1) issues

nah windows fast boot has always been disabled

Last edited by alba4k (2021-12-28 10:48:09)

Offline

Board footer

Powered by FluxBB