Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acer_wmi_battery: WMI battery status call returned a buffer of unexpected length 4 #55

Open
nemesazs opened this issue Jun 14, 2024 · 4 comments

Comments

@nemesazs
Copy link

nemesazs commented Jun 14, 2024

Hi,
is this a not supported device?

having:
acer travelmate p259-62-m
manjaro 6.6

both
sudo insmod acer-wmi-battery.ko enable_health_mode=1
sudo insmod acer-wmi-battery.ko

end up in:
"insmod: ERROR: could not insert module acer-wmi-battery.ko: Input/output error"

sudo dmesg | tail -1

	"acer_wmi_battery: WMI battery status call returned a buffer of unexpected length 4"
@Crypto-Darth
Copy link

Hello,

Did you try the charge limit function on windows? using the acer care centre?
Not sure if it's supported in your laptop or not.

Here's an similar issue (maxco2/acer-battery-wmi#1) .
here you can run the sudo fwts wmi - command and see the outputs and match it to this pattern 79772EC5-04B1-4BFD-843C........
if it matches then you might have the function else most probably not.

also i hope you had installed the proper linux headers which is a pre-requirement for this.

@nemesazs
Copy link
Author

Hi,
thanks for the prompt response!

my SNID acer support does not offer 'acer care centre' only 'acer control centre'

  • control centre with regards to battery only offers 'battery health check', and that passes ok

sudo fwts wmi -
"Results generated by fwts: Version V24.03.00 (2024-04-08 03:21:26).
...
_SB_.PCI0.WMID.WDG (3 of 12)
GUID: 79772EC5-04B1-4BFD-843C-61E7F77B6CC9
WMI Method:
Flags : 0x02 (Method)
Object ID : BE
Instance : 0x01
PASSED: Test 1, 79772EC5-04B1-4BFD-843C-61E7F77B6CC9 has associated method _SB
.PCI0.WMID.WMBE
PASSED: Test 1, 79772EC5-04B1-4BFD-843C-61E7F77B6CC9 has more than zero instances
...
23 passed, 2 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.

Test Failure Summary

Critical failures: NONE

High failures: NONE

Medium failures: 1
wmi: GUID A9D77EF6-55E0-4706-B139-96ACE13F2269 is unknown to the kernel, a driver may need to be implemented for this GUID.

Low failures: 1
wmi: GUID 79772EC6-04B1-4BFD-843C-61E7F77B6CC9 should have an associated method WMBF defined, however this does not seem to exist.

Other failures: NONE
Test |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
wmi | 23| 2| | | | |
---------------+-----+-----+-----+-----+-----+-----+
Total: | 23| 2| 0| 0| 0| 0|
---------------+-----+-----+-----+-----+-----+-----+"

cat /etc/lsb-release  ✔
"DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="24.0.2"
DISTRIB_CODENAME="Wynsdey"
DISTRIB_DESCRIPTION="Manjaro Linux""

hostnamectl
" Static hostname: nemes-travelmatep259g2m
Icon name: computer-laptop
Chassis: laptop 💻
Machine ID: 666e2f347e1742d29680711c19a5bfc4
Boot ID: 8254a2b3543b4d338e71c1941c9f16a2
Operating System: Manjaro Linux
Kernel: Linux 6.6.32-1-MANJARO
Architecture: x86-64
Hardware Vendor: Acer
Hardware Model: TravelMate P259-G2-M
Firmware Version: V1.51
Firmware Date: Fri 2019-05-31
Firmware Age: 5y 2w 1d"

pacman -Q linux66-headers
"linux66-headers 6.6.32-1"

@Crypto-Darth
Copy link

Hey,
sorry for the late reply got busy somewhere

If the acer control centre doesn't show that option that probably means that your hardware doesn't support this feature :(

@nemesazs
Copy link
Author

nemesazs commented Jun 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants