From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 31 19:45:47 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AF4A1065674 for ; Fri, 31 Oct 2008 19:45:47 +0000 (UTC) (envelope-from niktychina@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by mx1.freebsd.org (Postfix) with ESMTP id B17D48FC12 for ; Fri, 31 Oct 2008 19:45:46 +0000 (UTC) (envelope-from niktychina@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so592640ywe.13 for ; Fri, 31 Oct 2008 12:45:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=DnrbWC1H0T/TN+10wpokAnOkh8EZKFM3YVlljw69yAE=; b=S1FSRe19QlMGYarC7eAcYx5BwRIQv4cK1JCWKqUV68OgQJnBBrkoC4I7Tb2LouKI/X 13knZc0wwue69iQnXXfhG+M9Gnu2hwUQsBk9JKs/pUnwXUzkEvhrLfXt+ssTDRlqrFL3 hBqa+DMUUZP1Tl9kwyBriKAIufYJf8WO2nyBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=aH/gklTI4GTX4DRinjQX+UBQklE6yttD0O72odigFxjKQvjD39oGkadoRxcmAIN0TL 6waHF0jUMw8MdcVi1bDQw/hxWON7GrolGnoqYJLuzoD47KfThrl/q1b7zrOvw0gplHME ITvzgJAYsJeXbiwzTwGxxnaf5EYyHtl/pWu44= Received: by 10.151.149.14 with SMTP id b14mr6166419ybo.232.1225482345829; Fri, 31 Oct 2008 12:45:45 -0700 (PDT) Received: by 10.151.26.16 with HTTP; Fri, 31 Oct 2008 12:45:45 -0700 (PDT) Message-ID: Date: Fri, 31 Oct 2008 22:45:45 +0300 From: "Nikolay Tychina" To: freebsd-acpi@freebsd.org In-Reply-To: <20081031185240.BB2F045010@ptavv.es.net> MIME-Version: 1.0 References: <20081031185240.BB2F045010@ptavv.es.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ACPI coexist with APM X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 19:45:47 -0000 rc.conf hasn't "apm_enable" and "apmd_enable". 2008/10/31 Kevin Oberman > > Date: Fri, 31 Oct 2008 21:12:06 +0300 > > From: "Nikolay Tychina" > > 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 >