NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/58695: acpibat(4) fails to expose battery model/serial/type/oem
>Number: 58695
>Category: kern
>Synopsis: acpibat(4) fails to expose battery model/serial/type/oem
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 25 12:35:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetBatteryD Foundation
>Environment:
>Description:
The _BIF and _BIX methods of ACPI PNP0C0A battery devices return information about battery model number, serial number, batter type, and OEM information:
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/10_Power_Source_and_Power_Meter_Devices/Power_Source_and_Power_Meter_Devices.html#bif-battery-information
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/10_Power_Source_and_Power_Meter_Devices/Power_Source_and_Power_Meter_Devices.html#bix-battery-information-extended
However, NetBSD appears to ignore these and doesn't expose them anywhere.
>How-To-Repeat:
try to find battery model/serial/type/oem
>Fix:
Yes, please!
1. Print it in dmesg.
2. Create sysctl nodes for it.
Home |
Main Index |
Thread Index |
Old Index