ideapad-utilities icon indicating copy to clipboard operation
ideapad-utilities copied to clipboard

How have you figured out the acpi API?

Open ThePirate42 opened this issue 2 years ago • 1 comments

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 avatar Jan 02 '22 20:01 ThePirate42

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.

loganrmo avatar Jan 09 '22 02:01 loganrmo