patch for toshiba acpi

Scott Lambert lambert at lambertfam.org
Tue Aug 19 23:55:50 PDT 2003


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 at 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 at lambertfam.org      


More information about the freebsd-mobile mailing list