diff -Nru nvram-wakeup-1.0/boards/boards.yaml nvram-wakeup-1.1/boards/boards.yaml --- nvram-wakeup-1.0/boards/boards.yaml 2009-05-17 19:12:01.000000000 +0100 +++ nvram-wakeup-1.1/boards/boards.yaml 2010-01-24 11:09:09.000000000 +0000 @@ -12717,3 +12717,357 @@ addr_sec : '0x86' shift_stat : '3' upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2810386&group_id=35022&atid=412959 +# +- vendor : 'Gigabyte Technology Co., Ltd.' + type : 'G31M-S2L' + version : '' + biosvendor : 'Award Software International, Inc.' + biosversion : 'F8' + biosrelease : '02/05/2009' + infowriter : 'AUTO' + addr_chk_h : '0x6F' + addr_chk_l : '0x70' + addr_stat : '0x46' + addr_day : '0x47' + addr_hour : '0x48' + addr_min : '0x49' + addr_sec : '0x4A' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2799023&group_id=35022&atid=412959 +# +- vendor : 'ASRock' + type : 'G31DE' + version : '' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P1.00' + biosrelease : '02/18/2009' + infowriter : 'AUTO' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xBF' + addr_day : '0x89' + addr_hour : '0x8A' + addr_min : '0x5A' + addr_sec : '0x5B' + shift_stat : '4' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2794688&group_id=35022&atid=412959 +# +- vendor : 'Gigabyte Technology Co., Ltd.' + type : 'GA-E7AUM-DS2H' + version : 'x.x' + biosvendor : 'Award Software International, Inc.' + biosversion : 'F2' + biosrelease : '12/17/2008' + infowriter : 'AUTO' + addr_chk_h : '0x6D' + addr_chk_l : '0x6E' + addr_stat : '0x43' + addr_day : '0x48' + addr_hour : '0x49' + addr_min : '0x4A' + shift_stat : '5' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2834010&group_id=35022&atid=412959 +# +# Needs Reboot +# +- vendor : 'Gigabyte Technology Co., Ltd.' + type : 'EX58-UD5' + version : 'x.x' + biosvendor : 'Award Software International, Inc.' + biosversion : 'F6' + biosrelease : '03/31/2009' + infowriter : 'ga_6bxc_qdi_common' + addr_chk_h : '0x6F' + addr_chk_l : '0x70' + addr_stat : '0x46' + addr_day : '0x47' + addr_hour : '0x48' + addr_min : '0x49' + addr_sec : '0x4A' + +# +# https://sourceforge.net/tracker/?func=detail&aid=2826826&group_id=35022&atid=412959 +# +- vendor : 'ASRock' + type : 'P45TS' + version : 'G/A 1.11' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P1.40' + biosrelease : '02/09/2009' + infowriter : 'AUTO' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xE1' + addr_day : '0x81' + addr_hour : '0x82' + addr_min : '0x6E' + addr_sec : '0x6F' + shift_stat : '3' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2824513&group_id=35022&atid=412959 +# +# Needs reboot +# +- vendor : 'Leadtek Research Inc.' + type : 'WinFast nVidia CR18D/G' + version : '' + biosvendor : 'Phoenix Technologies, LTD' + biosversion : '6.00 PG' + biosrelease : '08/03/2004' + infowriter : 'AUTO' + addr_chk_h : '0x4B' + addr_chk_l : '0x6E' + addr_stat : '0x46' + addr_day : '0x48' + addr_hour : '0x49' + addr_min : '0x4A' + shift_stat : '3' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2881988&group_id=35022&atid=412959 +# +- vendor : 'Unknown' + type : 'Broadwater' + version : 'Unknown' + biosvendor : 'Phoenix Technologies, LTD' + biosversion : '6.00 PG' + biosrelease : '07/31/2008' + infowriter : 'ga_6bxc_qdi_common' + addr_chk_h : '0x6F' + addr_chk_l : '0x70' + addr_stat : '0x46' + addr_day : '0x47' + addr_hour : '0x48' + addr_min : '0x49' + addr_sec : '0x4A' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2847240&group_id=35022&atid=412959 +# +# Needs reboot +# +- vendor : 'MICRO-STAR INTERNATIONAL CO.,LTD' + type : 'MS-7528' + version : '1.0' + biosvendor : 'American Megatrends Inc.' + biosversion : 'V1.2' + biosrelease : '07/03/2008' + infowriter : 'AUTO' + need_reboot : 'ON_ANY_CHANGE' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xBF' + addr_day : '0x55' + addr_hour : '0x56' + addr_min : '0x4F' + addr_sec : '0x50' + shift_stat : '7' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2846328&group_id=35022&atid=412959 +# +# No reboot required +# +- vendor : 'ASRock' + type : 'N68-S' + version : '' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P1.50' + biosrelease : '07/17/2009' + infowriter : 'AUTO' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xA6' + addr_day : '0x48' + addr_hour : '0x51' + addr_min : '0x41' + addr_sec : '0x42' + shift_stat : '4' + shift_sec : '2' + upper_method : 'VT82Cxxx' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2834322&group_id=35022&atid=412959 +# +# Reboot required +# +- vendor : '' + type : 'K7VT4APro' + version : '1.0x' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P1.10' + biosrelease : '12/08/2004' + infowriter : 'msi_694tpro' + need_reboot : 'ON_ANY_CHANGE' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0x57' + addr_day : '0x58' + addr_hour : '0x59' + addr_min : '0x5A' + addr_sec : '0x5B' + shift_stat : '5' + rtc_day : '0x6F' + reset_day : 'ON' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2921130&group_id=35022&atid=412959 +# +# No reboot required +# +- vendor : 'ASRock' + type : 'N68-S' + version : '' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P2.00' + biosrelease : '12/15/2009' + infowriter : 'AUTO' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xA6' + addr_day : '0x48' + addr_hour : '0x51' + addr_min : '0x41' + addr_sec : '0x42' + shift_stat : '5' + shift_sec : '2' + upper_method : 'VT82Cxxx' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2920376&group_id=35022&atid=412959 +# +- vendor : 'ASUSTeK Computer INC.' + type : 'P5QC' + version : 'Rev 2.xx' + biosvendor : 'American Megatrends Inc.' + biosversion : '2103' + biosrelease : '04/27/2009' + infowriter : 'AUTO' + need_reboot : 'ON_ANY_CHANGE' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xB6' + addr_day : '0x5F' + addr_hour : '0x61' + addr_min : '0x59' + addr_sec : '0x5A' + shift_stat : '7' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2910300&group_id=35022&atid=412959 +# +- vendor : 'Shuttle Inc' + type : 'FN78S' + version : 'V10' + biosvendor : 'Phoenix Technologies, LTD' + biosversion : '6.00 PG' + biosrelease : '07/09/2009' + infowriter : 'AUTO' + addr_chk_h : '0x6D' + addr_chk_l : '0x6E' + addr_stat : '0x4A' + addr_day : '0x4C' + addr_hour : '0x4D' + addr_min : '0x4E' + shift_stat : '3' + upper_method : 'VT82Cxxx' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2907630&group_id=35022&atid=412959 +# +# No reboot required +# +- vendor : 'ASRock' + type : 'G41M-GS' + version : '' + biosvendor : 'American Megatrends Inc.' + biosversion : 'P1.00' + biosrelease : '07/13/2009' + infowriter : 'AUTO' + addr_chk_h : '0x30' + addr_chk_l : '0x31' + addr_stat : '0xC8' + addr_day : '0x6C' + addr_hour : '0x6D' + addr_min : '0x5E' + addr_sec : '0x5F' + shift_stat : '4' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2921850&group_id=35022&atid=412959 +# +# No reboot required +# +- vendor : '' + type : 'KM400-8237' + version : '' + biosvendor : 'Phoenix Technologies, LTD' + biosversion : '6.00 PG' + biosrelease : '08/19/2003' + infowriter : 'aopen_ax37' + addr_stat : '0xD2' + addr_day : '0xD8' + addr_hour : '0xD9' + addr_min : '0xDA' + addr_sec : '0xDB' + shift_stat : '5' + upper_method : 'VT8235_37' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2923487&group_id=35022&atid=412959 +# +# Reboot required +# +- vendor : 'ASUSTeK Computer INC.' + type : 'P5LD2-Deluxe' + version : 'Rev 1.xx' + biosvendor : 'American Megatrends Inc.' + biosversion : '0705' + biosrelease : '07/13/2006' + infowriter : 'AUTO' + addr_stat : '0xC8' + addr_day : '0x4E' + addr_hour : '0x4F' + addr_min : '0x3E' + addr_sec : '0x4D' + shift_stat : '6' + shift_min : '1' + upper_method : 'INTEL' + +# +# http://sourceforge.net/tracker/?func=detail&aid=2924202&group_id=35022&atid=412959 +# +# Reboot and --directisa required +# +- vendor : '' + type : 'KM266-8235' + version : '' + biosvendor : 'Phoenix Technologies, LTD' + biosversion : '6.00 PG' + biosrelease : '01/06/2003' + infowriter : 'AUTO' + addr_chk_h : '0x75' + addr_chk_l : '0x73' + addr_stat : '0xD2' + addr_day : '0xD8' + addr_hour : '0xD9' + addr_min : '0xDA' + addr_sec : '0xDB' + shift_stat : '5' + upper_method : 'VT8235_37' + diff -Nru nvram-wakeup-1.0/boards.c.inc nvram-wakeup-1.1/boards.c.inc --- nvram-wakeup-1.0/boards.c.inc 2009-05-17 19:12:06.000000000 +0100 +++ nvram-wakeup-1.1/boards.c.inc 2010-01-24 11:53:59.000000000 +0000 @@ -711,5 +711,22 @@ { IW(ga_6bxc_qdi_common), "AOpen", "i855GMEm-LFS", "", "Phoenix/Award Technologies, LTD", "6.00 PG", "03/17/2005"}, { IW(ga_6bxc_qdi_common), "Gigabyte Technology Co., Ltd.", "EG45M-DS2H", "x.x", "Award Software International, Inc.", "F2", "07/18/2008"}, { IW(infowriter_0031), "ASRock", "P43R1600Twins-WiFi", "", "American Megatrends Inc.", "P1.90", "12/18/2008"}, + { IW(infowriter_0032), "Gigabyte Technology Co., Ltd.", "G31M-S2L", "", "Award Software International, Inc.", "F8", "02/05/2009"}, + { IW(infowriter_0033), "ASRock", "G31DE", "", "American Megatrends Inc.", "P1.00", "02/18/2009"}, + { IW(infowriter_0034), "Gigabyte Technology Co., Ltd.", "GA-E7AUM-DS2H", "x.x", "Award Software International, Inc.", "F2", "12/17/2008"}, + { IW(ga_6bxc_qdi_common), "Gigabyte Technology Co., Ltd.", "EX58-UD5", "x.x", "Award Software International, Inc.", "F6", "03/31/2009"}, + { IW(infowriter_0035), "ASRock", "P45TS", "G/A 1.11", "American Megatrends Inc.", "P1.40", "02/09/2009"}, + { IW(infowriter_0036), "Leadtek Research Inc.", "WinFast nVidia CR18D/G", "", "Phoenix Technologies, LTD", "6.00 PG", "08/03/2004"}, + { IW(ga_6bxc_qdi_common), "Unknown", "Broadwater", "Unknown", "Phoenix Technologies, LTD", "6.00 PG", "07/31/2008"}, + { IW(infowriter_0037), "MICRO-STAR INTERNATIONAL CO.,LTD", "MS-7528", "1.0", "American Megatrends Inc.", "V1.2", "07/03/2008"}, + { IW(infowriter_0038), "ASRock", "N68-S", "", "American Megatrends Inc.", "P1.50", "07/17/2009"}, + { IW(msi_694tpro), "", "K7VT4APro", "1.0x", "American Megatrends Inc.", "P1.10", "12/08/2004"}, + { IW(infowriter_0039), "ASRock", "N68-S", "", "American Megatrends Inc.", "P2.00", "12/15/2009"}, + { IW(infowriter_0040), "ASUSTeK Computer INC.", "P5QC", "Rev 2.xx", "American Megatrends Inc.", "2103", "04/27/2009"}, + { IW(infowriter_0041), "Shuttle Inc", "FN78S", "V10", "Phoenix Technologies, LTD", "6.00 PG", "07/09/2009"}, + { IW(infowriter_0042), "ASRock", "G41M-GS", "", "American Megatrends Inc.", "P1.00", "07/13/2009"}, + { IW(aopen_ax37), "", "KM400-8237", "", "Phoenix Technologies, LTD", "6.00 PG", "08/19/2003"}, + { IW(infowriter_0043), "ASUSTeK Computer INC.", "P5LD2-Deluxe", "Rev 1.xx", "American Megatrends Inc.", "0705", "07/13/2006"}, + { IW(infowriter_0044), "", "KM266-8235", "", "Phoenix Technologies, LTD", "6.00 PG", "01/06/2003"}, { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL } }; diff -Nru nvram-wakeup-1.0/debian/changelog nvram-wakeup-1.1/debian/changelog --- nvram-wakeup-1.0/debian/changelog 2010-02-10 09:52:38.000000000 +0000 +++ nvram-wakeup-1.1/debian/changelog 2010-02-10 09:52:39.000000000 +0000 @@ -1,3 +1,17 @@ +nvram-wakeup (1.1-1yavdr1) karmic; urgency=low + + * repo rebuilt + + -- Holger Schvestka Thu, 04 Feb 2010 18:08:11 +0100 + +nvram-wakeup (1.1-1) unstable; urgency=low + + * New upstream release (Closes: #484929) + * Buil-Depend debhelper (>= 5) + * Standards-Version: 3.8.3 + + -- Tobias Grimm Sun, 24 Jan 2010 13:04:58 +0100 + nvram-wakeup (1.0-1) unstable; urgency=low * New upstream release (Closes: #529074) diff -Nru nvram-wakeup-1.0/debian/control nvram-wakeup-1.1/debian/control --- nvram-wakeup-1.0/debian/control 2010-02-10 09:52:38.000000000 +0000 +++ nvram-wakeup-1.1/debian/control 2010-02-10 09:52:39.000000000 +0000 @@ -3,8 +3,8 @@ Priority: optional Maintainer: Debian VDR Team Uploaders: Tobias Grimm , Thomas Schmidt -Build-Depends: debhelper (>> 4.1.16), cdbs -Standards-Version: 3.8.1 +Build-Depends: debhelper (>= 5), cdbs +Standards-Version: 3.8.3 Homepage: http://sourceforge.net/projects/nvram-wakeup XS-Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/general/nvram-wakeup/trunk/ XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/general/nvram-wakeup/trunk/ diff -Nru nvram-wakeup-1.0/debian/copyright nvram-wakeup-1.1/debian/copyright --- nvram-wakeup-1.0/debian/copyright 2010-02-10 09:52:38.000000000 +0000 +++ nvram-wakeup-1.1/debian/copyright 2010-02-10 09:52:39.000000000 +0000 @@ -12,10 +12,10 @@ (C) 2001 - 2006 Sergei Haller (C) 2002 Bernhard "Bero" Rosenkraenzer (C) 1996 Paul Gortmaker - (C) 2004 - 2009 Tobias Grimm + (C) 2004 - 2010 Tobias Grimm Copyright (Debian packaging): - (C) 2003 - 2009 Tobias Grimm, Thomas Schmidt + (C) 2003 - 2010 Tobias Grimm, Thomas Schmidt License: This program is free software; you can redistribute it and/or modify diff -Nru nvram-wakeup-1.0/debian/watch nvram-wakeup-1.1/debian/watch --- nvram-wakeup-1.0/debian/watch 2010-02-10 09:52:38.000000000 +0000 +++ nvram-wakeup-1.1/debian/watch 2010-02-10 09:52:39.000000000 +0000 @@ -1,2 +1,3 @@ version=3 http://qa.debian.org/watch/sf.php/nvram-wakeup/ nvram-wakeup-(.*)\.tar\.bz2 + diff -Nru nvram-wakeup-1.0/guess-helper nvram-wakeup-1.1/guess-helper --- nvram-wakeup-1.0/guess-helper 2008-11-23 11:45:16.000000000 +0000 +++ nvram-wakeup-1.1/guess-helper 2010-01-24 11:40:39.000000000 +0000 @@ -3,7 +3,7 @@ # guess-helper # Copyright (C) 2004 Tobias Grimm # -# $Id: guess-helper 906 2008-11-23 11:47:02Z tiber $ +# $Id: guess-helper 925 2010-01-24 11:40:38Z tiber $ # # prepare to use gettext, if installed: @@ -242,9 +242,11 @@ cd ~/guess-directisa guess > nvram-wakeup.conf 2> guess-error.log [ "$catOptions" = "" ] || echo upper_method = $catOptions >> nvram-wakeup.conf - cd ~/guess-nvram-module - guess > nvram-wakeup.conf 2> guess-error.log - cd .. + if [ -d ~/guess-nvram-module ] ; then + cd ~/guess-nvram-module + guess > nvram-wakeup.conf 2> guess-error.log + cd .. + fi EchoTextLines \ "The nvram-wakeup address detection is finished now.\n"\ diff -Nru nvram-wakeup-1.0/HISTORY nvram-wakeup-1.1/HISTORY --- nvram-wakeup-1.0/HISTORY 2009-05-17 19:16:03.000000000 +0100 +++ nvram-wakeup-1.1/HISTORY 2010-01-24 11:53:50.000000000 +0000 @@ -1,10 +1,55 @@ NVRAM-WakeUp Revision History - $Id: HISTORY 922 2009-05-17 18:13:47Z tiber $ + $Id: HISTORY 926 2010-01-24 11:53:49Z tiber $ + denotes a new feature * denotes a bugfix/some change - denotes a removed feature +2010-01-24: Version 1.1 + * Some minor documentation tweaks + (Closes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484929) + * Check if ~/guess-nvram-module exists, before running guess in + guess-helper + (Closes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484929) + + Added new boards + - Gigabyte G31M-S2L + (http://sourceforge.net/tracker/index.php?func=detail&aid=2810386&group_id=35022&atid=412959) + - ASRock G31DE - ID: 2799023 + (http://sourceforge.net/tracker/?func=detail&aid=2799023&group_id=35022&atid=412959) + - GA-E7AUM-DS2H + (http://sourceforge.net/tracker/?func=detail&aid=2794688&group_id=35022&atid=412959) + - Gigabyte EX58-UD5 + (http://sourceforge.net/tracker/?func=detail&aid=2834010&group_id=35022&atid=412959) + - ASRock P45TS + (http://sourceforge.net/tracker/?func=detail&aid=2826826&group_id=35022&atid=412959) + - Leadtek WinFast nVidia CR18D/G + (http://sourceforge.net/tracker/?func=detail&aid=2824513&group_id=35022&atid=412959) + - ASUS P4P800-E Deluxe rv. 1009 + (http://sourceforge.net/tracker/?func=detail&aid=2816578&group_id=35022&atid=412959) + - Commell LV-676 + (http://sourceforge.net/tracker/?func=detail&aid=2881988&group_id=35022&atid=412959) + - MSI G31 M3-F + (http://sourceforge.net/tracker/?func=detail&aid=2847240&group_id=35022&atid=412959) + - ASRock N68-S + (http://sourceforge.net/tracker/?func=detail&aid=2846328&group_id=35022&atid=412959) + - ASRock K7VT4APro + (http://sourceforge.net/tracker/?func=detail&aid=2834322&group_id=35022&atid=412959) + - ASRock N68-S, Bios Version P2.00 + (http://sourceforge.net/tracker/?func=detail&aid=2921130&group_id=35022&atid=412959) + - ASUSTeK Computer INC. P5QC + (http://sourceforge.net/tracker/?func=detail&aid=2920376&group_id=35022&atid=412959) + - Shuttle Inc FN78S V10 + (http://sourceforge.net/tracker/?func=detail&aid=2910300&group_id=35022&atid=412959) + - ASRock G41M-GS + (http://sourceforge.net/tracker/?func=detail&aid=2907630&group_id=35022&atid=412959) + - VIA KM400-8237 + (http://sourceforge.net/tracker/?func=detail&aid=2921850&group_id=35022&atid=412959) + - ASUS P5LD2 Deluxe + (http://sourceforge.net/tracker/?func=detail&aid=2923487&group_id=35022&atid=412959) + - Biostar M7VIG-PRO (ok, no reboot needed) + (http://sourceforge.net/tracker/?func=detail&aid=2924202&group_id=35022&atid=412959) + + 2008-11-23: Version 1.0 * Fixed a 1-byte buffer overflow in xxd() Patch provided by Kees Cook diff -Nru nvram-wakeup-1.0/infowriters.c.inc nvram-wakeup-1.1/infowriters.c.inc --- nvram-wakeup-1.0/infowriters.c.inc 2009-05-17 19:12:06.000000000 +0100 +++ nvram-wakeup-1.1/infowriters.c.inc 2010-01-24 11:53:59.000000000 +0000 @@ -3446,3 +3446,169 @@ b->shift_stat = 3; b->upper_method = INTEL; } + +void infowriter_0032(struct biosinfo *b) +{ + b->addr_chk_h = 0x6F; + b->addr_chk_l = 0x70; + b->addr_stat = 0x46; + b->addr_day = 0x47; + b->addr_hour = 0x48; + b->addr_min = 0x49; + b->addr_sec = 0x4A; + b->upper_method = INTEL; +} + +void infowriter_0033(struct biosinfo *b) +{ + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xBF; + b->addr_day = 0x89; + b->addr_hour = 0x8A; + b->addr_min = 0x5A; + b->addr_sec = 0x5B; + b->shift_stat = 4; + b->upper_method = INTEL; +} + +void infowriter_0034(struct biosinfo *b) +{ + b->addr_chk_h = 0x6D; + b->addr_chk_l = 0x6E; + b->addr_stat = 0x43; + b->addr_day = 0x48; + b->addr_hour = 0x49; + b->addr_min = 0x4A; + b->shift_stat = 5; +} + +void infowriter_0035(struct biosinfo *b) +{ + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xE1; + b->addr_day = 0x81; + b->addr_hour = 0x82; + b->addr_min = 0x6E; + b->addr_sec = 0x6F; + b->shift_stat = 3; + b->upper_method = INTEL; +} + +void infowriter_0036(struct biosinfo *b) +{ + b->addr_chk_h = 0x4B; + b->addr_chk_l = 0x6E; + b->addr_stat = 0x46; + b->addr_day = 0x48; + b->addr_hour = 0x49; + b->addr_min = 0x4A; + b->shift_stat = 3; +} + +void infowriter_0037(struct biosinfo *b) +{ + b->need_reboot = ON_ANY_CHANGE; + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xBF; + b->addr_day = 0x55; + b->addr_hour = 0x56; + b->addr_min = 0x4F; + b->addr_sec = 0x50; + b->shift_stat = 7; + b->upper_method = INTEL; +} + +void infowriter_0038(struct biosinfo *b) +{ + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xA6; + b->addr_day = 0x48; + b->addr_hour = 0x51; + b->addr_min = 0x41; + b->addr_sec = 0x42; + b->shift_stat = 4; + b->shift_sec = 2; + b->upper_method = VT82Cxxx; +} + +void infowriter_0039(struct biosinfo *b) +{ + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xA6; + b->addr_day = 0x48; + b->addr_hour = 0x51; + b->addr_min = 0x41; + b->addr_sec = 0x42; + b->shift_stat = 5; + b->shift_sec = 2; + b->upper_method = VT82Cxxx; +} + +void infowriter_0040(struct biosinfo *b) +{ + b->need_reboot = ON_ANY_CHANGE; + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xB6; + b->addr_day = 0x5F; + b->addr_hour = 0x61; + b->addr_min = 0x59; + b->addr_sec = 0x5A; + b->shift_stat = 7; + b->upper_method = INTEL; +} + +void infowriter_0041(struct biosinfo *b) +{ + b->addr_chk_h = 0x6D; + b->addr_chk_l = 0x6E; + b->addr_stat = 0x4A; + b->addr_day = 0x4C; + b->addr_hour = 0x4D; + b->addr_min = 0x4E; + b->shift_stat = 3; + b->upper_method = VT82Cxxx; +} + +void infowriter_0042(struct biosinfo *b) +{ + b->addr_chk_h = 0x30; + b->addr_chk_l = 0x31; + b->addr_stat = 0xC8; + b->addr_day = 0x6C; + b->addr_hour = 0x6D; + b->addr_min = 0x5E; + b->addr_sec = 0x5F; + b->shift_stat = 4; + b->upper_method = INTEL; +} + +void infowriter_0043(struct biosinfo *b) +{ + b->addr_stat = 0xC8; + b->addr_day = 0x4E; + b->addr_hour = 0x4F; + b->addr_min = 0x3E; + b->addr_sec = 0x4D; + b->shift_stat = 6; + b->shift_min = 1; + b->upper_method = INTEL; +} + +void infowriter_0044(struct biosinfo *b) +{ + b->addr_chk_h = 0x75; + b->addr_chk_l = 0x73; + b->addr_stat = 0xD2; + b->addr_day = 0xD8; + b->addr_hour = 0xD9; + b->addr_min = 0xDA; + b->addr_sec = 0xDB; + b->shift_stat = 5; + b->upper_method = VT8235_37; +} diff -Nru nvram-wakeup-1.0/nvram-wakeup.h nvram-wakeup-1.1/nvram-wakeup.h --- nvram-wakeup-1.0/nvram-wakeup.h 2009-05-17 19:17:12.000000000 +0100 +++ nvram-wakeup-1.1/nvram-wakeup.h 2010-01-24 11:56:03.000000000 +0000 @@ -27,7 +27,7 @@ "$Id: nvram-wakeup.h 923 2009-05-17 18:17:11Z tiber $" #define PACKAGE "nvram-wakeup" -#define VERSION "1.0" +#define VERSION "1.1" #define ON 1 #define OFF 0 diff -Nru nvram-wakeup-1.0/readconf.c nvram-wakeup-1.1/readconf.c --- nvram-wakeup-1.0/readconf.c 2008-07-31 18:40:24.000000000 +0100 +++ nvram-wakeup-1.1/readconf.c 2010-01-24 11:53:50.000000000 +0000 @@ -2,7 +2,7 @@ * NVRAM WakeUp * Copyright (C) 2001-2004, Sergei Haller. * - * $Id: readconf.c 752 2004-07-20 14:20:36Z bistr-o-math $ + * $Id: readconf.c 926 2010-01-24 11:53:49Z tiber $ * * 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 @@ -21,7 +21,7 @@ */ #define CVSREV_readconf_c \ - "$Id: readconf.c 752 2004-07-20 14:20:36Z bistr-o-math $" + "$Id: readconf.c 926 2010-01-24 11:53:49Z tiber $" /* * diff -Nru nvram-wakeup-1.0/README.mb nvram-wakeup-1.1/README.mb --- nvram-wakeup-1.0/README.mb 2008-11-23 10:56:27.000000000 +0000 +++ nvram-wakeup-1.1/README.mb 2010-01-24 11:53:50.000000000 +0000 @@ -3,7 +3,7 @@ (C) 2001-2004, Sergei Haller (C) 2002, Bernhard Rosenkraenzer - $Id: README.mb 870 2008-09-06 20:48:34Z tiber $ + $Id: README.mb 926 2010-01-24 11:53:49Z tiber $ @@ -94,7 +94,8 @@ Before starting this procedure you must have read the step 0 above. Don't change any other BIOS settings you are not told to change - during the following procedure. + during the following procedure. This includes the year setting, if + available - it's not supported by nvram-wakeup, so leave it alone. Create a new directory, say /var/tmp/nvram.test: @@ -204,6 +205,10 @@ addr_chk_l = 0x6E + rtc_sec, rtc_min and rtc_hour are just for your information, + and are currently not used by nvram-wakeup. You must + remove these lines or you will get an syntax error. + If your nvram has a size of 128 bytes or more and you get these three lines (they should appear only together): rtc_sec = 0x73