by Bret » Mon Jan 31, 2022 5:17 am
Laaca:
That surprises me, too. SlowACPI is still officially unreleased, but I must have sent you an early version for some reason. I've got a version 0.2-beta right now, but still don't have the ACPI detection code completely fixed (I have modified it some, but haven't worked on it lately). I'm not sure what's included with the version you have, but a couple of things SLOWACI has now that yours may not are that it has been converted from A86 to NASM, and I'm also experimenting with ODCM (On-Demand Clock Modulation) as a way to slow down the CPU instead of ACPI. ODCM is a method offered by Intel CPUs (AFAIK other CPU manufacturers don't offer it) that slows down the CPU similar to what ACPI does, but ODCM is accessed through the Model-Specific Registers (MSRs) in the CPU instead of the ACPI interface. I'm also trying to add support to monitor the battery status for laptops through the ACPI interface, but it's a mess to work with. I know it works with my old Sony laptop and my newer (but still really old) HP laptop, but don't know if it will work with any other laptops. ACPI is a HUGE PITA to work with.
SLOWACPI still has a long ways to go before I would consider it ready for an official release. I don't remember for sure if I've made any changes to affect the operation of the SLOWACPI 0 option, but I think I may have -- you can try the attached version and see.
It's also interesting that you can understand the code -- that make me feel good. That means all the time I spend commenting the code is worthwhile (believe me -- you would never be able to understand the code without the comments, and neither would I).
- Attachments
-
slowacpi.zip
- (117.07 KiB) Downloaded 615 times