From owner-freebsd-arch Mon Jul 2 7:59:30 2001 Delivered-To: freebsd-arch@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 01CE337B405; Mon, 2 Jul 2001 07:59:17 -0700 (PDT) (envelope-from keichii@iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id 469BD59229; Mon, 2 Jul 2001 09:59:15 -0500 (CDT) Date: Mon, 2 Jul 2001 09:59:15 -0500 From: "Michael C . Wu" To: Mitsuru IWASAKI Cc: dfr@nlsystems.com, arch@freebsd.org, audit@freebsd.org, athlete@kta.att.ne.jp Subject: Re: CFR: Crusoe LongRun Support Message-ID: <20010702095913.A98201@peorth.iteration.net> Reply-To: "Michael C . Wu" References: <20010630041951I.iwasaki@jp.FreeBSD.org> <20010701031447S.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010701031447S.iwasaki@jp.FreeBSD.org>; from iwasaki@jp.FreeBSD.org on Sun, Jul 01, 2001 at 03:14:47AM +0900 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jul 01, 2001 at 03:14:47AM +0900, Mitsuru IWASAKI scribbled: | > I would like to see something like longrun(4) which described the sysctls | > and indicated what each longrun level actually means. | | OK, understood. I've written longrun(4) manpage. As always my English | is poor, any feedback is welcome :-) Here is your original file and the diff I made. Hope you will like this better. :) Just a friendly reminder, do you mind using attachments next time? It is quite a hassle to save the email and then edit it. -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="longrun.4" .\" Copyright (c) 2001 Tamotsu HATTORI .\" Copyright (c) 2001 Mitsuru IWASAKI .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" $FreeBSD$ .Dd Jun 30, 2001 .Dt LONGRUN 4 i386 .Os .Sh NAME .Nm longrun .Nd Transmeta(TM) Crusoe(TM) LongRun(TM) support .Sh SYNOPSIS The following .Xr sysctl 8 MIBs are available: .Bl -tag -width "hw.crusoe.percentage integer no " -compact .It Sy "Name Type Changeable Description .It "hw.crusoe.longrun integer yes LongRun mode. .Bl -tag -width "0: minimum frequency mode" -compact .It "0: minimum frequency mode .It "1: power-saving mode .It "2: performance mode .It "3: maximum frequency mode .El .It "hw.crusoe.frequency integer no Current frequency (MHz). .It "hw.crusoe.voltage integer no Current voltage (mV). .It "hw.crusoe.percentage integer no Processing performance (%). .El .Pp .Sh EXAMPLES To get current status: .Bd -literal -offset indent % sysctl hw.crusoe .Ed .Pp To set LongRun mode to performance oriented variable frequency mode: .Bd -literal -offset indent # sysctl -w hw.crusoe.longrun=2 .Ed .Pp .Sh AUTHORS .An -nosplit LongRun support and this manual page were written by .An Tamotsu HATTORI Aq athlete@kta.att.ne.jp and .An Mitsuru IWASAKI Aq iwasaki@FreeBSD.org . .Sh HISTORY Transmeta(TM) Crusoe(TM) LongRun(TM) support first appeared in .Fx 5.0 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="longrun.4.diff" --- longrun.4 Mon Jul 2 09:50:37 2001 +++ longrun.4.new Mon Jul 2 09:56:10 2001 @@ -31,9 +31,11 @@ .Nm longrun .Nd Transmeta(TM) Crusoe(TM) LongRun(TM) support .Sh SYNOPSIS +The LongRun(TM) support is a collection of power saving mode +for the Transmeta(TM) Crusoe(TM), similiar to Intel(TM)'s SpeedStep(TM). The following .Xr sysctl 8 -MIBs are available: +MIBs set the different modes that the CPU runs in: .Bl -tag -width "hw.crusoe.percentage integer no " -compact .It Sy "Name Type Changeable Description .It "hw.crusoe.longrun integer yes LongRun mode. @@ -49,12 +51,12 @@ .El .Pp .Sh EXAMPLES -To get current status: +Print the current status: .Bd -literal -offset indent % sysctl hw.crusoe .Ed .Pp -To set LongRun mode to performance oriented variable frequency mode: +To set the LongRun mode to performance oriented variable frequency mode (no power saving): .Bd -literal -offset indent # sysctl -w hw.crusoe.longrun=2 .Ed @@ -66,9 +68,6 @@ and .An Mitsuru IWASAKI Aq iwasaki@FreeBSD.org . .Sh HISTORY -Transmeta(TM) Crusoe(TM) LongRun(TM) support first appeared in +The Transmeta(TM) Crusoe(TM) LongRun(TM) support first appeared in .Fx 5.0 . - -To Unsubscribe: send mail to majordomo@FreeBSD.org -with "unsubscribe freebsd-arch" in the body of the message --OXfL5xGRrasGEqWY-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message