ACPI coexist with APM

Nikolay Tychina niktychina at gmail.com
Fri Oct 31 11:37:31 PDT 2008


Hello,

acpi is enabled, apm is disabled.

> cat /boot/device.hints | grep apm

hint.apm.0.disabled="1"
hint.apm.0.flags="0x20"
> cat /boot/device.hints | grep acpi
hint.acpi.0.disabled="0"

String "device apm" is commented in kernel config.
..and even kldstat shows NO apm:
> kldstat -v | grep -i apm
>



As far as i know, they can't coexist. But they do:



> apm
APM version: 1.2
APM Management: Disabled
AC Line status: on-line

Battery Status: high
Remaining battery life: 100%
Remaining battery time: unknown
Number of batteries: 1
Battery 0:
        Battery Status: high
        Remaining battery life: 100%
        Remaining battery time: unknown

Resume timer: unknown
Resume on ring indicator: disabled

> acpiconf -i batt
Design capacity:        4800 mAh
Last full capacity:     3824 mAh
Technology:             secondary (rechargeable)
Design voltage:         14800 mV
Capacity (warn):        240 mAh
Capacity (low):         144 mAh
Low/warn granularity:   264 mAh
Warn/full granularity:  3780 mAh
Model number:           Primary
Serial number:
Type:                   Lion
OEM info:               ACER
State:                  high
Remaining capacity:     100%
Remaining time:         unknown
Present rate:           0 mA
Voltage:                16391 mV



Why apm shows me information, if it's disabled "by the data"?


More information about the freebsd-acpi mailing list