Bug 201881

Summary: hp_wmi: query 0xd returned error 0x5
Product: Platform Specific/Hardware Reporter: Cristian Aravena Romero (caravena)
Component: x86-64Assignee: platform_x86_64 (platform_x86_64)
Status: NEW ---    
Severity: normal CC: caroeber, colin.king, crab2313, darose, dirk, hxss, info, istankovic, ken20001, kernel-NTEO, rafael.linux.user, rum.274.4
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Ubuntu 4.18.0-11.12-generic 4.18.12 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output

Description Cristian Aravena Romero 2018-12-04 12:15:04 UTC
Hello,

Open bug in launchpad.net
https://bugs.launchpad.net/bugs/1806681

dmesg:
hp_wmi: query 0xd returned error 0x5

Best regards,
--
Cristian Aravena Romero (caravena)
Comment 1 Colin Ian King 2018-12-04 12:28:47 UTC
This does not appear to be an error to worry about. The WMI driver for your machine is performing a feature query with the ACPI driver with HPWMI_FEATURE2_QUERY. This seems to be a feature that is enabled on HP WMI firmware from around 2009 onwards. Some machines may support this, however it seems that your firmware does not seem to have support for this, hence the query failure.

The kernel throws a warning message to indicate that this feature is not supported. I doubt this is something you need to worry about.
Comment 2 Cristian Aravena Romero 2018-12-04 12:40:17 UTC
A more friendly message?
Comment 3 Colin Ian King 2018-12-04 12:43:30 UTC
If we fill the kernel up with friendly messages it will be massive. It's already got >100,000 kernel messages.
Comment 4 Colin Ian King 2018-12-04 12:45:32 UTC
Most warnings like this are really for the per driver kernel developers.
Comment 5 NotTheEvilOne 2019-01-06 09:08:23 UTC
Hi,

This issue seems not to be only a warning / developer specific log message. An "HP Elite x2 1013 G3" has no working "hp-wmi" sysfs entries at all. E.g. trying to output "/sys/devices/platform/hp-wmi/als" results in the reported log message. As error code 0x05 indicates "invalid parameters" my guess would be that another variant of the "hp_wmi_bios_2009_later()" would be required or that the WMI methods have been removed. I would appreciate to provide more details if guided how to further debug / receive details needed.
Comment 6 David Rosenstrauch 2020-03-05 02:54:59 UTC
Any update on this?  I'm currently running into this issue.
Comment 7 Eugene 2020-04-22 21:53:19 UTC
HP ProBook 455 G3 (BIOS Version: N80 Ver. 01.45)

[ 18.373200] hp_wmi: query 0x4 returned error 0x5
[ 18.377701] hp_wmi: query 0x4 returned error 0x5
[ 18.385171] hp_wmi: query 0xd returned error 0x5
[ 18.397105] hp_wmi: query 0x1b returned error 0x5

Linux 5.4.0-26-generic x86_64 (*buntu 20.04 LTS)
Comment 8 Alois Nespor 2021-09-16 06:31:11 UTC
same problem with new HP ProDesk 405 G6 Desktop Mini PC:

renoir xxxx]# dmesg | grep  hp_wmi
[    6.317443] hp_wmi: query 0x4 returned error 0x5
[    6.319159] hp_wmi: query 0xd returned error 0x5
[    6.323094] hp_wmi: query 0x1b returned error 0x5

kernel 5.14.3-zen1-1-zen
Comment 9 Alois Nespor 2021-09-16 06:31:41 UTC
Created attachment 298829 [details]
dmesg output
Comment 10 rafael.linux.user 2021-09-27 12:08:44 UTC
Same issue here from a year ago on HP Z1:
[    4.556401] hp_wmi: query 0x4 returned error 0x5
[    4.557900] hp_wmi: query 0xd returned error 0x5
[    4.561206] hp_wmi: query 0x1b returned error 0x5
Comment 11 H.-Dirk Schmitt 2021-10-02 11:48:20 UTC
5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-4~bpo10+1 (2021-08-07) x86_64 GNU/Linux
HP ProBook 635 Aero G7

[   23.135934] hp_wmi: query 0x4 returned error 0x5
[   23.137688] hp_wmi: query 0xd returned error 0x5
[   23.246622] hp_wmi: query 0x1b returned error 0x5
Comment 12 Sergey S 2021-11-27 23:00:23 UTC
5.15.5-arch1-1
HP ProBook x360 435 G8

[    2.471928] hp_wmi: query 0x4 returned error 0x5
[    2.474816] hp_wmi: query 0xd returned error 0x5
[    2.545255] hp_wmi: query 0x1b returned error 0x5
Comment 13 caroeber 2022-06-27 21:13:41 UTC
5.15.0-39-generic #42-Ubuntu
HP ZBook-Studio-G5
Comment 14 Ivan Stanković 2024-03-17 18:48:35 UTC
Same with HP EliteBook 845 G9:
6.8.1-arch1-1

kernel: hp_wmi: query 0x4 returned error 0x5