From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 18:46:34 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 F40D3106567C; Sun, 2 Nov 2008 18:46:33 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9F9C98FC08; Sun, 2 Nov 2008 18:46:32 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 226786720; Sun, 02 Nov 2008 20:46:31 +0200 Message-ID: <490DF584.5080506@FreeBSD.org> Date: Sun, 02 Nov 2008 20:46:28 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: FreeBSD acpi , freebsd-mobile@FreeBSD.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 02 Nov 2008 10:49:39 -0800 Cc: Subject: Is the C3 possible with SMP? 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: Sun, 02 Nov 2008 18:46:34 -0000 Hi. I have tried to enable C3 state on my Core2Duo laptop and found that it is not working good. System HZ timer stops during CPU sleep. After some investigation I have found that it is due to LAPIC timer used for HZ stopped during C3 state (same as during AMD's C1E). So the question is: Is it possible (or planned) to make it work somehow? For example, by using some external timer instead of LAPIC's one? ACPI reports about 20% less idle power consumption with C3 state comparing to C2. It would be interesting to get additional half an hour on battery. -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 20:16:05 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 223B61065677; Sun, 2 Nov 2008 20:16:05 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 780BB8FC25; Sun, 2 Nov 2008 20:16:04 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so887403qwb.7 for ; Sun, 02 Nov 2008 12:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=0t0iupSRV8Qs+C0/ZroGEyzzd59NZf796SRlC0ekOW0=; b=O6QXoDtet1lJhm3wjRK+bG2C71Ui+D2zfggPT57ZobaRZV8g5PL41LjHLmBYD8W0lU ucXKkpldQKa1HqBk8B6B9El9P1wyF+/UZ0iJnlVkTNmZhQtnn+mkV0xBHpBxxt56XgN8 /eFQMjLHui04bv3o/juBt1q6zlg2WPAAOxX+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=KjTW3QHoSFPvaaV9YCOQkv5rPDe130y1aZiQiHNNGE7cDq263M3f1zmJmKxvfZGZ7P 3YTMtoW0Ey/F02lfZXkTIoUpLLhIapyjU+GWj+9E97QjudS+lyoT57ACOh7hUg0/Inzo V3QNHfi+k3l839g1tDnavlH7cDy5Kt29FZmWQ= Received: by 10.214.181.1 with SMTP id d1mr10792963qaf.1.1225656963764; Sun, 02 Nov 2008 12:16:03 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 7sm5521358ywo.7.2008.11.02.12.16.02 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 12:16:03 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490DF584.5080506@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Sun, 02 Nov 2008 15:15:33 -0500 Message-Id: <1225656933.1202.2.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Sun, 02 Nov 2008 20:16:05 -0000 On Sun, 2008-11-02 at 20:46 +0200, Alexander Motin wrote: > Hi. > > I have tried to enable C3 state on my Core2Duo laptop and found that it > is not working good. System HZ timer stops during CPU sleep. After some > investigation I have found that it is due to LAPIC timer used for HZ > stopped during C3 state (same as during AMD's C1E). > > So the question is: Is it possible (or planned) to make it work somehow? > For example, by using some external timer instead of LAPIC's one? > > ACPI reports about 20% less idle power consumption with C3 state > comparing to C2. It would be interesting to get additional half an hour > on battery. > You can get half way there by adding dev.cpu.1.cx_lowest=C3 to /etc/sysctl.conf I do realize that this is not The Solution, but it still saves battery. HTH, -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 21:30:04 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF5A01065670 for ; Sun, 2 Nov 2008 21:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD7398FC08 for ; Sun, 2 Nov 2008 21:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA2LU4Dj063203 for ; Sun, 2 Nov 2008 21:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA2LU4ja063200; Sun, 2 Nov 2008 21:30:04 GMT (envelope-from gnats) Date: Sun, 2 Nov 2008 21:30:04 GMT Message-Id: <200811022130.mA2LU4ja063200@freefall.freebsd.org> To: freebsd-acpi@FreeBSD.org From: Anish Mistry Cc: Subject: Re: kern/121504: [patch] Correctly set hw.acpi.osname on certain machines X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anish Mistry List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2008 21:30:04 -0000 The following reply was made to PR kern/121504; it has been noted by GNATS. From: Anish Mistry To: Jung-uk Kim Cc: bug-followup@freebsd.org, John Baldwin Subject: Re: kern/121504: [patch] Correctly set hw.acpi.osname on certain machines Date: Sun, 2 Nov 2008 16:59:02 -0400 --nextPart19176370.nKuXPQD2aR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 31 October 2008, Jung-uk Kim wrote: > If you are still feeling adventurous, please try the attached > patch. Note that _OSI is very different from _OS_ and we cannot > reuse "hw.acpi.osname" tunable here. First of all, _OSI method > must be able to match multiple entries, not just predefined OS > strings, e.g., "3.0 Thermal Model", "Extended Address Space > Descriptor", etc. although nobody really uses these 'feature group > strings' for their BIOS implementations. (Ideally, if there is a > device driver which implemented the feature, the driver is > responsible for registering its capabilities to this table.) > > With the attached patch, you can add multiple entries by setting > "hw.acpi.supported_osi" tunable and they must be comma-separated, > e.g.: Still no change on my system, but it seems that this would be good to=20 get in as it might help other people. =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart19176370.nKuXPQD2aR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkkOFJcACgkQxqA5ziudZT04VwCdEw8KJL/kTofrccYWCAJIfLq0 shsAoK9wWQe3cR/pP6ARj5tbveUvdovx =UHQt -----END PGP SIGNATURE----- --nextPart19176370.nKuXPQD2aR-- From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 22:06:24 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 B1BDA106564A; Sun, 2 Nov 2008 22:06:24 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id D3D508FC0C; Sun, 2 Nov 2008 22:06:23 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 226798405; Mon, 03 Nov 2008 00:06:22 +0200 Message-ID: <490E245C.7070900@FreeBSD.org> Date: Mon, 03 Nov 2008 00:06:20 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> In-Reply-To: <1225656933.1202.2.camel@RabbitsDen> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Sun, 02 Nov 2008 22:06:24 -0000 Alexandre "Sunny" Kovalenko wrote: >> I have tried to enable C3 state on my Core2Duo laptop and found that it >> is not working good. System HZ timer stops during CPU sleep. After some >> investigation I have found that it is due to LAPIC timer used for HZ >> stopped during C3 state (same as during AMD's C1E). >> >> So the question is: Is it possible (or planned) to make it work somehow? >> For example, by using some external timer instead of LAPIC's one? >> >> ACPI reports about 20% less idle power consumption with C3 state >> comparing to C2. It would be interesting to get additional half an hour >> on battery. >> > You can get half way there by adding > > dev.cpu.1.cx_lowest=C3 > > to /etc/sysctl.conf Thanks. 1. Looks like it does not kill the timer. 2. I haven't got any benefit from it in idle state. According to `acpiconf -i 0` I have about 13 Amps (IMHO more looks like Watts) with both C2 and this half-to-C3, but only 11 Amps in full C3 (but without timer). 3. I have got about 10% benefit (33 Amps against 36) when cpu0 is 100% busy while cpu1 is idle. -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 22:27:25 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 6E5F91065672; Sun, 2 Nov 2008 22:27:25 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id DE1408FC16; Sun, 2 Nov 2008 22:27:24 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so905059qwb.7 for ; Sun, 02 Nov 2008 14:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=nVC+Y1CWKgzYNAGbkedDJyo+zCC0Hfk4AyWTF9uxktA=; b=jjvp+TIepiAPSYLNrKX0smdUy4qT3vXqlRuTZBbUnc2hpocBkMmUsHUl8R8iLbeCvm CzUCWcwgKlGT9OwbpWKCP2BGnuqzD99gMa8sCInJ8lJ9x/qSBVDDhjRx//6zeFWN1DfI 4TzVPF6m0qiea4L/qLSC8YX0gX7mPtxQWAtMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=BzEwloDtgmz7xI8xTU3BmGLfwfRoc20dMWHZTUxMuFLFGkLCoBEVg0TO6VeeDACDFe PHCtO9qIc/KCWTdNCkGwTTyCRwmndS/8k4tOAjsoyBYpsCXfADJQN1bX7VqIi9xobKDP axOzJU6WjZfE8q4cJ0hM1332f4CTFlWY/uH1I= Received: by 10.214.45.12 with SMTP id s12mr2795581qas.160.1225664844239; Sun, 02 Nov 2008 14:27:24 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 8sm5634435ywg.6.2008.11.02.14.27.23 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 14:27:23 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490E245C.7070900@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Sun, 02 Nov 2008 17:26:53 -0500 Message-Id: <1225664813.1202.5.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Sun, 02 Nov 2008 22:27:25 -0000 On Mon, 2008-11-03 at 00:06 +0200, Alexander Motin wrote: > Alexandre "Sunny" Kovalenko wrote: > >> I have tried to enable C3 state on my Core2Duo laptop and found that it > >> is not working good. System HZ timer stops during CPU sleep. After some > >> investigation I have found that it is due to LAPIC timer used for HZ > >> stopped during C3 state (same as during AMD's C1E). > >> > >> So the question is: Is it possible (or planned) to make it work somehow? > >> For example, by using some external timer instead of LAPIC's one? > >> > >> ACPI reports about 20% less idle power consumption with C3 state > >> comparing to C2. It would be interesting to get additional half an hour > >> on battery. > >> > > You can get half way there by adding > > > > dev.cpu.1.cx_lowest=C3 > > > > to /etc/sysctl.conf > > Thanks. > > 1. Looks like it does not kill the timer. > 2. I haven't got any benefit from it in idle state. According to > `acpiconf -i 0` I have about 13 Amps (IMHO more looks like Watts) with > both C2 and this half-to-C3, but only 11 Amps in full C3 (but without > timer). > 3. I have got about 10% benefit (33 Amps against 36) when cpu0 is 100% > busy while cpu1 is idle. > You would not happen to have USB loaded or built into kernel? If you do, you will practically never go into C3. What does sysctl dev.cpu | grep cx_usage say? -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Sun Nov 2 22:43:41 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 08A341065678; Sun, 2 Nov 2008 22:43:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 51B3D8FC17; Sun, 2 Nov 2008 22:43:40 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 226800879; Mon, 03 Nov 2008 00:43:39 +0200 Message-ID: <490E2D19.1030502@FreeBSD.org> Date: Mon, 03 Nov 2008 00:43:37 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> In-Reply-To: <1225664813.1202.5.camel@RabbitsDen> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Sun, 02 Nov 2008 22:43:41 -0000 Alexandre "Sunny" Kovalenko wrote: > You would not happen to have USB loaded or built into kernel? If you do, At home I have external USB keyboard and mouse, so yes, it is built in. It would be difficult to unload and reload it each time I connect something. I have read in ICH8M datasheet about special feature of reducing USB busmaster activity on idle periods to support C3 state. Do you know something about it? > you will practically never go into C3. What does > > sysctl dev.cpu | grep cx_usage > > say? %sysctl -a | grep cx_ hw.acpi.cpu.cx_lowest: C2 dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 dev.cpu.0.cx_lowest: C2 dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 dev.cpu.1.cx_lowest: C3 dev.cpu.1.cx_usage: 0.00% 0.43% 99.56% -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 00:05:19 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 1A8ED1065680; Mon, 3 Nov 2008 00:05:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 897A98FC25; Mon, 3 Nov 2008 00:05:18 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so917751qwb.7 for ; Sun, 02 Nov 2008 16:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wS/o3dJhK7FzhRnBZft4e6ENVqV3Kioy4Z6/Xe1tr8w=; b=QTr+AJvW/niA3KB/PQCZ6mfRt23DMxkllh0uEzOotQc3WO2zXYOtLYjG1aYUZfOb6Z Uk3hT2HmKneLzNBBjHKgLCcSzJMoaCBLZi/SIDto8inizd6iQ7Cuo2KEyx5yV4mixITU ty+E+lbkUne4+rW+7qEnw3ORmrxE0lNOXouWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=MbBO038be/5VdhjFbIHx77hlXo/Jokqi72Jt2LpWQEHAfKDWz7NCMsGq3nSnEB35X/ Uz6KG9uvBoIhMEcSC5ehOyBhCjPMmx4IL80m+xbqJuvm5SRQYHq1UexwuOW+2TnpY3QM aTvODBrSlZnOYqwgdplTwV3nRBTAmIjx4/WCs= Received: by 10.214.181.21 with SMTP id d21mr10801316qaf.63.1225670717819; Sun, 02 Nov 2008 16:05:17 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 30sm8470483yxk.4.2008.11.02.16.05.16 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 16:05:17 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490E2D19.1030502@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Sun, 02 Nov 2008 19:04:46 -0500 Message-Id: <1225670686.1153.8.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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, 03 Nov 2008 00:05:19 -0000 On Mon, 2008-11-03 at 00:43 +0200, Alexander Motin wrote: > Alexandre "Sunny" Kovalenko wrote: > > You would not happen to have USB loaded or built into kernel? If you do, > > At home I have external USB keyboard and mouse, so yes, it is built in. > It would be difficult to unload and reload it each time I connect something. I am not sure, I follow. When my laptop is on my desk (and plugged into the power supply), I am loading usb modules for all the necessary devices, including, but not limited to my mouse and keyboard. At this point, I do not get much of C3: dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dev.cpu.1.cx_usage: 0.00% 99.76% 0.23% When laptop is moving around with me, all USB modules are unloaded and I get about 4 hours of battery life with wireless on, admittedly on the light usage (reading/writing E-mails, browsing web, typing up occasional document). I consider this good for 4.4lbs (<2kg) laptop. My Kill-A-Watt device shows miniscule (~4%) even if stable difference between C3 and no-C3 when plugged into the outlet. > > I have read in ICH8M datasheet about special feature of reducing USB > busmaster activity on idle periods to support C3 state. Do you know > something about it? Unfortunately, I do not. > > > you will practically never go into C3. What does > > > > sysctl dev.cpu | grep cx_usage > > > > say? > > %sysctl -a | grep cx_ > hw.acpi.cpu.cx_lowest: C2 > dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.0.cx_lowest: C2 > dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% > dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.1.cx_lowest: C3 > dev.cpu.1.cx_usage: 0.00% 0.43% 99.56% > OK, so we have C3. Is this the machine you see no difference in power consumption between C3 and no C3? How did you measure it? -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 04:11:04 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 A0414106564A; Mon, 3 Nov 2008 04:11:04 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.227]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8788FC18; Mon, 3 Nov 2008 04:11:04 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2191011rvf.43 for ; Sun, 02 Nov 2008 20:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=CayrhIZnENmF3puT8JHznHBt+x+7Le8cHr+BIyIxS20=; b=m3+v/6nCoNl6+6wrJbPaSfIIRXIb8E7NN5rI/R/US0foiru1Eo5xOWdOUjZgZv8ocm ky0krkPNAMElxDjAAxviOrc2OFx6wiT3JkVtmU6Uu3rhmMikUbKS3SrmOdJJzCThTNL7 PwduMiC5gmIh8gLB60JfmmEC8rGeuwYxCxI4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=x6YyXg4AxQf9V5R7WFlpBRsyovJoPAJs72WxfezghilD1z34wRA5Lxch8ajqG8FKUi Wcv7NMKE77p7lYQkFxsQMf3m70rsF3yC+hGt+N9tGuXWt48VjnfNwP5kOsLE2aRIugKq Xsa6ax2iUepj2jNHb+G25aWpZWVtBriOMLxVU= Received: by 10.140.186.21 with SMTP id j21mr8637533rvf.104.1225685463963; Sun, 02 Nov 2008 20:11:03 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id b8sm19132457rvf.9.2008.11.02.20.10.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 20:11:01 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id mA3491Xj095028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Nov 2008 13:09:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id mA348xTr095027; Mon, 3 Nov 2008 13:08:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Mon, 3 Nov 2008 13:08:59 +0900 From: Pyun YongHyeon To: Georgi Iovchev Message-ID: <20081103040859.GD94302@cdnetworks.co.kr> References: <596673353.20081006181334@pulsar.bg> <20081010012058.GA99376@cdnetworks.co.kr> <1948191744.20081010114326@pulsar.bg> <20081014064456.GE14769@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081014064456.GE14769@cdnetworks.co.kr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: can not wake on lan after halt -p (or shutdown -p now) on releng_7 and releng_7_0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 04:11:04 -0000 On Tue, Oct 14, 2008 at 03:44:56PM +0900, To Georgi Iovchev wrote: > On Fri, Oct 10, 2008 at 11:43:26AM +0300, Georgi Iovchev wrote: > > > > > > -- > > Friday, October 10, 2008, 4:20:58 AM: > > > > > On Mon, Oct 06, 2008 at 06:13:34PM +0300, Georgi Iovchev wrote: > > >> Hello list > > >> > > >> I have a shutdown problem. I have a machine with gigabyte GA-G33M-DS2R > > >> motherboard. Integrated network card is Realtek 8111B. > > >> I can not wake the computer after I shutdown it from FreeBSD. > > >> It is a dualboot system - windows xp and freebsd. If I shutdown the > > >> computer from windows - later I can wake it up with magic packet. Even > > >> if i shutdown the machine on the boot menu with the power button - than > > >> later I can wake on lan. The only situation where I CANNOT wake it is > > >> when I shutdown the machine from freebsd (halt -p). > > >> > > >> First I tested with 7.0-RELEASE-p5 amd64 (RELENG_7_0) and than I > > >> upgraded to 7.1 PRERELASE amd64 (RELENG_7). I also tested with two > > >> network cards - the integrated one Realtek 8111B and another one Intel > > >> PRO1000PT PCI-E with WOL enabled. > > >> > > > > > Don't know WOL issue of em(4) but re(4) should respond to WOL. > > > 7.0-RELEASE had no support for WOL so RELENG_7 or 7.1-PRERELEASE > > > should be used to experiment WOL. > > Now I am using 7.1-prerelase > > > > >> With both nics and both freebsd versions the situation is the same - > > >> after shutdown from bsd the computer is not able to wake on lan. The > > > > > Because you can wake up your sytem from Windows shutdown I think > > > your BIOS is already configured to allow wakeup from WOL. Would > > > you compare ethernet address of re(4) to Winwods? Have you tried to > > > send Magic packets to FreeBSD box? > > I have tried sending magic packets from another bsd machine. I am > > using net/wol. I also tried to send magic packets from windows machine > > using 3 different programs. > > > > > You may also try suspend your box with acpiconf and resume from WOL. > > I cant. > > > > [root@backup ~]# acpiconf -s 5 > > acpiconf: invalid sleep type (5) > > > > Actually I cant enter in any sleep state > > [root@backup ~]# acpiconf -s 4 > > acpiconf: request sleep type (4) failed: Operation not supported > > [root@backup ~]# acpiconf -s 3 > > acpiconf: request sleep type (3) failed: Operation not supported > > [root@backup ~]# acpiconf -s 2 > > acpiconf: request sleep type (2) failed: Operation not supported > > [root@backup ~]# acpiconf -s 1 > > acpiconf: request sleep type (1) failed: Operation not supported > > > > I am using generic kernel with little modifications, (generally i have > > commented many unused drivers - raid, if_....) Acpi is in generic > > kernel now. > > > > I even tried to wake the machine with magic packet after shutdown -h. > > But still no luck. > > > > > > >> indication on the switch port says that after shut down there is > > >> active link. > > >> > > > > > That indicates the controller is alive so it shall respond to WOL > > > if it was correctly configured to receive WOL packets. Have you > > > tried to send Magic packets to FreeBSD box? > > > > >> Here is some information after last update: > > >> > > >> [root@backup ~]# uname -a > > >> FreeBSD backup.pulsar.bg 7.1-PRERELEASE FreeBSD > > >> 7.1-PRERELEASE #1: Mon Oct 6 17:01:26 EEST 2008 > > >> root@backup.pulsar.bg:/usr/obj/usr/src/sys/MYCONF amd64 > > >> > > >> [root@backup ~]# pciconf -lv > > >> ... > > >> re0@pci0:3:0:0: class=0x020000 card=0xe0001458 > > >> chip=0x816810ec rev=0x01 hdr=0x00 > > >> vendor = 'Realtek Semiconductor' > > >> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > > >> class = network > > >> subclass = ethernet > > >> ... > > > > > Show me dmesg output pertinent to re(4). > > > > re0: port 0xd000-0xd0ff mem 0xf2000000-0xf2000fff irq 17 at device 0.0 on pci3 > > re0: turning off MSI enable bit. > > re0: Chip rev. 0x38000000 > > re0: MAC rev. 0x00000000 > > miibus0: on re0 > > rgephy0: PHY 1 on miibus0 > > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > > re0: Ethernet address: 00:1f:d0:24:19:e9 > > re0: [FILTER] > > > > It looks like your chip is RTL8168B and I don't see any errors in > WOL related code of re(4). :-( > Can you check the resolved link speed/duplex of FreeBSD box after > shutdown?(You can enter to your switch menu and see the port > status.) > How about sending WOL packets over direct-connected UTP cable > without using switch? > Here is WOL patch which may fix the issye. Would you try the following patch and let me know whether WOL works or not? http://people.freebsd.org/~yongari/re/re.phy.patch.20081103 -- Regards, Pyun YongHyeon From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 09:16:07 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 27884106567B; Mon, 3 Nov 2008 09:16:07 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 72E758FC12; Mon, 3 Nov 2008 09:16:06 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 226841837; Mon, 03 Nov 2008 11:16:05 +0200 Message-ID: <490EC154.9020801@FreeBSD.org> Date: Mon, 03 Nov 2008 11:16:04 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> <1225670686.1153.8.camel@RabbitsDen> In-Reply-To: <1225670686.1153.8.camel@RabbitsDen> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 03 Nov 2008 01:26:19 -0800 Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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, 03 Nov 2008 09:16:07 -0000 Alexandre "Sunny" Kovalenko wrote: > When laptop is moving around with me, all USB modules are unloaded and I I will try to unload USB later today. > get about 4 hours of battery life with wireless on, admittedly on the > light usage (reading/writing E-mails, browsing web, typing up occasional > document). I consider this good for 4.4lbs (<2kg) laptop. I have a bit more then 3 hours at the same weight. Which CPU, video and chipset do you have? > OK, so we have C3. Is this the machine you see no difference in power > consumption between C3 and no C3? How did you measure it? Yes. I am using `acpiconf -i 0`. I have no way to measure AC power and I am not sure in precision of such measurements due to limited AC power supply effectiveness. I have some doubts that C3 on only one of two cores could give much benefit. I have already lowered frequency and voltage via EST by powerd. I have turned off most of CPU clocks with Core2Duo C2E state. So, according to what I have read, now only APICs and bus controller are active. As soon as I see timer interrupt on cpu1 it's APIC is not sleeping. Bus controller is shared by cores, so it can't be disabled until at least one core is active. -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 10:43:06 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 9391F106564A; Mon, 3 Nov 2008 10:43:06 +0000 (UTC) (envelope-from geo@pulsar.bg) Received: from pulsar.bg (pulsar.bg [213.130.70.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3058FC1A; Mon, 3 Nov 2008 10:43:06 +0000 (UTC) (envelope-from geo@pulsar.bg) Received: from [78.142.42.148] by pulsar.bg with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Kwwtk-0005Lm-Fg; Mon, 03 Nov 2008 12:43:04 +0200 Message-ID: <490ED5E7.40606@pulsar.bg> Date: Mon, 03 Nov 2008 12:43:51 +0200 From: Georgi Iovchev User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: pyunyh@gmail.com References: <596673353.20081006181334@pulsar.bg> <20081010012058.GA99376@cdnetworks.co.kr> <1948191744.20081010114326@pulsar.bg> <20081014064456.GE14769@cdnetworks.co.kr> <20081103040859.GD94302@cdnetworks.co.kr> In-Reply-To: <20081103040859.GD94302@cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 03 Nov 2008 02:48:26 -0800 Cc: Subject: Re: can not wake on lan after halt -p (or shutdown -p now) on releng_7 and releng_7_0 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, 03 Nov 2008 10:43:06 -0000 Pyun YongHyeon wrote: > On Tue, Oct 14, 2008 at 03:44:56PM +0900, To Georgi Iovchev wrote: > > On Fri, Oct 10, 2008 at 11:43:26AM +0300, Georgi Iovchev wrote: > > > > > > > > > -- > > > Friday, October 10, 2008, 4:20:58 AM: > > > > > > > On Mon, Oct 06, 2008 at 06:13:34PM +0300, Georgi Iovchev wrote: > > > >> Hello list > > > >> > > > >> I have a shutdown problem. I have a machine with gigabyte GA-G33M-DS2R > > > >> motherboard. Integrated network card is Realtek 8111B. > > > >> I can not wake the computer after I shutdown it from FreeBSD. > > > >> It is a dualboot system - windows xp and freebsd. If I shutdown the > > > >> computer from windows - later I can wake it up with magic packet. Even > > > >> if i shutdown the machine on the boot menu with the power button - than > > > >> later I can wake on lan. The only situation where I CANNOT wake it is > > > >> when I shutdown the machine from freebsd (halt -p). > > > >> > > > >> First I tested with 7.0-RELEASE-p5 amd64 (RELENG_7_0) and than I > > > >> upgraded to 7.1 PRERELASE amd64 (RELENG_7). I also tested with two > > > >> network cards - the integrated one Realtek 8111B and another one Intel > > > >> PRO1000PT PCI-E with WOL enabled. > > > >> > > > > > > > Don't know WOL issue of em(4) but re(4) should respond to WOL. > > > > 7.0-RELEASE had no support for WOL so RELENG_7 or 7.1-PRERELEASE > > > > should be used to experiment WOL. > > > Now I am using 7.1-prerelase > > > > > > >> With both nics and both freebsd versions the situation is the same - > > > >> after shutdown from bsd the computer is not able to wake on lan. The > > > > > > > Because you can wake up your sytem from Windows shutdown I think > > > > your BIOS is already configured to allow wakeup from WOL. Would > > > > you compare ethernet address of re(4) to Winwods? Have you tried to > > > > send Magic packets to FreeBSD box? > > > I have tried sending magic packets from another bsd machine. I am > > > using net/wol. I also tried to send magic packets from windows machine > > > using 3 different programs. > > > > > > > You may also try suspend your box with acpiconf and resume from WOL. > > > I cant. > > > > > > [root@backup ~]# acpiconf -s 5 > > > acpiconf: invalid sleep type (5) > > > > > > Actually I cant enter in any sleep state > > > [root@backup ~]# acpiconf -s 4 > > > acpiconf: request sleep type (4) failed: Operation not supported > > > [root@backup ~]# acpiconf -s 3 > > > acpiconf: request sleep type (3) failed: Operation not supported > > > [root@backup ~]# acpiconf -s 2 > > > acpiconf: request sleep type (2) failed: Operation not supported > > > [root@backup ~]# acpiconf -s 1 > > > acpiconf: request sleep type (1) failed: Operation not supported > > > > > > I am using generic kernel with little modifications, (generally i have > > > commented many unused drivers - raid, if_....) Acpi is in generic > > > kernel now. > > > > > > I even tried to wake the machine with magic packet after shutdown -h. > > > But still no luck. > > > > > > > > > >> indication on the switch port says that after shut down there is > > > >> active link. > > > >> > > > > > > > That indicates the controller is alive so it shall respond to WOL > > > > if it was correctly configured to receive WOL packets. Have you > > > > tried to send Magic packets to FreeBSD box? > > > > > > >> Here is some information after last update: > > > >> > > > >> [root@backup ~]# uname -a > > > >> FreeBSD backup.pulsar.bg 7.1-PRERELEASE FreeBSD > > > >> 7.1-PRERELEASE #1: Mon Oct 6 17:01:26 EEST 2008 > > > >> root@backup.pulsar.bg:/usr/obj/usr/src/sys/MYCONF amd64 > > > >> > > > >> [root@backup ~]# pciconf -lv > > > >> ... > > > >> re0@pci0:3:0:0: class=0x020000 card=0xe0001458 > > > >> chip=0x816810ec rev=0x01 hdr=0x00 > > > >> vendor = 'Realtek Semiconductor' > > > >> device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' > > > >> class = network > > > >> subclass = ethernet > > > >> ... > > > > > > > Show me dmesg output pertinent to re(4). > > > > > > re0: port 0xd000-0xd0ff mem 0xf2000000-0xf2000fff irq 17 at device 0.0 on pci3 > > > re0: turning off MSI enable bit. > > > re0: Chip rev. 0x38000000 > > > re0: MAC rev. 0x00000000 > > > miibus0: on re0 > > > rgephy0: PHY 1 on miibus0 > > > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto > > > re0: Ethernet address: 00:1f:d0:24:19:e9 > > > re0: [FILTER] > > > > > > > It looks like your chip is RTL8168B and I don't see any errors in > > WOL related code of re(4). :-( > > Can you check the resolved link speed/duplex of FreeBSD box after > > shutdown?(You can enter to your switch menu and see the port > > status.) > > How about sending WOL packets over direct-connected UTP cable > > without using switch? > > Hello again :) I have resumed my experimets with wol again. I checked the link speed from the switch web gui. It says "100M Full". > Here is WOL patch which may fix the issye. Would you try the > following patch and let me know whether WOL works or not? > http://people.freebsd.org/~yongari/re/re.phy.patch.20081103 > I tried your patch. Just to be sure that I did it correct - here are my steps: cd / patch < /path/re.phy.patch.20081103 cd /sys/modules/re make all install reboot After reboot I shutdown the machine and try to wake it from another computer. Still WOL does not work. From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 11:06:48 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 DF8961065673 for ; Mon, 3 Nov 2008 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CD39F8FC14 for ; Mon, 3 Nov 2008 11:06:47 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA3B6lvx010804 for ; Mon, 3 Nov 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA3B6l7F010800 for freebsd-acpi@FreeBSD.org; Mon, 3 Nov 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Nov 2008 11:06:47 GMT Message-Id: <200811031106.mA3B6l7F010800@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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, 03 Nov 2008 11:06:48 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/127581 acpi [patch] [acpi_sony] Add support for more Sony features o kern/124744 acpi [acpi] [patch] incorrect _BST result validation for To o kern/124412 acpi [acpi] power off error on Toshiba M40 laptop o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot o kern/121504 acpi [patch] Correctly set hw.acpi.osname on certain machin f kern/121454 acpi [pst] Promise SuperTrak SX6000 does not load during bo o kern/121102 acpi [acpi_fujitsu] [patch] update acpi_fujitsu for the P80 o kern/120515 acpi [acpi] [patch] acpi_alloc_wakeup_handler: can't alloc o kern/119356 acpi [acpi]: i386 ACPI wakeup not work due resource exhaust o kern/119200 acpi [acpi] Lid close switch suspends CPU for 1 second on H o kern/118973 acpi [acpi]: Kernel panic with acpi boot o kern/117605 acpi [acpi] [request] add debug.cpufreq.highest o kern/116939 acpi [acpi] PCI-to-PCI misconfigured for bus three and can o i386/114562 acpi [acpi] cardbus is dead after s3 on Thinkpad T43 with a o kern/114165 acpi [acpi] Dell C810 - ACPI problem s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/108954 acpi [acpi] 'sleep(1)' sleeps >1 seconds when speedstep (Cx o kern/108695 acpi [acpi]: Fatal trap 9: general protection fault when in o kern/108581 acpi [sysctl] sysctl: hw.acpi.cpu.cx_lowest: Invalid argume o kern/108488 acpi [acpi] ACPI-1304: *** Error: Method execution failed o kern/108017 acpi [acpi]: Acer Aspire 5600 o kern/106924 acpi [acpi] ACPI resume returns g_vfs_done() errors and ker o kern/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 o kern/104625 acpi ACPI on ASUS A8N-32 SLI/ASUS P4P800 does not show ther o kern/102252 acpi acpi thermal does not work on Abit AW8D (intel 975) o kern/97383 acpi Volume buttons on IBM Thinkpad crash system with ACPI s i386/91748 acpi acpi problem on Acer TravelMare 4652LMi (nvidia panic, s kern/91038 acpi [panic] [ata] [acpi] 6.0-RELEASE on Fujitsu Siemens Am s kern/90243 acpi Laptop fan doesn't turn off (ACPI enabled) (Packard Be o kern/89411 acpi [acpi] acpiconf bug o i386/83018 acpi [install] Installer will not boot on Asus P4S8X BIOS 1 o kern/81000 acpi [apic] Via 8235 sound card worked great with FreeBSD 5 o i386/79081 acpi ACPI suspend/resume not working on HP nx6110 o kern/76950 acpi ACPI wrongly blacklisted on Micron ClientPro 766Xi sys s kern/73823 acpi [request] acpi / power-on by timer support o i386/72566 acpi ACPI, FreeBSD disables fan on Compaq Armada 1750 o i386/69750 acpi Boot without ACPI failed on ASUS L5 f kern/67309 acpi zzz reboot computer (ACPI S3) o kern/56024 acpi ACPI suspend drains battery while in S3 o i386/55661 acpi ACPI suspend/resume problem on ARMADA M700 o i386/54756 acpi ACPI suspend/resume problem on CF-W2 laptop 41 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 11:36:35 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E9BE1065675; Mon, 3 Nov 2008 11:36:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 352B28FC17; Mon, 3 Nov 2008 11:36:35 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA3BaZ4e038104; Mon, 3 Nov 2008 11:36:35 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA3BaZrl038100; Mon, 3 Nov 2008 11:36:35 GMT (envelope-from linimon) Date: Mon, 3 Nov 2008 11:36:35 GMT Message-Id: <200811031136.mA3BaZrl038100@freefall.freebsd.org> To: rpaulo@freebsd.org, linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/128553: [patch] [acpi] add support for Asus A8Sr notebook 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, 03 Nov 2008 11:36:35 -0000 Synopsis: [patch] [acpi] add support for Asus A8Sr notebook Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Mon Nov 3 11:36:21 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=128553 From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 12:23:34 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 26DBB1065675; Mon, 3 Nov 2008 12:23:34 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 99CEF8FC24; Mon, 3 Nov 2008 12:23:33 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so894768yxb.13 for ; Mon, 03 Nov 2008 04:23:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=Xxf/rIxIuoff/Z+iIG8YHX/u7ZvzFDxXag7kM38MVd8=; b=fwgWVzQ9enzLC3+pkztr58wMeFYJ608Uw3FZpYsAhEF6MwbZBemrB/2mBJiUBQDqlu GZjmLlnu8IogjUriir3+0cYjg387nhFi3TY+NEV/9vWrvOmcslblswfRuZ3MoKXH26mo Aze3FbhKATHsYQ7LEVslXicxR6CmeNqe7a6KA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=PmAF5W7XXsV+jI5Cal0raxu7Mv4AEP81AC/mpFMfFpWzxZhBoH1oH6x0bbte7/yKD5 Pj+Y2gK/pntRrA4paBnEAkk0k4ecrKgL4qNkxEhT8oCLy3kLamkHDcLx6g0RzGzmOMLO WfCyboJO8nKNC2dMrw/C3UU64E+M22aByuLvE= Received: by 10.90.92.10 with SMTP id p10mr18213agb.47.1225715012893; Mon, 03 Nov 2008 04:23:32 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 34sm9718452agc.6.2008.11.03.04.23.32 (version=SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 04:23:32 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490EC154.9020801@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> <1225670686.1153.8.camel@RabbitsDen> <490EC154.9020801@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Mon, 03 Nov 2008 07:23:01 -0500 Message-Id: <1225714981.1184.7.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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, 03 Nov 2008 12:23:34 -0000 On Mon, 2008-11-03 at 11:16 +0200, Alexander Motin wrote: > Alexandre "Sunny" Kovalenko wrote: > > When laptop is moving around with me, all USB modules are unloaded and I > > I will try to unload USB later today. > > > get about 4 hours of battery life with wireless on, admittedly on the > > light usage (reading/writing E-mails, browsing web, typing up occasional > > document). I consider this good for 4.4lbs (<2kg) laptop. > > I have a bit more then 3 hours at the same weight. Which CPU, video and > chipset do you have? This is CoreDuo T2400 with Intel 945GM video and Atheros 5212 a/b/g wireless part. One other thing, I forgot to mention is: I set hw.pci.do_power_nodriver: 3 I have to be honest: I really do not know how much savings do I get from which settings -- I merely went for most aggressive ones. YMMV. > I have some doubts that C3 on only one of two cores could give much > benefit. You are most likely right -- crude measurement by Kill-A-Watt shows 4% difference which might as well be measurement error. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 18:04:38 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 419041065678 for ; Mon, 3 Nov 2008 18:04:38 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id B1C3C8FC0A for ; Mon, 3 Nov 2008 18:04:37 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail35.syd.optusnet.com.au (mail35.syd.optusnet.com.au [211.29.133.51]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mA37lYt1003491 for ; Mon, 3 Nov 2008 18:47:34 +1100 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail35.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id mA37lUO6006575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Nov 2008 18:47:31 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id mA37lUkU045841; Mon, 3 Nov 2008 18:47:30 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id mA37lUCh045840; Mon, 3 Nov 2008 18:47:30 +1100 (EST) (envelope-from peter) Date: Mon, 3 Nov 2008 18:47:30 +1100 From: Peter Jeremy To: Alexander Motin Message-ID: <20081103074730.GJ99398@server.vk2pj.dyndns.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m972NQjnE83KvVa/" Content-Disposition: inline In-Reply-To: <490E245C.7070900@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD acpi , freebsd-mobile@freebsd.org Subject: Re: Is the C3 possible with SMP? 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, 03 Nov 2008 18:04:38 -0000 --m972NQjnE83KvVa/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Nov-03 00:06:20 +0200, Alexander Motin wrote: >2. I haven't got any benefit from it in idle state. According to=20 >`acpiconf -i 0` I have about 13 Amps (IMHO more looks like Watts) with=20 I assumed it was reporting deci-Amps instead of Amps (ie reading an order of magnitude high) but I guess power is an option. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --m972NQjnE83KvVa/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkOrJEACgkQ/opHv/APuIdQ5wCeKe506ZH3zSHciw72Rc/Gd6Gn PJsAmwUQInZWiieNKSoRFs9TjvfTJI5g =+ITU -----END PGP SIGNATURE----- --m972NQjnE83KvVa/-- From owner-freebsd-acpi@FreeBSD.ORG Mon Nov 3 20:56:55 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 F07CC10656B0; Mon, 3 Nov 2008 20:56:55 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 42DBA8FC1A; Mon, 3 Nov 2008 20:56:54 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 226893752; Mon, 03 Nov 2008 22:56:54 +0200 Message-ID: <490F6594.6050802@FreeBSD.org> Date: Mon, 03 Nov 2008 22:56:52 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> <1225670686.1153.8.camel@RabbitsDen> <490EC154.9020801@FreeBSD.org> <1225714981.1184.7.camel@RabbitsDen> In-Reply-To: <1225714981.1184.7.camel@RabbitsDen> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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, 03 Nov 2008 20:56:56 -0000 Alexandre "Sunny" Kovalenko wrote: >>> When laptop is moving around with me, all USB modules are unloaded and I >> I will try to unload USB later today. I have got a bit power on disabling EHCI, but it could happen just because device itself went into the D3 state. C3 stats doesn't changes on that. UHCI and other devices disabling also gave some bits. >>> get about 4 hours of battery life with wireless on, admittedly on the >>> light usage (reading/writing E-mails, browsing web, typing up occasional >>> document). I consider this good for 4.4lbs (<2kg) laptop. >> I have a bit more then 3 hours at the same weight. Which CPU, video and >> chipset do you have? > This is CoreDuo T2400 with Intel 945GM video and Atheros 5212 a/b/g > wireless part. One other thing, I forgot to mention is: I set > > hw.pci.do_power_nodriver: 3 Thanks. With disabling everything possible I was able to reach 4 hours plank! There is one question appeared, is there any way to deny driver attachment for some specific device to left it is D3 state? For example I don't need some specific USB hosts and PATA controller, but I can't disable them with just not loading the driver. There is alike DF_ENABLED flag I have found, but I haven't found any external way to reset it. :( -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 4 00:32:02 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 5B6411065677; Tue, 4 Nov 2008 00:32:02 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id A052B8FC19; Tue, 4 Nov 2008 00:32:01 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1235187qwb.7 for ; Mon, 03 Nov 2008 16:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=m5a2Dm7648IbLnMZvRCZAtB2Y45PCLR+EX0HyFxcDrs=; b=uztbRLhT2MLtXzqYySErrXsRc40w8+Ars6HiFXBuGWVBQyJjNqiluq4LzvV2rZ9327 NuIov/jloClbGaE5yIAEol8/VyU55jrs1wspyL6Nr7tHSwOpZcXLwG1OzvKH9SmCplb+ vgYK8Yd8xEGR12+Ky6N7OIdo42vBRASoZ1QXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=Nm1qGcmcXvsuGrLPmSerEWFVoJcfLYDz8H8/fJDiC2oNisYPhHIG0TPnxSYvCFIjEG qDKYaFOVaN9y4s23P/VDBQjcE8o8kiOaykC6fwTfBhNKeZiezcSBJRJku1Vx2tyDgF4b ENOo9RfngdY/JFT+hi2nXMwDd5k7tL5rzsIdY= Received: by 10.214.215.16 with SMTP id n16mr1113832qag.36.1225758721009; Mon, 03 Nov 2008 16:32:01 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 6sm7484392ywi.1.2008.11.03.16.31.58 (version=SSLv3 cipher=RC4-MD5); Mon, 03 Nov 2008 16:32:00 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490F6594.6050802@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> <1225670686.1153.8.camel@RabbitsDen> <490EC154.9020801@FreeBSD.org> <1225714981.1184.7.camel@RabbitsDen> <490F6594.6050802@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Mon, 03 Nov 2008 19:31:29 -0500 Message-Id: <1225758689.1244.1.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Tue, 04 Nov 2008 00:32:02 -0000 On Mon, 2008-11-03 at 22:56 +0200, Alexander Motin wrote: > Alexandre "Sunny" Kovalenko wrote: > >>> When laptop is moving around with me, all USB modules are unloaded and I > >> I will try to unload USB later today. > > I have got a bit power on disabling EHCI, but it could happen just > because device itself went into the D3 state. C3 stats doesn't changes > on that. UHCI and other devices disabling also gave some bits. > > >>> get about 4 hours of battery life with wireless on, admittedly on the > >>> light usage (reading/writing E-mails, browsing web, typing up occasional > >>> document). I consider this good for 4.4lbs (<2kg) laptop. > >> I have a bit more then 3 hours at the same weight. Which CPU, video and > >> chipset do you have? > > This is CoreDuo T2400 with Intel 945GM video and Atheros 5212 a/b/g > > wireless part. One other thing, I forgot to mention is: I set > > > > hw.pci.do_power_nodriver: 3 > > Thanks. With disabling everything possible I was able to reach 4 hours > plank! > > There is one question appeared, is there any way to deny driver > attachment for some specific device to left it is D3 state? For example > I don't need some specific USB hosts and PATA controller, but I can't > disable them with just not loading the driver. There is alike DF_ENABLED > flag I have found, but I haven't found any external way to reset it. :( Well, this is way beyond my knowledge. Hopefully, someone who actually knows how things work will chime in. Sorry. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 4 11:37:37 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 896051065677; Tue, 4 Nov 2008 11:37:37 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F98A8FC1B; Tue, 4 Nov 2008 11:37:37 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from freefall.freebsd.org (rpaulo@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA4Bbbe1050402; Tue, 4 Nov 2008 11:37:37 GMT (envelope-from rpaulo@freefall.freebsd.org) Received: (from rpaulo@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA4BbbxT050398; Tue, 4 Nov 2008 11:37:37 GMT (envelope-from rpaulo) Date: Tue, 4 Nov 2008 11:37:37 GMT Message-Id: <200811041137.mA4BbbxT050398@freefall.freebsd.org> To: rpaulo@freebsd.org, rpaulo@FreeBSD.org, freebsd-acpi@FreeBSD.org, rpaulo@FreeBSD.org From: rpaulo@FreeBSD.org Cc: Subject: Re: kern/128553: [patch] [acpi] add support for Asus A8Sr notebook 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: Tue, 04 Nov 2008 11:37:37 -0000 Synopsis: [patch] [acpi] add support for Asus A8Sr notebook Responsible-Changed-From-To: freebsd-acpi->rpaulo Responsible-Changed-By: rpaulo Responsible-Changed-When: Tue Nov 4 11:37:14 UTC 2008 Responsible-Changed-Why: I'll take care of it. http://www.freebsd.org/cgi/query-pr.cgi?pr=128553 From owner-freebsd-acpi@FreeBSD.ORG Tue Nov 4 23:46:00 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 DA34F1065678 for ; Tue, 4 Nov 2008 23:46:00 +0000 (UTC) (envelope-from marcin.nowak@simplusnet.pl) Received: from mx2.plusnet.pl (mx1.plusnet.pl [212.2.119.243]) by mx1.freebsd.org (Postfix) with ESMTP id 948568FC08 for ; Tue, 4 Nov 2008 23:46:00 +0000 (UTC) (envelope-from marcin.nowak@simplusnet.pl) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from av1.prv.plusnet.pl ([10.230.118.201]) by mta1.plusnet.pl (Sun JES Messaging Server) with SMTP id <0K9U00AI205VK030@plusnet.pl> for freebsd-acpi@freebsd.org; Wed, 05 Nov 2008 00:05:55 +0100 (CET) Received: from (10.230.118.13) by av1.prv.plusnet.pl via smtp id 49e3_3685b742_aac5_11dd_9c98_0030482aad31; Wed, 05 Nov 2008 00:06:28 +0100 (CET) Received: from plusnet.pl ([10.230.119.43]) by mta1.plusnet.pl (Sun JES Messaging Server) with ESMTP id <0K9U00AHT05VK030@plusnet.pl> for freebsd-acpi@freebsd.org; Wed, 05 Nov 2008 00:05:55 +0100 (CET) Received: from [10.230.118.15] (Forwarded-For: [78.8.222.205]) by mailstore1.prv.plusnet.pl (mshttpd); Wed, 05 Nov 2008 00:05:55 +0100 From: Marcin Nowak To: freebsd-acpi@freebsd.org Message-id: Date: Wed, 05 Nov 2008 00:05:55 +0100 X-Mailer: Sun Java(tm) System Messenger Express 6.3-3.01 (built Jul 12 2007; 32bit) Content-language: pl X-Accept-Language: pl Priority: normal Subject: acpi for asus a6f 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: Tue, 04 Nov 2008 23:46:00 -0000 Hi Some time ago I have reported request for acpi support my asus a6f laptop, and I got the patch from someone on this mailing-list. Patch (*.diff file) works fine so, why isn't in official cvs repo yet? :) Greetings. From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 5 14:21:35 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 264091065672 for ; Wed, 5 Nov 2008 14:21:35 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9CBB08FC0A for ; Wed, 5 Nov 2008 14:21:34 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id 30so1923064ugs.39 for ; Wed, 05 Nov 2008 06:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer:sender; bh=ZYgFgk80P2oqvdhJJjcKtfv1YreyUCTakiYLp9iyFh0=; b=KRWpTr5HAKVbymqfW6fD14DkLJX/gz3dRgC7MRep2Qgxe6vhtSXQpAlGjLFoLJLVdV YebYKM6tKiHOSjkRV995ALkc28u5xk25sj/+TyVQkr2Gdb0PN11yasUCLemDWC0sphsQ tkz7DhaJHaNf91pubMtS4aheFOyYQifj5QcgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=oB8Sgjf50z5J8Q8a66+2y34XHN23sF2nKGWYgzziGGPc1gSRy3H4yE2V/Z+Li3dWOI oLNiTcrIRHfiOBJ1GUd6ZBjqvaMaQT0FWkKTVmv5nT2IbyvOHCWLr3TyQQVBV3B/50dX pI2O3EnftGxalNkHovtp4WN3XThxXnOJuCAC0= Received: by 10.66.244.8 with SMTP id r8mr3566919ugh.88.1225893078910; Wed, 05 Nov 2008 05:51:18 -0800 (PST) Received: from ?10.0.1.30? ([89.214.11.235]) by mx.google.com with ESMTPS id p39sm2239197ugd.56.2008.11.05.05.51.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 05 Nov 2008 05:51:12 -0800 (PST) Message-Id: <3C2CC7F6-2B29-4773-BE50-8AE6EDE8A1FA@freebsd.org> From: Rui Paulo To: Marcin Nowak In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 5 Nov 2008 13:51:07 +0000 References: X-Mailer: Apple Mail (2.929.2) Sender: Rui Paulo Cc: freebsd-acpi@freebsd.org Subject: Re: acpi for asus a6f 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: Wed, 05 Nov 2008 14:21:35 -0000 On 4 Nov 2008, at 23:05, Marcin Nowak wrote: > Hi > > Some time ago I have reported request for acpi support my asus a6f > laptop, and I got the patch from someone on this mailing-list. Patch > (*.diff file) works fine so, why isn't in official cvs repo yet? :) Please send a PR and Cc me. I'll see what I can do. Thanks, -- Rui Paulo From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 6 10:39:05 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 990EB106564A for ; Thu, 6 Nov 2008 10:39:05 +0000 (UTC) (envelope-from funasoul@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 27D828FC18 for ; Thu, 6 Nov 2008 10:39:04 +0000 (UTC) (envelope-from funasoul@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so250964nfh.33 for ; Thu, 06 Nov 2008 02:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=q47dB2ZJUUl/KBpoPBS5sWMYC6qGw133dnPvVaKW6oI=; b=FONLrLrcntcw7tRU4HXLtYEJJhTR7OvnH9SBXhlHxELR7ATocSwgSSyNcHtXy39Jfi C6P0atxq+fJGWTqHRyXDiUfvHQcWRYA+8q/y7pKowLrRMjHBJBOUci5bhAlgc0aehrqb itpTVKNXgffGOPTPBH+xUlKDvtJ6ZlvpfYQAQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=hGQvkj7WLshevU/O2WFwIJwL6T5/Qz/9azFbB0ecISUAAS6sHlePNQD/EWEeKopywK qLNbDrgimhHn1n/uVUC7/p0y/YfOwc8tIrdc4JZnyN3NkMOdp0k4un+5AYYycMX6wtRf vG7XLqBgJzbGrgBX4JyX/PWUFh9jiROIcYhuk= Received: by 10.103.93.18 with SMTP id v18mr961586mul.111.1225966703089; Thu, 06 Nov 2008 02:18:23 -0800 (PST) Received: by 10.103.161.1 with HTTP; Thu, 6 Nov 2008 02:18:23 -0800 (PST) Message-ID: <17e737660811060218s5eab5bb4m45845178829ebcf6@mail.gmail.com> Date: Thu, 6 Nov 2008 19:18:23 +0900 From: "Akira Funahashi" Sender: funasoul@gmail.com To: "Rui Paulo" In-Reply-To: <3C2CC7F6-2B29-4773-BE50-8AE6EDE8A1FA@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3C2CC7F6-2B29-4773-BE50-8AE6EDE8A1FA@freebsd.org> X-Google-Sender-Auth: 5644b47cfccd9d02 Cc: Marcin Nowak , freebsd-acpi@freebsd.org Subject: Re: acpi for asus a6f 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: Thu, 06 Nov 2008 10:39:05 -0000 Hi, On Wed, Nov 5, 2008 at 10:51 PM, Rui Paulo wrote: >> Some time ago I have reported request for acpi support my asus a6f >> laptop, and I got the patch from someone on this mailing-list. Patch >> (*.diff file) works fine so, why isn't in official cvs repo yet? :) > > Please send a PR and Cc me. I'll see what I can do. I guess the patch Marcin is talking is the one I wrote before. I've sent PR right now. Thanks, -- Akira Funahashi From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 6 11:26:51 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C36C51065677; Thu, 6 Nov 2008 11:26:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AED38FC12; Thu, 6 Nov 2008 11:26:51 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA6BQp8i072362; Thu, 6 Nov 2008 11:26:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA6BQpIM072358; Thu, 6 Nov 2008 11:26:51 GMT (envelope-from linimon) Date: Thu, 6 Nov 2008 11:26:51 GMT Message-Id: <200811061126.mA6BQpIM072358@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/128634: [patch] fix acpi_asus(4) in asus a6f laptop 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: Thu, 06 Nov 2008 11:26:51 -0000 Old Synopsis: patch for acpi asus a6f laptop isn't in official repo New Synopsis: [patch] fix acpi_asus(4) in asus a6f laptop Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Thu Nov 6 11:25:29 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=128634 From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 6 12:27:39 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3869106568A; Thu, 6 Nov 2008 12:27:39 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB4338FC30; Thu, 6 Nov 2008 12:27:39 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA6CRdPk017325; Thu, 6 Nov 2008 12:27:39 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA6CRdOg017321; Thu, 6 Nov 2008 12:27:39 GMT (envelope-from gavin) Date: Thu, 6 Nov 2008 12:27:39 GMT Message-Id: <200811061227.mA6CRdOg017321@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-acpi@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: kern/128639: [PATCH] [acpi_asus] acpi for ASUS A6F, A3E, A3F, A3N not working 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: Thu, 06 Nov 2008 12:27:40 -0000 Old Synopsis: [PATCH] acpi for ASUS A6F,A3E,A3F,A3N not working New Synopsis: [PATCH] [acpi_asus] acpi for ASUS A6F,A3E,A3F,A3N not working Responsible-Changed-From-To: freebsd-i386->freebsd-acpi Responsible-Changed-By: gavin Responsible-Changed-When: Thu Nov 6 12:26:08 UTC 2008 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=128639 From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 6 15:12:13 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 BEF41106564A for ; Thu, 6 Nov 2008 15:12:13 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.bestunion.it (mail.bestunion.it [85.18.201.87]) by mx1.freebsd.org (Postfix) with ESMTP id 44B3B8FC1A for ; Thu, 6 Nov 2008 15:12:13 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from [10.143.90.129] (89-97-230-135.ip19.fastwebnet.it [89.97.230.135]) (authenticated bits=0) by mail.lan.bestunion.it (8.14.3/8.14.3) with ESMTP id mA5FPxxa000571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Nov 2008 16:26:05 +0100 (CET) (envelope-from aturetta@commit.it) Message-ID: <4911BB02.20102@commit.it> Date: Wed, 05 Nov 2008 16:25:54 +0100 From: Angelo Turetta User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on mail.bestunion.it X-Virus-Status: Clean Subject: Dell PowerEdge 1300/500 - bitten by ACPI quirks 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: Thu, 06 Nov 2008 15:12:13 -0000 I installed RELENG_7 (SNAPSHOT-200805) on an old DELL PowerEdge 1300/500, and everything went well. After I built and installed a recent RELENG_7, suddenly the machine will panic with "ACPI disabled by blacklist." I found a recent commit to fix a bug that was actually disabling the blacklist check on RELENG_7 before Sep.22, and that accounts for the difference I got between the May snapshot and the current RELENG_7. The acpi_quirks file lists my hardware as: # Dell PE1300 name: Dell_PE1300 oem: FADT "Dell " "PE1300 " oem_rev: FADT <= 1 quirks: ACPI_Q_BROKEN # Dell Personal Workstation 1300 name: Dell_PE1300_2 oem: FADT "DELL " "PE1300 " oem_rev: FADT <= 1 quirks: ACPI_Q_BROKEN In particular, my system matches the second case (uppercase DELL), but the comment describes it as a totally different machine which cannot be found on Google Given that I previously used the machine with ACPI enabled without any apparent problems, is there any reference as to why it was put on the black-list? And how can I make my system ignore that quirk? Thanks, Angelo. PS: here is an excerpt form dmesg with ACPI ===================================== FreeBSD 7.0-STABLE-200805 #0: Sun May 11 15:02:57 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 536862720 (511 MB) avail memory = 511438848 (487 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 without ACPI ==================================== FreeBSD 7.1-PRERELEASE #0: Thu Oct 30 18:43:13 CET 2008 aturetta@proxy:/usr/obj/usr/src/sys/PROXY Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium III/Pentium III Xeon/Celeron (498.47-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x673 Stepping = 3 Features=0x383fbff real memory = 536862720 (511 MB) avail memory = 511397888 (487 MB) MPTable: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 7 09:05:06 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 398E71065687 for ; Fri, 7 Nov 2008 09:05:06 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id B56378FC08 for ; Fri, 7 Nov 2008 09:05:05 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPA id 227237566 for freebsd-acpi@freebsd.org; Fri, 07 Nov 2008 11:05:04 +0200 Message-ID: <491404BF.1090807@FreeBSD.org> Date: Fri, 07 Nov 2008 11:05:03 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: FreeBSD acpi X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 07 Nov 2008 01:17:07 -0800 Subject: RFC: powerd algorithms enhancements 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, 07 Nov 2008 09:05:06 -0000 The discussion of this is going on mobile@: -------- Original Message -------- Subject: RFC: powerd algorithms enhancements Date: Wed, 05 Nov 2008 22:57:55 +0200 From: Alexander Motin To: freebsd-mobile@FreeBSD.org Hi. I would like to propose the patch for powerd that fixes some issues, makes it more universal and on my opinion more usable. The main ideas of mine were: 1. To make it more SMP polite. Previous version uses average CPU load that leads to the often load underestimation. It make powerd with default configuration unusable on systems with more then 2 CPUs. I propose to use summary load instead of average one. IMO this is the best we can do without specially tuned scheduler. Also as soon as measuring total load on SMP systems is more useful then total idle, I have switched to it. 2. To make powerd's operation independent from number and size of frequency levels I have added internal frequency counter which translated into real frequencies only on a last stage and only as good as gone. Some systems may have only several power levels, while mine has 17 of them, so adaptation time in completely different. It would be good if algorithm was not depending on it. 3. As part of previous I have changed adaptive mode to rise frequency on demand up to 2 times and fall on 1/8 per time internal. 4. For desktop (AC-powered) systems I have added one more mode - "hiadaptive". It rises frequency twice faster, drops it 4 times slower, prefers twice lower CPU load and has additional delay before leaving the highest frequency after the period of maximum load. This mode was specially made to improve interactivity of the systems where operation capabilities are more significant then power consumption, but keeping maximum frequency all the time is not needed. 5. I have reduced polling interval from 1/2 to 1/4 of second. It is not important for algorithm math now, but gives better system interactivity. -- Alexander Motin From owner-freebsd-acpi@FreeBSD.ORG Fri Nov 7 13:54:58 2008 Return-Path: Delivered-To: freebsd-acpi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF71D1065674; Fri, 7 Nov 2008 13:54:58 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B75598FC08; Fri, 7 Nov 2008 13:54:58 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from freefall.freebsd.org (rpaulo@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mA7DswhG087508; Fri, 7 Nov 2008 13:54:58 GMT (envelope-from rpaulo@freefall.freebsd.org) Received: (from rpaulo@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mA7DsvnJ087504; Fri, 7 Nov 2008 13:54:57 GMT (envelope-from rpaulo) Date: Fri, 7 Nov 2008 13:54:57 GMT Message-Id: <200811071354.mA7DsvnJ087504@freefall.freebsd.org> To: marcin.nowak@simplusnet.pl, rpaulo@FreeBSD.org, freebsd-acpi@FreeBSD.org From: rpaulo@FreeBSD.org Cc: Subject: Re: kern/128634: [patch] fix acpi_asus(4) in asus a6f laptop 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, 07 Nov 2008 13:54:59 -0000 Synopsis: [patch] fix acpi_asus(4) in asus a6f laptop State-Changed-From-To: open->feedback State-Changed-By: rpaulo State-Changed-When: Fri Nov 7 13:53:14 UTC 2008 State-Changed-Why: This patch includes Eee PC support, which has been committed already. Can you send a patch that applies cleanly to HEAD? Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=128634