nvram-wakeup(8) | NVRAM WakeUp | nvram-wakeup(8) |
nvram-wakeup - a (small) program that can read and write the WakeUp time in the BIOS.
nvram-wakeup [-l|--syslog] [-D|--debug] [-A|--directisa] [-N|--nowrite] [-d|--disable] [-s|--settime time] [-C|--configfile filename] [-I|--iwname string] [-v|--version] [-h|--help]
nvram-wakeup is a (small) program that can read and write the WakeUp time in the BIOS (via /dev/nvram on kernels >= 2.4.6 or using direct I/O). On this WakeUp time the computer will be powered on automatically from the soft-off state.
If run without options, nvram-wakeup will read the current wakeup settings from the NVRAM and print them on stdout.
WARNING: If you use the option --directisa and some other programm tries to access nvram and/or rtc at the same time, you might screw up all your nvram (i.e. all CMOS settings).
See EXAMPLES below on how to set a "human readable" wakeup time.
Set time to 0 to disable the wakeup feature.
You can specify multiple -s|--settime options on the command line, as far as they all have the same time value. See EXAMPLES below.
See nvram-wakeup.conf(5) for information on the syntax of the file.
See BOARD CONFIGURATION below for general information on getting board configurations.
If you specify --configfile as well as the --iwname option, then --iwname is ignored.
See BOARD CONFIGURATION below for general information on getting board configurations.
The default is to start 5 minutes before the programmed wakeup time.
By default, the mainboard is autodetected by reading DMI information from the BIOS. If the DMI entries are broken, you can specify the name of the infowriter to be used with the --iwname option. This only works if the board configuration is aleready compiled into the program. The list of existing infowriters can be found in the source.
Example: On my Biostar M6VCG the whole DMI entry is broken (maybe a BIOS update would help, but I never tried it), but the configuration of the board is known, so only the autodetection doesn't work. Thus look up (in boards.yaml) the name of the infowriter to beused, which is 'bio_m6vcg' and call
If nvram-wakeup doesn't know anything about your board, you can put the board configuration into a file and pass the file name via the --configfile option to nvram-wakeup. Look nvram-wakeup.conf(5) for more information on the configuration file syntax.
If you specify --configfile as well as the --iwname option, then --iwname is ignored.
You can specify multiple -d or -s options at the command line, but they must specify the same time, e.g.
If you want the machine to be up and running in 20 minutes, call
If you want the machine to be up and running at 18:30 today, call
Note that this is really "today" so if you run this after 18:30, the time will be in the past.
If you want the machine to be up and running on a particular day, at a particular time, say at 18:30 on Apr. 23rd, call
For "tomorrow" you can use something like that:
http://sf.net/projects/nvram-wakeup/
Written by Sergei Haller <Sergei.Haller@math.uni-giessen.de>.
Report bugs at the bug tracking system (see HOMEPAGE) or on the mailing list nvram-wakeup-devel@lists.sourceforge.net
Copyright © 2001-2004 Sergei Haller.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
May 08 2004 | Linux |