From owner-cvs-all Tue Jan 14 12:24:32 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44EC537B405 for ; Tue, 14 Jan 2003 12:24:31 -0800 (PST) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C3A943F18 for ; Tue, 14 Jan 2003 12:24:30 -0800 (PST) (envelope-from nate@rootlabs.com) Received: (qmail 39469 invoked by uid 1000); 14 Jan 2003 20:24:27 -0000 Date: Tue, 14 Jan 2003 12:24:27 -0800 (PST) From: Nate Lawson To: Wilko Bulte Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/acpica acpi_cpu.c In-Reply-To: <20030114211406.A29186@freebie.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 14 Jan 2003, Wilko Bulte wrote: > On Tue, Jan 14, 2003 at 02:54:13PM -0500, John Baldwin wrote: > > Albeit lying. If it were just available but not enabled, then the > > CPU wouldn't slow down when I pulled the power cord of out my laptop. > > However, when I pull the power cord out of my laptop, the CPU does > > slow down. Thus, it would seem rather obvious that CPU throttling > > is most certainly enabled and not just available. > > How does this work on desktops? I've seen one of my P2 boxes report > this throttling thing? > > Surely not the power plug being pulled out, although it slowed down > greatly when pulled ;) No, that's the manual override S5 state. ;) Throttling on non-laptop systems can only be requested by the BIOS or OS, I believe. On FreeBSD, that's via sysctl. Basically you have events coming in and actions taken. When you unplug the power on a laptop, the BIOS delivers the event to the acpi interpreter which runs the dsdt to decide what to do. That's my basic understanding. -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message