From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 27 18:04:13 2011 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 7118D1065673; Mon, 27 Jun 2011 18:04:13 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9DB8FC08; Mon, 27 Jun 2011 18:04:12 +0000 (UTC) Received: by vws18 with SMTP id 18so4978327vws.13 for ; Mon, 27 Jun 2011 11:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Y3qtMRMPX3uDEBo2iAxyZj2PUW2V5psGvQvyKBuVuiQ=; b=tFdbJof+v4xt766kBAQ9X4+NPoEPtcKWNpYVJF9ovD09Tznop3DUlQFFzZZIx06FiJ VnnGIUceQIMV/djqcS5mSnEOcCCOEu/AmrlY2HTiuDlpUtdKJ7ELjvPn0WhQWMM6kkpr AnFU+fdKD93nAA5GWFAnAdcommSMa7uF9v99A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YtWpN3PGX2stCw/FgEODgnuLpXYzPgv9rUpRFMgXLNPISmitPe5PrpuT86yrbIPHCL ukftWHrFivLAzMhG0VuIUXbc6kI7Mc8aZbeqbNI2kycvpLdOQGZlWC+jtG6eYreHNEZn 2z8ZRLr4gt3lkPS3zAmEScFx5u6FynV/yMEhM= MIME-Version: 1.0 Received: by 10.52.187.164 with SMTP id ft4mr8624270vdc.59.1309197852206; Mon, 27 Jun 2011 11:04:12 -0700 (PDT) Received: by 10.52.184.226 with HTTP; Mon, 27 Jun 2011 11:04:11 -0700 (PDT) In-Reply-To: <4E0862A0.7060405@FreeBSD.org> References: <4E05EB91.9090509@FreeBSD.org> <4E0862A0.7060405@FreeBSD.org> Date: Mon, 27 Jun 2011 21:04:11 +0300 Message-ID: From: Vitaly Magerya To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 Cc: freebsd-acpi@freebsd.org Subject: Re: (Missing) power states of an Atom N455-based netbook 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: Mon, 27 Jun 2011 18:04:13 -0000 Andriy Gapon wrote: > You can try to run devd in debug mode and capture its output in a file, so > that ACPI events could be examined. After 2+ minutes of uptime I get the first devd event: !system=ACPI subsystem=CMBAT type=\_SB_.PCI0.LPC0.H_EC.BAT1 notify=0x80 At this point cx_supported is still C1/1. After 4+ minutes of uptime (sometimes it's 3+) I get the same message once again, this time cx_supported is updated with C1, C2 and C3. The same event is reported aftewrads too; once in a few minutes. If power cord is plugged in, I get about 4 events like that before cx_supported is updated; they continue to arrive afterwards, once or twice per minute. (I can show the actual output of devd in debug mode, but aside from those events it's about parsing and other uninteresting stuff). > It seems that possibly we present different OS capabilities to ACPI... > Needs more investigation. > > Can you also send me two binary files produced as follows: > 1. dd if=/dev/mem size=1 iseek=0x3F5B9B71 count=0x00000203 of=... > 2. dd if=/dev/mem size=1 iseek=0x3F5B92DA count=0x00000708 of=... > > Or, if it's not too much trouble for you, you can send results of > decompilation of those files using iasl -d You can find them all at [1] and [2]. [1] http://tx97.net/~magv/n143-acpi/mem-3f5b9b71.dsl.txt [2] http://tx97.net/~magv/n143-acpi/mem-3f5b92da.dsl.txt