Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Oct 2008 22:45:45 +0300
From:      "Nikolay Tychina" <niktychina@gmail.com>
To:        freebsd-acpi@freebsd.org
Subject:   Re: ACPI coexist with APM
Message-ID:  <fe3551530810311245q27002b62qd24868048814a5e@mail.gmail.com>
In-Reply-To: <20081031185240.BB2F045010@ptavv.es.net>
References:  <fe3551530810311112w5493f70fv7525dc1a52ad8b4b@mail.gmail.com> <20081031185240.BB2F045010@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
rc.conf hasn't "apm_enable" and "apmd_enable".


2008/10/31 Kevin Oberman <oberman@es.net>

> > Date: Fri, 31 Oct 2008 21:12:06 +0300
> > From: "Nikolay Tychina" <niktychina@gmail.com>
> > Sender: owner-freebsd-acpi@freebsd.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@es.net                  Phone: +1 510 486-8634
> Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe3551530810311245q27002b62qd24868048814a5e>