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

How have you figured out the acpi API? #1

Open
ThePirate42 opened this issue Jan 2, 2022 · 1 comment
Open

How have you figured out the acpi API? #1

ThePirate42 opened this issue Jan 2, 2022 · 1 comment

Comments

@ThePirate42
Copy link

ThePirate42 commented Jan 2, 2022

I want to do something like this on my ideapad, but I'm not sure if it is supported by your script. I'd like to figure out a custom solution, so that I'm sure it works, but I don't know were to start. Were can I find documentation for this acpi functions? And if there isn't documentation, how have you figured it out?

@ThePirate42 ThePirate42 changed the title How did you figured out the acpi API? How have you figured out the acpi API? Jan 2, 2022
@loganrmo
Copy link
Owner

loganrmo commented Jan 9, 2022

The acpi_call module is complicated, it uses custom data types as seen in the readme made up of hex values. I'm not super familiar with how /dev works or how ACPI itself works, I fetched the ACPI_STRING values from the Arch Wiki. If you can find your specific Ideapad on the Arch Wiki it may have the ACPI_STRING values under the Power Management options.

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