-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support for Ideapad 5 Pro 16ACH6 #6
Comments
Thanks for showing interest in this project! The reason for this error is that battery/charge values read with ACPI calls are not the same as Ideapad 15are05's. Lines 308 to 331 in 56be748
If the problem is present for read functions only, I think we could support your laptop! If you feel free to hack the script a little bit, you could report the hex values (and corresponding modes) read back by the In the mean time, if you could please provide us with the output of each battmngr command, it would be amazing to evaluate the support state of your laptop. |
Do you have the dsdt.dat or the decoded dsdt.dsl of your (working) model in order to compare it with mine? |
Sure, you can find the zipped dsdt.dsl file attached. Let me know how it goes! |
Hmmm, your dsdt.dsl seems way more straightforward than mine, as in the SBMC method it sets the BTSM and QCHO values that you read back directly.
|
Relevant acpi methods:
and
The CMDB seems to be the type of operation (rapid charge / battery conservation) and DAT0 the on/off toggle |
The relevant memory region is this:
I'm not really familiar with ACPI/DSDT but I cannot find any read references for CMDB or any reference for SMA2 at all. |
You went way more in depth than I did analyzing the code, thanks for the effort. In my opinion it would be easier to setup a Windows test environment, install Lenovo Vantage and sniff the ACPI calls sent by the software. I didn't try this yet, but looking around on the internet, this seems to be doable. |
@0xless : do you have recommendations on how to sniff ACPI calls (software etc,)? |
@xaibex never attempted that, but if you find any interesting software, please let me know! |
Laptop model: Lenovo IdeaPad 5 Pro 16ACH6 82L5005RMH
Product name: 82L5
Getting 'Unrecognized battery mode, please retry' and 'Unrecognized battery charge mode, please retry' respectively for
-r
and-rc
flags.Tried both
main
andexperimental_support
branches.I'm willing to make relevant PR provided some guidance on what I should look for to add support for my model.
The text was updated successfully, but these errors were encountered: