I have in dmesg on a 2022 Dell Precision 5470: [13.271933] acpi_wmi0: <ACPI-WMI mapping> on acpi0 [13.271999] acpi_wmi0: Embedded MOF found [13.272005] ACPI: \134_SB.WFDE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.272756] acpi_wmi1: <ACPI-WMI mapping> on acpi0 [13.272779] acpi_wmi1: Embedded MOF found [13.272783] ACPI: \134_SB.WFTE.WQCC: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.274325] acpi_wmi2: <ACPI-WMI mapping> on acpi0 [13.274354] acpi_wmi2: Embedded MOF found [13.274358] ACPI: \134_SB.AMW0.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.275145] acpi_wmi3: <ACPI-WMI mapping> on acpi0 [13.278435] acpi_wmi3: Embedded MOF found [13.278440] ACPI: \134_SB.AMW2.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.279211] acpi_wmi4: <ACPI-WMI mapping> on acpi0 [13.281134] acpi_wmi4: Embedded MOF found [13.281138] ACPI: \134_SB.AMW5.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.281900] acpi_wmi5: <ACPI-WMI mapping> on acpi0 [13.281929] acpi_wmi5: Embedded MOF found [13.281933] ACPI: \134_SB.AMW4.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.282692] acpi_wmi6: <ACPI-WMI mapping> on acpi0 [13.282724] acpi_wmi6: Embedded MOF found [13.282728] ACPI: \134_SB.DIAG.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.283472] acpi_wmi7: <ACPI-WMI mapping> on acpi0 [13.283489] acpi_wmi7: Embedded MOF found [13.283493] ACPI: \134_SB.AMWV.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.284856] acpi_wmi8: <ACPI-WMI mapping> on acpi0 [13.284885] acpi_wmi8: Embedded MOF found [13.284889] ACPI: \134_SB.ECMO.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) [13.285630] acpi_wmi9: <ACPI-WMI mapping> on acpi0 [13.285646] acpi_wmi9: Embedded MOF found [13.285650] ACPI: \134_SB.EPDC.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20241212/nsarguments-361) I've had a similar error on every machine I've ever had. I think this means something isn't wired up. How do I wire this up?
acpi_wmi does little other than to create /dev/wmistat* files. Are those getting created on your system?
No problem. That's occur when fetching BMOF object. Fetching BMOF object method accepts one argument in spec. but almost all such method is impremented as constant named object. This warning is in ACPICA from Intel, so there are no way to shut this up.
(In reply to Mark Johnston from comment #1) Yes, I have /dev/wmistat0 through /dev/wmistat9.
I think that comments 2 and 3 indicate that the driver itself is functioning as expected. It would be nice if we could silence that warning, but as noted, it comes from the contrib ACPICA code, so we don't have a lot of control over it.
Created attachment 257767 [details] Add type check before evaluating query ACPI method,
This will shut up the message by checking object type before calling WMI query method. If you use some ACPI-WMI child driver, I will appliciate if you make sure this code don't make regression.
The patch cleans my dmesg a lot, thank you. I don't think I'm using any child drivers to notice regressions. Everything seems normal.
https://reviews.freebsd.org/D49129
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f9b4092743fc99b1b3727a59f4c66fa07f0f895f commit f9b4092743fc99b1b3727a59f4c66fa07f0f895f Author: Takanori Watanabe <takawata@FreeBSD.org> AuthorDate: 2025-02-25 09:54:34 +0000 Commit: Takanori Watanabe <takawata@FreeBSD.org> CommitDate: 2025-03-10 02:22:30 +0000 acpi_wmi: Add type check before evaluaeting query ACPI method Some ACPI wmi query is implemented by named object, not method, ACPICA complains when non-method object is evaluated with one or more arguments. Especially, almost all binary MOF object obtaining method is the case. This commit will fix it. PR: 284912 Reported by: Alexander Ziaee Differential Revision: https://reviews.freebsd.org/D49129 sys/dev/acpi_support/acpi_wmi.c | 10 ++++++++++ 1 file changed, 10 insertions(+)