bea...@sdf.org (beaker) writes: >Out of curiosity I swapped in LMDE6 (Mint, Debian ed.) and ACPI works just >fine, >no weirdness at all. Suggests it's a problem with NetBSD's ACPI implementation >which I'd guess is old and dated. Not a huge issue on such an old laptop but >still, maybe worth freshening the code?
The ACPI code isn't that old. My guess is that a) the ACPI code in BIOS handles the _STA evaluation in a strange way and b) our acpi_bat driver isn't graceful enough about a failed _STA evaluation. ACPI defines that a non-existent _STA is to be handled like a "device present and operational" status. Now, an "insufficient memory" error isn't the same as a "object does not exist" error, but maybe it should be handled the same (so far we don't distinguish between errors anyway).