Fn key not working after sleep/suspend

Hello,

I just switched from Mac OS to Manjaro on a Huawei Matebook 16 and like it very well. The function keys except brightness control all worked from the box, for the brightness I just had to add a short line to the grub file. There now is only one problem:

After the laptop wakes up from sleep (e.g. if the lid is reopened) the Fn-key shows no response at all anymore, also no response in showkey. So pressing a F1-F12 key always is sensed as a the F-key and not the volume/brightness function, irregardless if the fn-key is pressed or not. The small Fn-lock LED indicator is also not switching when the key is pressed alone (which normally enables Fn-lock). Also, pressing caps lock still switches caps lock on but the indicator LED is not switched on. All of this changes back to normal after restarting the laptop.

Journal of the time between lid close and lid open:

Nov 17 17:15:20 systemd-logind[633]: Lid closed.
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.3935] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Nov 17 17:15:20 ModemManager[668]: <info>  [sleep-monitor] system is about to suspend
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.3938] device (p2p-dev-wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.3946] manager: NetworkManager state is now ASLEEP
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.3949] device (wlp1s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Nov 17 17:15:20 dbus-daemon[627]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=628 comm="/usr/bin/NetworkManager --no-daemon ")
Nov 17 17:15:20 systemd[1]: Starting Network Manager Script Dispatcher Service...
Nov 17 17:15:20 dbus-daemon[627]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov 17 17:15:20 systemd[1]: Started Network Manager Script Dispatcher Service.
Nov 17 17:15:20 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:20 kernel: kauditd_printk_skb: 14 callbacks suppressed
Nov 17 17:15:20 kernel: audit: type=1130 audit(1637165720.402:90): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:20 kernel: wlp1s0: deauthenticating from f4:06:8d:df:28:98 by local choice (Reason: 3=DEAUTH_LEAVING)
Nov 17 17:15:20 wpa_supplicant[927]: wlp1s0: CTRL-EVENT-DISCONNECTED bssid=f4:06:8d:df:28:98 reason=3 locally_generated=1
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.4835] device (wlp1s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Nov 17 17:15:20 avahi-daemon[625]: Withdrawing address record for fe80::9c45:2291:a9a3:7e0 on wlp1s0.
Nov 17 17:15:20 avahi-daemon[625]: Leaving mDNS multicast group on interface wlp1s0.IPv6 with address fe80::9c45:2291:a9a3:7e0.
Nov 17 17:15:20 avahi-daemon[625]: Interface wlp1s0.IPv6 no longer relevant for mDNS.
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5459] dhcp4 (wlp1s0): canceled DHCP transaction
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5460] dhcp4 (wlp1s0): state changed bound -> terminated
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5463] dhcp6 (wlp1s0): canceled DHCP transaction
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5464] dhcp6 (wlp1s0): state changed bound -> terminated
Nov 17 17:15:20 avahi-daemon[625]: Interface wlp1s0.IPv4 no longer relevant for mDNS.
Nov 17 17:15:20 avahi-daemon[625]: Leaving mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.2.162.
Nov 17 17:15:20 avahi-daemon[625]: Withdrawing address record for 192.168.2.162 on wlp1s0.
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5494] device (wlp1s0): set-hw-addr: set MAC address to 8A:6E:CF:A9:DA:85 (scanning)
Nov 17 17:15:20 avahi-daemon[625]: Joining mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.2.162.
Nov 17 17:15:20 avahi-daemon[625]: New relevant interface wlp1s0.IPv4 for mDNS.
Nov 17 17:15:20 avahi-daemon[625]: Registering new address record for 192.168.2.162 on wlp1s0.IPv4.
Nov 17 17:15:20 avahi-daemon[625]: Withdrawing address record for 192.168.2.162 on wlp1s0.
Nov 17 17:15:20 avahi-daemon[625]: Leaving mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.2.162.
Nov 17 17:15:20 avahi-daemon[625]: Interface wlp1s0.IPv4 no longer relevant for mDNS.
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5585] device (wlp1s0): supplicant interface state: completed -> disconnected
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5601] device (wlp1s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Nov 17 17:15:20 NetworkManager[628]: <info>  [1637165720.5621] device (wlp1s0): set-hw-addr: reset MAC address to 08:5B:D6:07:D3:B1 (unmanage)
Nov 17 17:15:20 systemd[1]: Reached target Sleep.
Nov 17 17:15:20 systemd[1]: Starting System Suspend...
Nov 17 17:15:20 wpa_supplicant[927]: nl80211: deinit ifname=p2p-dev-wlp1s0 disabled_11b_rates=0
Nov 17 17:15:20 systemd-sleep[1795]: Entering sleep state 'suspend'...
Nov 17 17:15:20 kernel: PM: suspend entry (s2idle)
Nov 17 17:15:20 kernel: Filesystems sync: 0.007 seconds
Nov 17 17:15:20 wpa_supplicant[927]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
Nov 17 17:15:25 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Nov 17 17:15:25 kernel: OOM killer disabled.
Nov 17 17:15:25 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Nov 17 17:15:25 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Nov 17 17:15:25 kernel: ACPI: EC: interrupt blocked
Nov 17 17:15:25 kernel: ACPI: EC: interrupt unblocked
Nov 17 17:15:25 kernel: [drm] PCIE GART of 1024M enabled.
Nov 17 17:15:25 kernel: [drm] PTB located at 0x000000F400900000
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: dpm has been disabled
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
Nov 17 17:15:25 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Nov 17 17:15:25 kernel: [drm] DMUB hardware initialized: version=0x01010019
Nov 17 17:15:25 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Nov 17 17:15:25 kernel: [drm] JPEG decode initialized successfully.
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
Nov 17 17:15:25 kernel: amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
Nov 17 17:15:25 kernel: OOM killer enabled.
Nov 17 17:15:25 kernel: Restarting tasks ... done.
Nov 17 17:15:25 systemd-logind[633]: Lid opened.
Nov 17 17:15:25 kernel: ata1: SATA link down (SStatus 0 SControl 300)
Nov 17 17:15:25 kernel: ata2: SATA link down (SStatus 0 SControl 300)
Nov 17 17:15:25 systemd-sleep[1795]: System returned from sleep state.
Nov 17 17:15:25 bluetoothd[970]: Controller resume with wake event 0x0
Nov 17 17:15:25 kernel: PM: suspend exit
Nov 17 17:15:25 systemd[1]: systemd-suspend.service: Deactivated successfully.
Nov 17 17:15:25 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 systemd[1]: Finished System Suspend.
Nov 17 17:15:25 systemd[1]: Stopped target Sleep.
Nov 17 17:15:25 systemd[1]: Reached target Suspend.
Nov 17 17:15:25 systemd[1]: Stopped target Suspend.
Nov 17 17:15:25 systemd-logind[633]: Operation 'sleep' finished.
Nov 17 17:15:25 kernel: audit: type=1130 audit(1637165725.616:91): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 kernel: audit: type=1131 audit(1637165725.616:92): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 ModemManager[668]: <info>  [sleep-monitor] system is resuming
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.6260] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.6265] device (wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.6291] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.6294] manager: NetworkManager state is now DISCONNECTED
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7543] device (wlp1s0): supplicant interface state: internal-starting -> disconnected
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7544] device (p2p-dev-wlp1s0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7552] Wi-Fi P2P device controlled by interface wlp1s0 created
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7558] manager: (p2p-dev-wlp1s0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/4)
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7561] device (p2p-dev-wlp1s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7575] device (wlp1s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Nov 17 17:15:25 NetworkManager[628]: <info>  [1637165725.7594] device (p2p-dev-wlp1s0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:25 systemd[1]: Stopping User Manager for UID 963...
Nov 17 17:15:25 systemd[1023]: Stopped target Main User Target.
Nov 17 17:15:25 systemd[1023]: Stopping D-Bus User Message Bus...
Nov 17 17:15:25 systemd[1023]: Stopped D-Bus User Message Bus.
Nov 17 17:15:25 systemd[1023]: Stopped target Basic System.
Nov 17 17:15:25 systemd[1023]: Stopped target Paths.
Nov 17 17:15:25 systemd[1023]: Stopped target Sockets.
Nov 17 17:15:25 systemd[1023]: Stopped target Timers.
Nov 17 17:15:25 systemd[1023]: Closed D-Bus User Message Bus Socket.
Nov 17 17:15:25 systemd[1023]: Closed GnuPG network certificate management daemon.
Nov 17 17:15:25 systemd[1023]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Nov 17 17:15:25 systemd[1023]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Nov 17 17:15:25 systemd[1023]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Nov 17 17:15:25 systemd[1023]: Closed GnuPG cryptographic agent and passphrase cache.
Nov 17 17:15:25 systemd[1023]: Closed p11-kit server.
Nov 17 17:15:25 systemd[1023]: Closed Multimedia System.
Nov 17 17:15:25 systemd[1023]: Closed Sound System.
Nov 17 17:15:25 systemd[1023]: Removed slice User Application Slice.
Nov 17 17:15:25 systemd[1023]: Reached target Shutdown.
Nov 17 17:15:25 systemd[1023]: Finished Exit the Session.
Nov 17 17:15:25 systemd[1023]: Reached target Exit the Session.
Nov 17 17:15:25 systemd[1024]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
Nov 17 17:15:25 systemd[1]: user@963.service: Deactivated successfully.
Nov 17 17:15:25 systemd[1]: Stopped User Manager for UID 963.
Nov 17 17:15:25 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=user@963 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 kernel: audit: type=1131 audit(1637165725.906:93): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=user@963 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 systemd[1]: Stopping User Runtime Directory /run/user/963...
Nov 17 17:15:25 systemd[1]: run-user-963.mount: Deactivated successfully.
Nov 17 17:15:25 systemd[1]: user-runtime-dir@963.service: Deactivated successfully.
Nov 17 17:15:25 systemd[1]: Stopped User Runtime Directory /run/user/963.
Nov 17 17:15:25 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=user-runtime-dir@963 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 kernel: audit: type=1131 audit(1637165725.923:94): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=user-runtime-dir@963 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 17 17:15:25 systemd[1]: Removed slice User Slice of UID 963.
Nov 17 17:15:25 systemd[1]: user-963.slice: Consumed 1.039s CPU time.
Nov 17 17:15:26 kernel: ata2: failed stop FIS RX (-16)
Nov 17 17:15:26 kernel: ata1: failed stop FIS RX (-16)
Nov 17 17:15:26 kernel: ata1: SATA link down (SStatus 0 SControl 300)
Nov 17 17:15:26 kernel: ata2: SATA link down (SStatus 0 SControl 300)
Nov 17 17:15:28 ModemManager[668]: <info>  [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0': not supported by any plugin
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=COUNTRY alpha2=DE
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4501] policy: auto-activating connection 'Goertz-HotSpot' (4ffb8b73-6947-4afa-b5a9-2c6c725d1dfd)
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4509] device (wlp1s0): Activation: starting connection 'Goertz-HotSpot' (4ffb8b73-6947-4afa-b5a9-2c6c725d1dfd)
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4510] device (wlp1s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4515] manager: NetworkManager state is now CONNECTING
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4524] device (wlp1s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4530] device (wlp1s0): Activation: (wifi) connection 'Goertz-HotSpot' requires no security.  No secrets needed.
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4530] Config: added 'ssid' value 'Goertz-HotSpot'
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4531] Config: added 'scan_ssid' value '1'
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4531] Config: added 'bgscan' value 'simple:30:-70:86400'
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4531] Config: added 'key_mgmt' value 'NONE'
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: SME: Trying to authenticate with f4:06:8d:df:28:98 (SSID='Goertz-HotSpot' freq=2452 MHz)
Nov 17 17:15:29 kernel: wlp1s0: authenticate with f4:06:8d:df:28:98
Nov 17 17:15:29 kernel: wlp1s0: send auth to f4:06:8d:df:28:98 (try 1/3)
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4704] device (wlp1s0): supplicant interface state: disconnected -> authenticating
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.4705] device (p2p-dev-wlp1s0): supplicant management interface state: disconnected -> authenticating
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: Trying to associate with f4:06:8d:df:28:98 (SSID='Goertz-HotSpot' freq=2452 MHz)
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5552] device (wlp1s0): supplicant interface state: authenticating -> associating
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5552] device (p2p-dev-wlp1s0): supplicant management interface state: authenticating -> associating
Nov 17 17:15:29 kernel: wlp1s0: authenticated
Nov 17 17:15:29 kernel: wlp1s0: associate with f4:06:8d:df:28:98 (try 1/3)
Nov 17 17:15:29 kernel: wlp1s0: RX AssocResp from f4:06:8d:df:28:98 (capab=0x421 status=0 aid=13)
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: Associated with f4:06:8d:df:28:98
Nov 17 17:15:29 kernel: wlp1s0: associated
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: CTRL-EVENT-CONNECTED - Connection to f4:06:8d:df:28:98 completed [id=0 id_str=]
Nov 17 17:15:29 kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5840] device (wlp1s0): supplicant interface state: associating -> completed
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5842] device (wlp1s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "Goertz-HotSpot"
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5842] device (p2p-dev-wlp1s0): supplicant management interface state: associating -> completed
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5846] device (wlp1s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.5854] dhcp4 (wlp1s0): activation: beginning transaction (timeout in 45 seconds)
Nov 17 17:15:29 avahi-daemon[625]: Joining mDNS multicast group on interface wlp1s0.IPv6 with address fe80::9c45:2291:a9a3:7e0.
Nov 17 17:15:29 avahi-daemon[625]: New relevant interface wlp1s0.IPv6 for mDNS.
Nov 17 17:15:29 avahi-daemon[625]: Registering new address record for fe80::9c45:2291:a9a3:7e0 on wlp1s0.*.
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6071] dhcp4 (wlp1s0): state changed unknown -> bound, address=192.168.2.162
Nov 17 17:15:29 avahi-daemon[625]: Joining mDNS multicast group on interface wlp1s0.IPv4 with address 192.168.2.162.
Nov 17 17:15:29 avahi-daemon[625]: New relevant interface wlp1s0.IPv4 for mDNS.
Nov 17 17:15:29 avahi-daemon[625]: Registering new address record for 192.168.2.162 on wlp1s0.IPv4.
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6120] device (wlp1s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6138] device (wlp1s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6141] device (wlp1s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6147] manager: NetworkManager state is now CONNECTED_LOCAL
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6165] manager: NetworkManager state is now CONNECTED_SITE
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6171] policy: set 'XXXXX-HotSpot' (wlp1s0) as default for IPv4 routing and DNS
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6227] device (wlp1s0): Activation: successful, device activated.
Nov 17 17:15:29 NetworkManager[628]: <info>  [1637165729.6939] manager: NetworkManager state is now CONNECTED_GLOBAL
Nov 17 17:15:29 wpa_supplicant[927]: wlp1s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-68 noise=9999 txrate=26000

Computer information:

System:
  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
  root=UUID=c34ac7c8-4077-4590-9af9-92f419b4bdff rw quiet apparmor=1
  security=apparmor udev.log_priority=3 acpi_backlight=vendor
  Console: pty pts/1 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux
  base: Arch Linux
Machine:
  Type: Laptop System: HUAWEI product: CREM-WXX9 v: M1010 serial: <filter>
  Mobo: HUAWEI model: CREM-WXX9-PCB-B1 v: M1010 serial: <filter> UEFI: HUAWEI
  v: 2.16 date: 09/13/2021
Battery:
  ID-1: BATT charge: 72.9 Wh (84.9%) condition: 85.9/83.1 Wh (103.3%)
  volts: 12.4 min: 11.5 model: DYNAPACK HB9790T7ECW-32T0 type: Li-ion
  serial: <filter> status: Discharging cycles: 1
Memory:
  RAM: total: 14.99 GiB used: 3.43 GiB (22.8%)
  Array-1: capacity: 64 GiB slots: 2 EC: None max-module-size: 32 GiB
  note: est.
  Device-1: DIMM 0 size: 8 GiB speed: 3200 MT/s type: DDR4
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits
  total: 64 bits manufacturer: Micron Technology part-no: 4ATF1G64HZ-3G2E1
  serial: N/A
  Device-2: DIMM 0 size: 8 GiB speed: 3200 MT/s type: DDR4
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits
  total: 64 bits manufacturer: Micron Technology part-no: 4ATF1G64HZ-3G2E1
  serial: N/A
CPU:
  Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0
  microcode: A50000C cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB bogomips: 102245
  Speed: 1681 MHz min/max: 1200/3200 MHz base/boost: 3200/4450 boost: enabled
  volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 1681 2: 3553 3: 3443
  4: 1197 5: 1197 6: 1856 7: 2783 8: 1682 9: 1198 10: 1197 11: 1616 12: 2360
  13: 1665 14: 3553 15: 3076 16: 3936
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru
  rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd
  sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce
  topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean
  vme vmmcall vpclmulqdq wbnoinvd wdt x2apic xgetbv1 xsave xsavec xsaveerptr
  xsaveopt xsaves
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
  STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne driver: amdgpu v: kernel bus-ID: 03:00.0
  chip-ID: 1002:1638 class-ID: 0300
  Device-2: IMC Networks HD Camera type: USB driver: uvcvideo bus-ID: 1-3:2
  chip-ID: 13d3:5476 class-ID: fe01 serial: <filter>
  Display: server: X.Org 1.20.13 compositor: kwin_x11 driver:
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
  display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2520x1680 s-dpi: 96 s-size: 666x444mm (26.2x17.5")
  s-diag: 800mm (31.5")
  Monitor-1: eDP res: 2520x1680 hz: 60 dpi: 189 size: 338x226mm (13.3x8.9")
  diag: 407mm (16")
  OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.19-2-MANJARO LLVM 12.0.1)
  v: 4.6 Mesa 21.2.3 direct render: Yes
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 03:00.1
  chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
  driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus-ID: 03:00.5
  chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio driver: snd_hda_intel v: kernel
  bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 01:00.0
  chip-ID: 8086:2723 class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
  chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 37.83 GiB (7.9%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
  model: PC SN730 SDBPNTY-512G size: 476.94 GiB block-size: physical: 512 B
  logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
  rev: 11120000 temp: 34.9 C scheme: GPT
  SMART: yes health: PASSED on: 7 hrs cycles: 55 read-units: 636,644 [325 GB]
  written-units: 655,014 [335 GB]
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 337.23 GiB size: 330.87 GiB (98.11%)
  used: 37.79 GiB (11.4%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p4
  maj-min: 259:4 label: N/A uuid: c34ac7c8-4077-4590-9af9-92f419b4bdff
  ID-2: /boot/efi raw-size: 200 MiB size: 196 MiB (98.00%)
  used: 43 MiB (21.9%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
  maj-min: 259:1 label: SYSTEM uuid: D098-610E
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: N/A label: N/A
  uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 120 GiB fs: ntfs label: Windows
  uuid: 2060991E6098FC2A
  ID-3: /dev/nvme0n1p5 maj-min: 259:5 size: 512 MiB fs: vfat label: WINPE
  uuid: C299-D9BC
  ID-4: /dev/nvme0n1p6 maj-min: 259:6 size: 18 GiB fs: ntfs label: Onekey
  uuid: 86E49BFDE49BEDA5
  ID-5: /dev/nvme0n1p7 maj-min: 259:7 size: 1024 MiB fs: ntfs label: WinRE
  uuid: 46449E02449DF541
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-3:2 info: IMC Networks HD Camera type: Video driver: uvcvideo
  interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 13d3:5476
  class-ID: fe01 serial: <filter>
  Device-2: 1-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
  class-ID: e001
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Shenzhen Goodix Goodix Fingerprint Device
  type: Communication,CDC-Data driver: N/A interfaces: 2 rev: 2.0
  speed: 12 Mb/s power: 100mA chip-ID: 27c6:5125 class-ID: 0a00
  serial: <filter>
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 359 Uptime: 17h 36m wakeups: 5301 Init: systemd v: 249
  tool: systemctl Compilers: gcc: 11.1.0 Packages: 1334 pacman: 1326 lib: 371
  flatpak: 0 snap: 8 Shell: Zsh (sudo) v: 5.8 default: Bash v: 5.1.8
  running-in: yakuake inxi: 3.3.08

I’m grateful for any help.

Is there a FnLock key there? For example, on my thinkpad it is Fn+Esc

On this model the FnLock is activated by pressing the Fn-key alone without any other key. This also toggles a small LED on the Fn-key. This normally works, but stops working after the notebook wakes up from sleep.

I just noticed that the problem only occurs when the lid is closed. When the laptop goes to sleep because it was not used for some time, everything’s fine after wake.

Hello,

same hardware - same issue here.
Huawei Matebook 16 2021

When I close the lid the function key and the caps-lock key are not functional as expected.
I think it appears when the lid is closed for a few minutes and the system is going to some kind of sleep/standby.

Caps-lock is basically working (switches between upper and lower case, but the indicator LED stays off.
The function key is not handling volume / brightens … it is just acting as F1 - F12 function keys.

I’m not sure if this is a Linux issue or a firmware issue.

I search the web and I found a few issues for other older Huawei notebooks which were probably solved by bios updates, for this notebook there is no new bios release available yet.

Best regards

Kitsab