View previous topic :: View next topic |
Author |
Message |
elmar283 Guru

Joined: 06 Dec 2004 Posts: 311 Location: Haarlem, Netherlands
|
Posted: Tue Feb 03, 2015 1:47 pm Post subject: Automatic turn of monitor on laptop on non-X system |
|
|
Is there a way to automatically turn of the monitor on a non-X system? I have al old laptop (netbook), I noticed that the screen keeps on stand-by mode, not going totally off. I use this laptop as server, so I don't need any monitor.
On the internet I can't find any information about turning off the monitor without X.
For some info about my laptop:
Code: |
elmarotter@gargravarr ~ $ sudo lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 Ethernet controller: Qualcomm Atheros Attansic L2 Fast Ethernet (rev a0)
|
Code: |
lmarotter@gargravarr ~ $ sudo lsusb
Bus 001 Device 004: ID 05e3:0505 Genesys Logic, Inc.
Bus 001 Device 003: ID 0951:1606 Kingston Technology Eee PC 701 SD Card Reader [ENE UB6225]
Bus 001 Device 002: ID 0bc2:a003 Seagate RSS LLC Backup Plus
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
|
|
|
Back to top |
|
 |
Fitzcarraldo Veteran


Joined: 30 Aug 2008 Posts: 1877 Location: United Kingdom
|
Posted: Tue Feb 03, 2015 2:03 pm Post subject: |
|
|
Would 'setterm --powersave powerdown' do it?
Code: | # setterm --help
Usage:
setterm [options]
Options:
--term <terminal_name> override TERM environment variable
--reset reset terminal to power-on state
--initialize display init string, and use default settings
--default use default terminal settings
--store save current terminal settings as default
--cursor [on|off] display cursor
--repeat [on|off] keyboard repeat
--appcursorkeys [on|off] cursor key application mode
--linewrap [on|off] continue on a new line when a line is full
--inversescreen [on|off] swap colors for the whole screen
--foreground default|<color> set foreground color
--background default|<color> set background color
--ulcolor [bright] <color> set underlined text color
--hbcolor [bright] <color> set bold text color
<color>: black blue cyan green grey magenta red white yellow
--bold [on|off] bold
--half-bright [on|off] dim
--blink [on|off] blink
--underline [on|off] underline
--reverse [on|off] swap foreground and background colors
--clear [all|rest] clear screen and set cursor position
--tabs [<number>...] set these tab stop positions, or show them
--clrtabs [<number>...] clear these tab stop positions, or all
--regtabs [1-160] set a regular tab stop interval
--blank [0-60|force|poke] set time of inactivity before screen blanks
--dump [<number>] write vcsa<number> console dump to file
--append [<number>] append vcsa<number> console dump to file
--file <filename> name of the dump file
--msg [on|off] send kernel messages to console
--msglevel 0-8 kernel console log level
--powersave [on|vsync|hsync|powerdown|off]
set vesa powersaving features
--powerdown [0-60] set vesa powerdown interval in minutes
--blength [0-2000] duration of the bell in milliseconds
--bfreq <number> bell frequency in Hertz
--version show version information and exit
--help display this help and exit
For more details see setterm(1). |
_________________ Clevo W230SS: amd64 nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC eudev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
 |
elmar283 Guru

Joined: 06 Dec 2004 Posts: 311 Location: Haarlem, Netherlands
|
Posted: Tue Feb 03, 2015 2:06 pm Post subject: |
|
|
I get an error:
Code: |
elmarotter@gargravarr ~ $ sudo setterm --powersave powerdown
setterm: Argument error.
Usage:
setterm [options]
Options:
-term <terminal_name>
-reset
-initialize
-cursor <on|off>
-repeat <on|off>
-appcursorkeys <on|off>
-linewrap <on|off>
-default
-foreground <default|black|blue|cyan|green|magenta|red|white|yellow>
-background <default|black|blue|cyan|green|magenta|red|white|yellow>
-ulcolor <black|blue|bright|cyan|green|grey|magenta|red|white|yellow>
-ulcolor <black|blue|bright|cyan|green|grey|magenta|red|white|yellow>
-hbcolor <black|blue|bright|cyan|green|grey|magenta|red|white|yellow>
-hbcolor <black|blue|bright|cyan|green|grey|magenta|red|white|yellow>
-inversescreen <on|off>
-bold <on|off>
-half-bright <on|off>
-blink <on|off>
-reverse <on|off>
-underline <on|off>
-store
-clear <all|rest>
-tabs <tab1 tab2 tab3 ...> (tabn = 1-160)
-clrtabs <tab1 tab2 tab3 ...> (tabn = 1-160)
-regtabs <1-160>
-blank <0-60|force|poke>
-dump <1-NR_CONSOLES>
-append <1-NR_CONSOLES>
-file dumpfilename
-msg <on|off>
-msglevel <0-8>
-powersave <on|vsync|hsync|powerdown|off>
-powerdown <0-60>
-blength <0-2000>
-bfreq freqnumber
-version
-help
For more details see setterm(1).
|
|
|
Back to top |
|
 |
Section_8 Guru


Joined: 22 May 2004 Posts: 593 Location: Arlington, TX, US
|
Posted: Tue Feb 03, 2015 2:10 pm Post subject: |
|
|
Quote: | elmarotter@gargravarr ~ $ sudo setterm --powersave powerdown
setterm: Argument error.
-powersave <on|vsync|hsync|powerdown|off> |
Maybe retry 'powersave' with one dash. |
|
Back to top |
|
 |
|