NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: acpibat0 issue



mlelstv%serpens.de@localhost (Michael van Elst) wrote:

> beaker%sdf.org@localhost (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).
>

Ah okay, thanks for explanation; I'll just live with the quirks for now.

-B


Home | Main Index | Thread Index | Old Index