Date: Fri, 31 Oct 2008 11:52:40 -0700 From: "Kevin Oberman" <oberman@es.net> To: "Nikolay Tychina" <niktychina@gmail.com> Cc: freebsd-acpi@freebsd.org Subject: Re: ACPI coexist with APM Message-ID: <20081031185240.BB2F045010@ptavv.es.net> In-Reply-To: Your message of "Fri, 31 Oct 2008 21:12:06 %2B0300." <fe3551530810311112w5493f70fv7525dc1a52ad8b4b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1225479160_1165P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > 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 --==_Exmh_1225479160_1165P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFJC1P4kn3rs5h7N1ERAnMtAJ9V4l5tELmAm/kS2vNtH4VoRHkF5QCeODMm /vaGlRXJza88ko5DpmVeTEw= =oHXp -----END PGP SIGNATURE----- --==_Exmh_1225479160_1165P--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081031185240.BB2F045010>