▲ | ajross 6 days ago | ||||||||||||||||||||||
Yeah. ACPI's AML bytecode is sort of a mixed blessing. It allows for reverse engineering and end user analasys/fixing of bugs like this. It's also just a terrible disaster of a programming environment, with a very large (terrifyingly so, given the limited capability) interpreter that needs to live at the highest privilege level of the kernel. And it's generally used like a hatchet by system integrators for tricks like this, with pretty much exactly the code quality you'd expect. Almost always the path to writing a Linux driver for some oddball laptop subsystem starts with "throw away the ACPI stuff". | |||||||||||||||||||||||
▲ | somat 6 days ago | parent | next [-] | ||||||||||||||||||||||
As far as I know there are three ACPI AML stacks, the reference intel one, linux uses this, miscrosoft has one, and those crazy hackers over at the openbsd project decided to make their own. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | rangestransform 5 days ago | parent | prev [-] | ||||||||||||||||||||||
This is why I prefer having my software vendor write native code to interface with the machine instead of stupid bodges like acpi Windows laptops are dead on arrival for me, all windows laptops are physical shovelware | |||||||||||||||||||||||
|