Mobile Computing Linux on the go.
Laptop's, PDA's and Wireless related questions. |

07-13-2009, 12:37 PM
|
 |
Ubuntu Convert
|
|
Join Date: Nov 2002
Location: Dayton, OH
Posts: 985
|
|
|
Laptop Power Management
I've been trying to Google this issue for a while now without much success. I am running Ubuntu 9.04 on an IBM Thinkpad T21 using the ubuntu-minimal install. That means I'm not using X11, Gnome, etc. just a tty console. All I want to do for power management is have the LCD backlight turned off after a set amount of time and for it to turn back on when I press a key or move the mouse. I DON'T want the system to ever suspend or hibernate. Any suggestions would be appreciated!
__________________
"After all you've seen, after all the evidence, why can't you believe?"
IBM Thinkpad T21
750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
Ubuntu 9.04 Minimal
|

07-13-2009, 05:35 PM
|
 |
Mandriva 1 on a T3640
|
|
Join Date: Sep 2002
Location: San Antonio, TX
Posts: 2,594
|
|
|
I use KDE, it overrides the bios settings. The odd time I have booted to single user and left it there while running fsck, the screen has turned itself off, obviously a bios function at that point. Have you checked the bios for these settings?
hlrguy
|

07-21-2009, 12:55 PM
|
 |
Ubuntu Convert
|
|
Join Date: Nov 2002
Location: Dayton, OH
Posts: 985
|
|
|
Sorry for the delay in responding. I checked the BIOS and turned the setting "LCD Monitor Off" to be on a 10 minute delay. It does the same thing that it did before I turned that setting on. Basically the screen looks blank but the backlight for the LCD is still powered on. That was the only setting that I could see in the BIOS relating to the screen the rest controlled hibernation and suspension which I don't need. Any other suggestions are appreciated!
__________________
"After all you've seen, after all the evidence, why can't you believe?"
IBM Thinkpad T21
750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
Ubuntu 9.04 Minimal
|

07-21-2009, 07:18 PM
|
 |
Goo-Google
|
|
Join Date: Jul 2002
Location: Vladivostok, Russia
Posts: 8,938
|
|
|
Last edited by JohnT; 07-21-2009 at 07:21 PM.
|

07-22-2009, 02:54 PM
|
 |
Ubuntu Convert
|
|
Join Date: Nov 2002
Location: Dayton, OH
Posts: 985
|
|
Quote:
Originally Posted by JohnT
|
If I use vbetool to turn dpms off will the monitor turn back on if I press a key or will I have to blindly use vbetool to turn dpms back on?
__________________
"After all you've seen, after all the evidence, why can't you believe?"
IBM Thinkpad T21
750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
Ubuntu 9.04 Minimal
|

07-22-2009, 06:19 PM
|
 |
Goo-Google
|
|
Join Date: Jul 2002
Location: Vladivostok, Russia
Posts: 8,938
|
|
|
Wouldn't know...don't use it...only pointed it out as an option. I've always used the xset solution when needed. There may be others.
|

07-29-2009, 12:42 PM
|
 |
Ubuntu Convert
|
|
Join Date: Nov 2002
Location: Dayton, OH
Posts: 985
|
|
|
Ok I got a chance to try JohnT's suggestions. xset is out since it depends on having X11 installed and I don't have it installed and would rather avoid installing. vbetool dpms off worked to turn the backlight all the way off but then to turn it back on so I can use the system requires me to ssh in from another machine and run 'sudo vbetool dpms on' again. So I'm getting closer to a solution but not all the way there yet.
__________________
"After all you've seen, after all the evidence, why can't you believe?"
IBM Thinkpad T21
750 Mhz P3, 128 MB PC100 RAM, CD-ROM, 10 GB IDE HDD
Ubuntu 9.04 Minimal
|

07-29-2009, 06:30 PM
|
 |
Goo-Google
|
|
Join Date: Jul 2002
Location: Vladivostok, Russia
Posts: 8,938
|
|
|
Last edited by JohnT; 07-29-2009 at 06:33 PM.
|

07-30-2009, 11:50 AM
|
 |
Mandriva 1 on a T3640
|
|
Join Date: Sep 2002
Location: San Antonio, TX
Posts: 2,594
|
|
|
I would set up a couple of aliases in my shell.
alias lightoff="sudo vbetools dpms off"
alias ligthon="sudo vbetools dpms on"
Then, when the backlight is off, simply enter
lighton
<sudo password>
to get the screen back.
You might be able to set a control sequence to do the same. CTRL-O or something reset to turn it back on again.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:03 AM.
|


|