Date: Sat, 27 Apr 2002 10:26:19 +0100 (GMT/BST)
From: Digby Tarvin <[EMAIL PROTECTED]>
Subject: Re: [LIB] display brightness
> >
> >Dunno about an SDK but you might want to look to the Linux community and
> >see if you can find some bits of source code that might help ... IIRC it IS
> >possible to get Linux to control APM such that you CAN get some control of
> >the backlight (at least I remember reading something to that effect on a
> >webpage somewhere when I was looking for how to get Linux working on my
> >L50) ...
>
> There's some windows code in Xin's pages (www.fixup.net) that I believe
> controls the backlight all the way (IIRC). Somewhere around on the net
> there's a listing of the bios calls for toshiba power control, too.
It works out of the box with what is supplied with the SuSE 7.3 distribution:
digbyt@voyager:/home/digbyt> man -k libretto
libapm (1) - TOSHIBA Libretto BIOS Setup Program
voyager:/home/digbyt # libapm
Power Management for Libretto V1.0beta5
+-----------------------------------------------------------+
| 0) Power-up Mode : Boot |
| 1) Standby Time : ****** (Unknown) |
| 2) System Auto Off : Disabled |
| 3) Panel Power On/Off : ****** (Disabled) |
| 4) Alarm Power On : Disabled |
| 5) LCD Power : 3 |
| 6) Volume : mid |
| 7) Off (Suspend/Hiber): Suspend |
+-----------------------------------------------------------+
voyager:/home/digbyt # man libapm
libapm(l) libapm(l)
NAME
libapm - TOSHIBA Libretto BIOS Setup Program
SYNOPSIS
libapm {-v,--Version} {-h,--Help}
libapm {-P,--PowerUp (boot,hibernation)} {-T,--StandbyTime
(0,5,10,15,30,45,60)} {-a,--AutoOff (dis�
able,10,20,30,40,50,60)} {-S,--PanelSwitch (dis�
able,enable)} {-A,--PowerOn (disable,<time>)} {-L,--Lcd�
Power (0,1,2,3)} {-V,--Volume (0,1,2,3)} {-O,--Off (sus�
pend|hibernation)}
DESCRIPTION
libapm configures the setting of Toshiba Libretto.
Changes are done immediately and rebooting is not necce�
sary.
OPTIONS
-P,--PowerUp (boot,hibernation)
sets the Hibernation function. If hibernation is
specified, the hibernation function is enabled. If
boot is specified, it is disabled.
-T,--StandbyTime (0,5,10,15,30,45,60)
sets the Standby time. If the Stanby time is spec�
ified, the power is not cut after hibernation for
that time in order to resume quickly from hiberna�
tion. You can select the time from 0, 5, 10, 15,
30, 45, 60 minutes. This function is valid if the
hibernation function is enabled.
-a,--AutoOff (disable,10,20,30,40,50,60)
sets the time to the Auto Power Off. You can
select the time from disable, 10, 20, 30, 40, 50,
60 minutes. This function is valid if the hiberna�
tion function is enabled.
-S,--PanelSwitch (disable,enable)
sets the Panel Switch funtion. If enabled, hiberna�
tion is done by closing the panel and vice versa.
This function is valid if the hibernation function
is enabled.
-A,--PowerOn (disable,<time>)
sets the Power On timer. The format of the <time>
is hh:mm. If time is specified, power is automati�
cally turned on at the time.
-L,--LcdPower (0,1,2,3)
sets the brightness of the LCD. 0 is the darkest
and 3 is the brightest.
-V,--Volume (0,1,2,3)
sets the volume of beep sound. 0 is off, 1 is min�
imum and 3 is maximum.
-O,--Off (suspend|hibernation)
sets the suspend/hibernation mode. (100CT Only)
-v,--Version
displays the version of this program.
-h,--Help
displays the simple usage.
BUGS
Completely no warranty. It may or may not contain any
bugs. Operation on the machines but Toshiba Libretto is
uncertain. A part of function might work on Toshiba's
other notebook machines. You must have root privilege to
run this program.
AUTHORS
V1.0 Mr. M. Iizuka ([EMAIL PROTECTED]): Original
program Mr. Nomura ([EMAIL PROTECTED]): SMI
patches Ishioka ([EMAIL PROTECTED]):
Minor fixes and documentation
--
Digby R. S. Tarvin [EMAIL PROTECTED]
http://www.cthulhu.dircon.co.uk
**************************************************************
http://libretto.basiclink.com - Libretto mailing list
http://www.silverace.com/libretto/ - Archives
-------TO UNSUBSCRIBE-------
Reply to any of the list messages. The reply mail should be
addressed to: [EMAIL PROTECTED] - Then replace any text
on the message's subject line: cmd:unsubscribe
--------TO UNSUBSCRIBE DIGEST------
Do above but with this on subject line: cmd:unsubscribe digest
**************************************************************