View previous topic :: View next topic |
Author |
Message |
xeniac n00b
Joined: 21 May 2003 Posts: 11 Location: Vienna DC
|
Posted: Tue May 27, 2003 12:29 pm Post subject: Turnoff LCD when closing Laptop |
|
|
OK this sounds really stuipid:
Like all Laptops my Toshiba Satellite 1110 have a little button.
Pressing this button will "shutdown" the display. This stupid Button will be pressed down when closing the Laptop. A nice and simple feature of all laptops over the World.
Now the stupid thing: the LCD is actually running, closing the laptop disables only the background LID, and the LCD eats my battery.
The good thing is that the LCD Button sends an ACPI event, so i thought it must be possible to shutdown the LCD when closing the Notebook, and turn it on again when i open it.
The only thing i need is a command to do this
Does anybody have an idea how i can do this? Please! _________________ [img:34481681b8]http://www.computerpannen.com/cwm/contrib/ed/kodomagnam.gif[/img:34481681b8]
Traue niemanden der nicht einmal bis 2 zählen kann. |
|
Back to top |
|
|
Naughtyus Guru
Joined: 14 Jul 2002 Posts: 463 Location: Vancouver, BC
|
Posted: Wed May 28, 2003 7:50 am Post subject: |
|
|
You might want to check your BIOS for an option to have it do that automatically. My laptop has this as an option in the BIOS, and I didn't have to configure anything differently than a desktop to get it to work. |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Wed May 28, 2003 9:54 am Post subject: |
|
|
I second what Naughtyus said. That's the way it works on my Laptop too.
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
en4cer2 n00b
Joined: 16 Nov 2002 Posts: 7
|
Posted: Tue Jun 03, 2003 3:05 pm Post subject: |
|
|
Hi! The tip with the BIOS settings doesn't work for me :/
I can only set it to suspend or suspend to disk...
Can someone say what i have to do to get the LCD display off when i close my notebook? |
|
Back to top |
|
|
thagenesis n00b
Joined: 18 May 2003 Posts: 36 Location: Germany
|
Posted: Tue Jun 03, 2003 3:57 pm Post subject: |
|
|
ACPID is configured through /etc/acpid/events/
The default configuration executes /etc/acpi/default.sh
You must look up which type auf event acpi sends when the notebook is closed (my Acer Travelmate 506t sends "button lid 00000080 00000000")
You can now add that event to default.sh. For example:
Code: | case "$1" in
button)
case "$2" in
# Close Notebook
lid) /bin/echo 1 > /proc/acpi/sleep
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac
|
|
|
Back to top |
|
|
en4cer2 n00b
Joined: 16 Nov 2002 Posts: 7
|
Posted: Tue Jun 03, 2003 4:19 pm Post subject: |
|
|
ah, ok.. THX!
but what must i do to turn the LCD off?
i have found nothing in /proc/acpi what looks like LCD off :/ |
|
Back to top |
|
|
xeniac n00b
Joined: 21 May 2003 Posts: 11 Location: Vienna DC
|
Posted: Wed Jun 04, 2003 10:10 am Post subject: |
|
|
Now you are at the same point as me.
Why the hell are the now phonix BIOSes so lame?
Does anybody here now a command to turn of the LCD? _________________ [img:34481681b8]http://www.computerpannen.com/cwm/contrib/ed/kodomagnam.gif[/img:34481681b8]
Traue niemanden der nicht einmal bis 2 zählen kann. |
|
Back to top |
|
|
thagenesis n00b
Joined: 18 May 2003 Posts: 36 Location: Germany
|
Posted: Wed Jun 04, 2003 10:41 am Post subject: |
|
|
Try /bin/echo 1 > /proc/acpi/sleep
This turns off the backlight of the LCD (at least on my notebook). One disadvantage ist, that the picture stays (you can see that with a bright flash light). I havn't found a possibility to execute a VESA DPMS off, but the backlight should be the more power-consuming device so it should be an acceptable solution. |
|
Back to top |
|
|
metalac Apprentice
Joined: 21 Aug 2002 Posts: 191 Location: Seattle, USA
|
Posted: Fri Jun 06, 2003 1:31 am Post subject: |
|
|
you might want to get your kernel patched with the newest ACPI so that you get all the newest features and best support, i had to do it to get some of the things like battery status and such. _________________ >>>>> Ignorance is bliss <<<<< |
|
Back to top |
|
|
|