From owner-freebsd-acpi@FreeBSD.ORG Wed Nov 17 21:22:52 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E4E16A4CE for ; Wed, 17 Nov 2004 21:22:52 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FBEE43D45 for ; Wed, 17 Nov 2004 21:22:52 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id iAHLMkC4010446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Nov 2004 13:22:48 -0800 Message-ID: <419BC119.4040209@root.org> Date: Wed, 17 Nov 2004 13:22:33 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Smirnov References: <419BB14C.1060301@delit.net> <419BB438.3040906@root.org> <419BBFAA.3000605@delit.net> In-Reply-To: <419BBFAA.3000605@delit.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@FreeBSD.org Subject: Re: Why C3 state isn't entered? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 21:22:52 -0000 Andrey Smirnov wrote: > Nate Lawson wrote: >> This is a FAQ, perhaps we can add it to the handbook entry or man page: >> >> C3 can't be entered while bus masters are active. Typical bus >> mastering devices include USB and sound. Since USB constantly polls >> when loaded, disabling USB support or stopping sound playback should >> allow C3 to be used. A better fix would be to power down the USB host >> controller when idle. >> >> -Nate >> > Thanks for the quick answer, so if I use USB mouse I won't be able to > use C3 state? Is there a way to disable USB polling, if I know I won't > connect new devices, or it is required for normal USB operation? > As I understand it, C3 would give me much more power savings, so it will > extend battery life? (If the effect is less than 10%, it isn't very > important to me). If you have the USB driver (usb.ko) loaded or compiled into the kernel, you can't use C3. The way to disable it is to implement support for idling ports in uhci, ehci, and ohci. C3 doesn't make a huge difference (2-5%?) compared to C2 although it does help. I did some profiling of this a while back and found that the top three power saving features are dimming the display (by far the most), changing CPU frequency (similar but definitely less), and C2/C3 (better than C1 but not nearly as much savings as the first two). -- Nate