From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 19 23:55:50 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18A0C16A4BF for ; Tue, 19 Aug 2003 23:55:50 -0700 (PDT) Received: from mail.lambertfam.org (www.lambertfam.org [216.223.208.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BDAE43F75 for ; Tue, 19 Aug 2003 23:55:49 -0700 (PDT) (envelope-from lambert@lambertfam.org) Received: from laptop.lambertfam.org (laptop.int.lambertfam.org [10.1.0.2]) by mail.lambertfam.org (Postfix) with ESMTP id 719E134D45 for ; Wed, 20 Aug 2003 02:55:08 -0400 (EDT) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id DBD918486; Wed, 20 Aug 2003 02:55:33 -0400 (EDT) Date: Wed, 20 Aug 2003 02:55:33 -0400 From: Scott Lambert To: freebsd-mobile@freebsd.org Message-ID: <20030820065533.GB762@laptop.lambertfam.org> Mail-Followup-To: freebsd-mobile@freebsd.org References: <1061343265.951.17.camel@scorpio.eco.imp.mx> <20030820055722.GA762@laptop.lambertfam.org> <1061359677.1002.3.camel@xyzzy.wireless.snsonline.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1061359677.1002.3.camel@xyzzy.wireless.snsonline.net> User-Agent: Mutt/1.4.1i Subject: Re: patch for toshiba acpi X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 06:55:50 -0000 On Wed, Aug 20, 2003 at 04:07:57PM +1000, Mark Sergeant wrote: > On Wed, 2003-08-20 at 15:57, Scott Lambert wrote: > > On Tue, Aug 19, 2003 at 08:34:25PM -0500, edscott wilson garcia wrote: > > > I finally got the lcd brightness control and force-fan to work on a > > > toshiba 2455 on FreeBSD 5.1. If anybody is interested, you can find the > > > patch at http://linux.imp.mx/toshiba/ > > > > > > In to use it, apply patch and recompile acpi.ko module and copy to > > > /boot/kernel. Once rebooted, sysctl will see two new variables: > > > hw.acpi.toshiba.lcd_brightness > > > hw.acpi.toshiba.force_fan > > > > > > lcd_brightness has eight values (0-7) and force fan two values (0-1). > > I have just one other observation, I found a funky tool a while back > called toshctl, it has the following... > > bios.date: 1026309600 > ... > hci.software_suspend: 1 > > If you haven't looked at it it's definantly a worthwhile tool. Unfortunately, it doesn't seem to want to compile for me on 5.1-CURRENT. lambert@laptop.lambertfam.org ~/FreeBSD_patches/toshctl/toshctl 02:55:02 Wed Aug 20 $ make g++ -O -Wall -c toshctl.cpp In file included from toshctl.cpp:30: tosh_hci.h:83: error: syntax error before `)' token tosh_hci.h:85: error: syntax error before `)' token *** Error code 1 Stop in /home/lambert/FreeBSD_patches/toshctl/toshctl. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org