toshctl is a command-line tool to allow access to much of the Toshiba hardware interface developed by Jonathan Buzzard and Linux toshset by Charles D. Schwieters.
It can do things like set the LCD brightness, set CPU speed and set fan speed.
I wrote this program for my own use and it has been tested only
on my Toshiba Satellite Pro 6100. Use it with your own risk :).
I make this program work like sysctl, so if you know how to use sysctl,
then you should know how my program should be used.
This program is a subset of Charles D. Schwieters toshset program. I wrote this one instead of porting toshset becase I want to practise my C++ programming skill. Porting toshset program should not be hard becase toshset can work without Linux Toshiba support.
FreeBSD I/O access from Samuel Tardieu| name | type | access | possible value | note |
| bios.date | time_t | RO | ||
| bios.id | integer | RO | ||
| bios.version | string | RO | ||
| hci.cpu_speed | integer | RW | 0 - slow 1 - high | |
| hci.fan | integer | RW | 0 - off 1 - low 2 - high | |
| hci.lcd.backlight | integer | RW | 0 - off 1 - on |
beware set this value to 0, will turn off your screen. You will not see any thing you type on the console |
| hci.lcd.brightness | integer | RW | 0-7 | 0 - dimmest , 7 - super bright |
| hci.lcd.mode | integer | RO | 0-7 | |
| hci.lcd.type | integer | RO | 0-5 | |
| hci.power_source | integer | RO | 0 - baterry 1 - ac adapter | |
| hci.select_bay | integer | RO | 0-4 | |
| hci.software_suspend | integer | RO | 0 - disabled 1 - enabled |
This value is actually writable but it is better to suspend your notebook with apm -z in text mode |
| 0.0.0p3 | Fix compilation error in gcc 3 (FreeBSD 5.1) Note: toshctl can not work with 5.1 APCI. You need to disable ACPI before use this program on FreeBSD 5.1. |
| 0.0.0p2 | Change CPU LOW speed value from 0x7FFFF to 0x60000 |
| 0.0.0p1 | Fix bug in setting hci value |
| 0.0.0 | First version |
source: tar'd and gzip'd
binary: gzip'd
The binary should work with FreeBSD 4.7. It may work for others
as well.
It not work with 5.1+APCI. Disable ACPI if you want to use this program.
The document theme copy from
FreeBSD Handbook
For questions about this documentation, e-mail <cws@miraclenet.co.th>.
Last update : $Id: index.html,v 1.6 2004/02/14 02:02:15 cws Exp $