From owner-freebsd-acpi@FreeBSD.ORG Sat Jul 2 20:30:25 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 19CC0106566C; Sat, 2 Jul 2011 20:30:25 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B29728FC1D; Sat, 2 Jul 2011 20:30:24 +0000 (UTC) Received: by vxg33 with SMTP id 33so4143762vxg.13 for ; Sat, 02 Jul 2011 13:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bJvdfZxRDQrnLbBGQupoq8N0cf8D4MiUdVJU2+/aVeQ=; b=Kqx2rsHpMCRRZ7GHc9W697Mem1NnmyebXJQdWXZ4+yr4UkgTklu1keX0hYiUYSUHvO RurM1tflpw32C0NJwaPWBIY6CR6uo+AniGghAIVymgAGRcsqSkzj3ftkchGUfi7Fq7eR rosGITApcxNycTv6NUfCqIJvc//yWkXTQ4A0s= MIME-Version: 1.0 Received: by 10.52.91.72 with SMTP id cc8mr2680737vdb.79.1309638621889; Sat, 02 Jul 2011 13:30:21 -0700 (PDT) Received: by 10.52.108.226 with HTTP; Sat, 2 Jul 2011 13:30:21 -0700 (PDT) In-Reply-To: <4E0DB58F.4070906@FreeBSD.org> References: <4E05EB91.9090509@FreeBSD.org> <4E0862A0.7060405@FreeBSD.org> <4E09BADF.7050702@FreeBSD.org> <4E0A41C8.3000904@FreeBSD.org> <4E0CE158.6030804@FreeBSD.org> <4E0DB58F.4070906@FreeBSD.org> Date: Sat, 2 Jul 2011 23:30:21 +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: Sat, 02 Jul 2011 20:30:25 -0000 Andriy Gapon wrote: >> VDRV: 00 -> 01 > > Looks like this variable should tell if OS has ACPI Video driver, to be precise > if _BCL method was invoked at least once. > Looks like in your case the driver doesn't attach for some reason?.. I don't have acpi_video loaded (it's not loaded by default). If I do load it, VDRV indeed becomes 1 (brightness controls that acpi_video exposes don't work though; this appears to be a known problem with Samsung laptops). > Unfortunately, I don't remember if or where you provided your dmesg. It's at [1]. >> (Note that C1ON is 0 just as with FreeBSD, and yet powertop does >> report C2 and C4). > > [...] > > Actually, it seems that they have them simply hardcoded: > http://lxr.linux.no/#linux+v2.6.39/drivers/idle/intel_idle.c#L171 > I am not sure how to check on Linux which cpuidle driver is being used. If you > know, could please check that? And if the driver is intel_idle, then there is > no mystery, they use those hardcoded values. I think the mystery is solved then: $ cat /sys/devices/system/cpu/cpuidle/current_driver intel_idle >> Then, after about 4 minutes of uptime, C1ON changes to 1 (and >> powertop still reports the same states). > > OK, no difference here. So it's probably done by firmware based on some unknown > logic. It seems that way. [1] http://tx97.net/~magv/dmesg-n143-verbose.82.txt