aymanbagabas/Huawei-WMI

Error on Archlinux

Closed this issue · 2 comments

Describe the bug
I noticed during system upgrading error like that:

Running post-transaction hooks...
( 1/22) Restoring Linux kernel modules...
++ uname -r
+ KVER=6.6.27-1-lts
+ test -e /usr/lib/modules/backup/6.6.27-1-lts
+ rsync -AHXal --ignore-existing /usr/lib/modules/backup/6.6.27-1-lts /usr/lib/modules/
+ rm -rf /usr/lib/modules/backup
( 2/22) Creating system user accounts...
( 3/22) Reloading system manager configuration...
( 4/22) Reloading user manager configuration...
( 5/22) Creating temporary files...
( 6/22) Arming ConditionNeedsUpdate...
( 7/22) Updating module dependencies...
( 8/22) Install DKMS modules
==> dkms install --no-depmod huawei-wmi/3.4 -k 6.6.28-1-lts
Error! Bad return status for module build on kernel: 6.6.28-1-lts (x86_64)
Consult /var/lib/dkms/huawei-wmi/3.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod huawei-wmi/3.4 -k 6.6.28-1-lts' exited 10
==> dkms install --no-depmod rtw88/r317.ca9f4e1 -k 6.6.28-1-lts
==> dkms install --no-depmod anbox-ashmem/r56.2c06452 -k 6.6.28-1-lts

Screenshots
image

(please complete the following information):

  • dmidecode dmidecode > dmidecode
# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0xCB70A000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
   Vendor: HUAWEI
   Version: 1.06
   Release Date: 09/14/2020
   Address: 0xE0000
   Runtime Size: 128 kB
   ROM Size: 16 MB
   Characteristics:
           PCI is supported
           PNP is supported
           BIOS is upgradeable
           BIOS shadowing is allowed
           Boot from CD is supported
           Selectable boot is supported
           EDD is supported
           ACPI is supported
           USB legacy is supported
           Smart battery is supported
           BIOS boot specification is supported
           Targeted content distribution is supported
           UEFI is supported
   BIOS Revision: 1.6
   Firmware Revision: 1.6

Handle 0x0001, DMI type 1, 27 bytes
System Information
   Manufacturer: HUAWEI
   Product Name: KLVL-WXX9
   Version: M1300
   Serial Number: D9VBB21624801622
   UUID: 20210626-28cd-c4b7-cdd7-28cdc4b7cdd8
   Wake-up Type: Power Switch
   SKU Number: C178
   Family: MateBook 14

Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
   Manufacturer: HUAWEI
   Product Name: KLVL-WXX9-PCB
   Version: M1300
   Serial Number: BBG908216N002874
   Asset Tag: N/A
   Features:
           Board is a hosting board
           Board is replaceable
   Location In Chassis: Not Specified
   Chassis Handle: 0x0003
   Type: Motherboard
   Contained Object Handles: 0

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
   Manufacturer: HUAWEI
   Type: Notebook
   Lock: Not Present
   Version: M1300
   Serial Number: D9VBB21624801622
   Asset Tag: N/A
   Boot-up State: Safe
   Power Supply State: Safe
   Thermal State: Safe
   Security Status: None
   OEM Information: 0x00000000
   Height: Unspecified
   Number Of Power Cords: 1
   Contained Elements: 0
   SKU Number: KelvinL-WDH9DQ

Handle 0x0004, DMI type 4, 48 bytes
Processor Information
   Socket Designation: FP6
   Type: Central Processor
   Family: Zen
   Manufacturer: Advanced Micro Devices, Inc.
   ID: 01 0F 86 00 FF FB 8B 17
   Signature: Family 23, Model 96, Stepping 1
   Flags:
           FPU (Floating-point unit on-chip)
           VME (Virtual mode extension)
           DE (Debugging extension)
           PSE (Page size extension)
           TSC (Time stamp counter)
           MSR (Model specific registers)
           PAE (Physical address extension)
           MCE (Machine check exception)
           CX8 (CMPXCHG8 instruction supported)
           APIC (On-chip APIC hardware supported)
           SEP (Fast system call)
           MTRR (Memory type range registers)
           PGE (Page global enable)
           MCA (Machine check architecture)
           CMOV (Conditional move instruction supported)
           PAT (Page attribute table)
           PSE-36 (36-bit page size extension)
           CLFSH (CLFLUSH instruction supported)
           MMX (MMX technology supported)
           FXSR (FXSAVE and FXSTOR instructions supported)
           SSE (Streaming SIMD extensions)
           SSE2 (Streaming SIMD extensions 2)
           HTT (Multi-threading)
   Version: AMD Ryzen 5 4600H with Radeon Graphics
   Voltage: Unknown
   External Clock: 100 MHz
   Max Speed: 4000 MHz
   Current Speed: 3000 MHz
   Status: Populated, Enabled
   Upgrade: None
   L1 Cache Handle: 0x0005
   L2 Cache Handle: 0x0006
   L3 Cache Handle: 0x0007
   Serial Number: Not Specified
   Asset Tag: Not Specified
   Part Number: Not Specified
   Core Count: 6
   Core Enabled: 6
   Thread Count: 12
   Characteristics:
           64-bit capable
           Multi-Core
           Hardware Thread
           Execute Protection
           Enhanced Virtualization
           Power/Performance Control

Handle 0x0005, DMI type 7, 27 bytes
Cache Information
   Socket Designation: L1 - Cache
   Configuration: Enabled, Not Socketed, Level 1
   Operational Mode: Write Back
   Location: Internal
   Installed Size: 384 kB
   Maximum Size: 384 kB
   Supported SRAM Types:
           Pipeline Burst
   Installed SRAM Type: Pipeline Burst
   Speed: 1 ns
   Error Correction Type: Multi-bit ECC
   System Type: Unified
   Associativity: 8-way Set-associative

Handle 0x0006, DMI type 7, 27 bytes
Cache Information
   Socket Designation: L2 - Cache
   Configuration: Enabled, Not Socketed, Level 2
   Operational Mode: Write Back
   Location: Internal
   Installed Size: 3 MB
   Maximum Size: 3 MB
   Supported SRAM Types:
           Pipeline Burst
   Installed SRAM Type: Pipeline Burst
   Speed: 1 ns
   Error Correction Type: Multi-bit ECC
   System Type: Unified
   Associativity: 8-way Set-associative

Handle 0x0007, DMI type 7, 27 bytes
Cache Information
   Socket Designation: L3 - Cache
   Configuration: Enabled, Not Socketed, Level 3
   Operational Mode: Write Back
   Location: Internal
   Installed Size: 8 MB
   Maximum Size: 8 MB
   Supported SRAM Types:
           Pipeline Burst
   Installed SRAM Type: Pipeline Burst
   Speed: 1 ns
   Error Correction Type: Multi-bit ECC
   System Type: Unified
   Associativity: 16-way Set-associative

Handle 0x0008, DMI type 9, 19 bytes
System Slot Information
   Designation: PCI-1
   Type: x1 PCI Express x1
   Current Usage: <OUT OF SPEC>
   Length: Other
   ID: 1
   Characteristics:
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0000:00:1c.0
   Data Bus Width: 8
   Peer Devices: 0

Handle 0x0009, DMI type 9, 19 bytes
System Slot Information
   Designation: PCI-2
   Type: x1 PCI Express x1
   Current Usage: <OUT OF SPEC>
   Length: Other
   ID: 2
   Characteristics:
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0000:00:1c.1
   Data Bus Width: 8
   Peer Devices: 0

Handle 0x000A, DMI type 9, 19 bytes
System Slot Information
   Designation: PCI-3
   Type: x1 PCI Express x1
   Current Usage: <OUT OF SPEC>
   Length: Other
   ID: 3
   Characteristics:
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0000:00:1c.2
   Data Bus Width: 8
   Peer Devices: 0

Handle 0x000B, DMI type 9, 19 bytes
System Slot Information
   Designation: PCI-4
   Type: x1 PCI Express x1
   Current Usage: <OUT OF SPEC>
   Length: Other
   ID: 4
   Characteristics:
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0000:00:1c.3
   Data Bus Width: 8
   Peer Devices: 0

Handle 0x000C, DMI type 9, 19 bytes
System Slot Information
   Designation: PCI-5
   Type: x4 PCI Express x4
   Current Usage: <OUT OF SPEC>
   Length: Other
   ID: 5
   Characteristics:
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0000:00:1c.4
   Data Bus Width: 10
   Peer Devices: 0

Handle 0x000D, DMI type 9, 17 bytes
System Slot Information
   Designation: J19
   Type: x2 M.2 Socket 3
   Current Usage: Available
   Length: Short
   Characteristics:
           3.3 V is provided
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0200:00:01.7

Handle 0x000E, DMI type 9, 17 bytes
System Slot Information
   Designation: CON1
   Type: x4 PCI Express x8
   Current Usage: Available
   Length: Short
   ID: 6
   Characteristics:
           3.3 V is provided
           PME signal is supported
           Hot-plug devices are supported
   Bus Address: 0200:00:01.5

Handle 0x000F, DMI type 11, 5 bytes
OEM Strings
   String 1: $HUA001PL11000
   String 2: N/A
   String 3: N/A
   String 4: KVARO

Handle 0x0010, DMI type 13, 22 bytes
BIOS Language Information
   Language Description Format: Long
   Installable Languages: 2
           zh|CN|unicode,0
           en|US|iso8859-1,0
   Currently Installed Language: en|US|iso8859-1,0

Handle 0x0011, DMI type 16, 23 bytes
Physical Memory Array
   Location: System Board Or Motherboard
   Use: System Memory
   Error Correction Type: None
   Maximum Capacity: 64 GB
   Error Information Handle: Not Provided
   Number Of Devices: 2

Handle 0x0012, DMI type 17, 84 bytes
Memory Device
   Array Handle: 0x0011
   Error Information Handle: Not Provided
   Total Width: 64 bits
   Data Width: 64 bits
   Size: 4 GB
   Form Factor: Row Of Chips
   Set: None
   Locator: DIMM 0
   Bank Locator: P0 CHANNEL A
   Type: DDR4
   Type Detail: Synchronous Unbuffered (Unregistered)
   Speed: 2667 MT/s
   Manufacturer: Hynix
   Serial Number: 00000000
   Asset Tag: Not Specified
   Part Number: HMA851S6CJR6N-VK
   Rank: 1
   Configured Memory Speed: 2667 MT/s
   Minimum Voltage: 1.2 V
   Maximum Voltage: 1.2 V
   Configured Voltage: 1.2 V
   Memory Technology: DRAM
   Memory Operating Mode Capability: Volatile memory
   Firmware Version: Unknown
   Module Manufacturer ID: Bank 1, Hex 0xAD
   Module Product ID: Unknown
   Memory Subsystem Controller Manufacturer ID: Unknown
   Memory Subsystem Controller Product ID: Unknown
   Non-Volatile Size: None
   Volatile Size: 4 GB
   Cache Size: None
   Logical Size: None

Handle 0x0013, DMI type 17, 84 bytes
Memory Device
   Array Handle: 0x0011
   Error Information Handle: Not Provided
   Total Width: 64 bits
   Data Width: 64 bits
   Size: 4 GB
   Form Factor: Row Of Chips
   Set: None
   Locator: DIMM 0
   Bank Locator: P0 CHANNEL B
   Type: DDR4
   Type Detail: Synchronous Unbuffered (Unregistered)
   Speed: 2667 MT/s
   Manufacturer: Hynix
   Serial Number: 00000000
   Asset Tag: Not Specified
   Part Number: HMA851S6CJR6N-VK
   Rank: 1
   Configured Memory Speed: 2667 MT/s
   Minimum Voltage: 1.2 V
   Maximum Voltage: 1.2 V
   Configured Voltage: 1.2 V
   Memory Technology: DRAM
   Memory Operating Mode Capability: Volatile memory
   Firmware Version: Unknown
   Module Manufacturer ID: Bank 1, Hex 0xAD
   Module Product ID: Unknown
   Memory Subsystem Controller Manufacturer ID: Unknown
   Memory Subsystem Controller Product ID: Unknown
   Non-Volatile Size: None
   Volatile Size: 4 GB
   Cache Size: None
   Logical Size: None

Handle 0x0014, DMI type 19, 31 bytes
Memory Array Mapped Address
   Starting Address: 0x00000000000
   Ending Address: 0x001FFFFFFFF
   Range Size: 8 GB
   Physical Array Handle: 0x0011
   Partition Width: 2

Handle 0x0015, DMI type 20, 35 bytes
Memory Device Mapped Address
   Starting Address: 0x00000000000
   Ending Address: 0x001FFFFFFFF
   Range Size: 8 GB
   Physical Device Handle: 0x0012
   Memory Array Mapped Address Handle: 0x0014
   Partition Row Position: Unknown
   Interleave Position: Unknown
   Interleaved Data Depth: Unknown

Handle 0x0016, DMI type 20, 35 bytes
Memory Device Mapped Address
   Starting Address: 0x00000000000
   Ending Address: 0x001FFFFFFFF
   Range Size: 8 GB
   Physical Device Handle: 0x0013
   Memory Array Mapped Address Handle: 0x0014
   Partition Row Position: Unknown
   Interleave Position: Unknown
   Interleaved Data Depth: Unknown

Handle 0x0017, DMI type 21, 7 bytes
Built-in Pointing Device
   Type: Touch Pad
   Interface: Other
   Buttons: 2

Handle 0x0018, DMI type 22, 26 bytes
Portable Battery
   Location: in the back, on the bottom side
   Manufacturer: SUNWODA
   Manufacture Date: 02/15/2021
   Serial Number: 3171
   Name: HB4593R1ECW-22S0
   Chemistry: Lithium Ion
   Design Capacity: 0 mWh
   Design Voltage: 7640 mV
   SBDS Version: Not Specified
   Maximum Error: 1%
   OEM-specific Information: 0x00000042

Handle 0x0019, DMI type 248, 12 bytes
OEM-specific Type
   Header and Data:
           F8 0C 19 00 01 4C E0 00 00 00 20 00

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
  • Kernel [e.g. 5.2.9-200.fc30.x86_64] uname -a Linux emilka-matebook 6.6.27-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 13 Apr 2024 11:50:59 +0000 x86_64 GNU/Linux
  • Distro Garuda Gnome
OS: Garuda Linux x86_64 
Host: HUAWEI KLVL-WXX9-PCB 
Kernel: 6.6.27-1-lts 
Uptime: 12 mins 
Packages: 1776 (pacman), 36 (flatpak) 
Shell: bash 5.2.26 
Resolution: 2160x1440 
DE: GNOME 46.0 (Wayland) 
WM: Mutter 
WM Theme: Juno 
Theme: Adw [GTK2/3] 
Icons: Colloid-teal-nord [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GH 
GPU: AMD ATI Radeon RX Vega 6 
Memory: 3438MiB / 7307MiB 
  • Loaded WMI modules lsmod | grep wmi
huawei_wmi             24576  0
ledtrig_audio          12288  2 snd_hda_codec_generic,huawei_wmi
wmi_bmof               12288  0
sparse_keymap          12288  1 huawei_wmi
mxm_wmi                12288  1 nouveau
wmi                    45056  5 video,huawei_wmi,wmi_bmof,mxm_wmi,nouveau
  • Dmesg log dmesg > dmesg.txt

dmesg.txt

  • evtest if it's keyboard related. Run sudo evtest then choose "Huawei WMI hotkeys", test all hotkeys and submit output.
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	Power Button
/dev/input/event1:	Lid Switch
/dev/input/event10:	GXTP7863:00 27C6:01E0 Touchpad
/dev/input/event11:	Huawei WMI hotkeys
/dev/input/event12:	HD-Audio Generic HDMI/DP,pcm=3
/dev/input/event13:	HD-Audio Generic Headphone
/dev/input/event2:	Power Button
/dev/input/event3:	Video Bus
/dev/input/event4:	AT Translated Set 2 keyboard
/dev/input/event5:	RAPOO Rapoo 2.4G Wireless Device
/dev/input/event6:	RAPOO Rapoo 2.4G Wireless Device System Control
/dev/input/event7:	RAPOO Rapoo 2.4G Wireless Device Consumer Control
/dev/input/event8:	RAPOO Rapoo 2.4G Wireless Device
/dev/input/event9:	GXTP7863:00 27C6:01E0 Mouse
Select the device event number [0-13]: 11
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Huawei WMI hotkeys"
Supported events:
 Event type 0 (EV_SYN)
 Event type 1 (EV_KEY)
   Event code 113 (KEY_MUTE)
   Event code 114 (KEY_VOLUMEDOWN)
   Event code 115 (KEY_VOLUMEUP)
   Event code 171 (KEY_CONFIG)
   Event code 190 (KEY_F20)
   Event code 224 (KEY_BRIGHTNESSDOWN)
   Event code 225 (KEY_BRIGHTNESSUP)
   Event code 238 (KEY_WLAN)
   Event code 240 (KEY_UNKNOWN)
 Event type 4 (EV_MSC)
   Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1713431331.362340, type 4 (EV_MSC), code 4 (MSC_SCAN), value 289
Event: time 1713431331.362340, type 1 (EV_KEY), code 238 (KEY_WLAN), value 1
Event: time 1713431331.362340, -------------- SYN_REPORT ------------
Event: time 1713431331.362355, type 1 (EV_KEY), code 238 (KEY_WLAN), value 0
Event: time 1713431331.362355, -------------- SYN_REPORT ------------
Event: time 1713431333.659004, type 4 (EV_MSC), code 4 (MSC_SCAN), value 289
Event: time 1713431333.659004, type 1 (EV_KEY), code 238 (KEY_WLAN), value 1
Event: time 1713431333.659004, -------------- SYN_REPORT ------------
Event: time 1713431333.659027, type 1 (EV_KEY), code 238 (KEY_WLAN), value 0
Event: time 1713431333.659027, -------------- SYN_REPORT ------------
Event: time 1713431355.262585, type 4 (EV_MSC), code 4 (MSC_SCAN), value 287
Event: time 1713431355.262585, type 1 (EV_KEY), code 190 (KEY_F20), value 1
Event: time 1713431355.262585, -------------- SYN_REPORT ------------
Event: time 1713431355.262605, type 1 (EV_KEY), code 190 (KEY_F20), value 0
Event: time 1713431355.262605, -------------- SYN_REPORT ------------

Regards.

Could you try the latest from master?

Thanks, looks ok now.
Regards.