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

Re: ACPI coexist with APM



> Date: Fri, 31 Oct 2008 21:12:06 +0300
> From: "Nikolay Tychina" <niktychina_(_at_)_gmail_(_dot_)_com>
> Sender: owner-freebsd-acpi_(_at_)_freebsd_(_dot_)_org
> 
> 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"?

Because the ACPI code has an APM emulator that supports legacy
applications that lack ACPI capability. The apm command is an obvious
case. 

Does your rc.conf have "apm_enable" or "apmd_enable"?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_(_at_)_es_(_dot_)_net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Attachment: pgprpuebdWCoZ.pgp
Description: PGP signature


Visit your host, monkey.org