Hallo,
würde gerne nVRAM zum Laufen bringen. Hab ein Gigabyte GA-8SGXL Mainboard. Nvram-wakeup ist installiert, aber er sagt, dass mein Mainboard nicht unterstützt wird. Kann ich vielleicht selbst irgendwie Hand anlegen um das ganze zum Laufen zu bekommen? Wenn ja, wie? Laut Handbuch unterstützt das Mainboard auch Nvram, das wäre also kein Problem. Mein Rechner hat die c't VDR devel 3.07 Version.

NVRAM mit Gigabyte GA-8SGXL(gelöst)
-
-
Hallo,
schau mal unter http://home.t-online.de/home/hubertus.…/vdr_wakeup.htm
Dort steht im Kapitel 2.2 "unbekannten Motherboard" wie du mit dem Sktipt guess-helper evtl. dein Mainboard zum laufen bekommst.
Gruß
Heiko -
einfach guess-helper laufen lassen und Anweisungen befolgen. Bei Problemen hier wieder melden.
-
Gut, mach ich
-
Ähm, folgendes, mein Chipsatz is nicht aufgeführt, soll ich dann unbekannt wählen?
-
ja,
hat bei mir funktioniert. Ich habe ein AMD751 Chip.
Muß aber noch zum Config-File zum Autor posten, damit das Mainboard evtl. im Standard unterstützt wird.
Heiko
-
Werd ich machen.
-
Man kann ja auch an die schreiben und fragen, ob die einem das machen. Aber das dauert sicher Wochen. Da werd ich lieber selbst Hand anlegen. Wie lang hast du eigentlich dazu gebraucht?
-
dauert "nur" einige Minuten. Das längste ist immer der Neustart des Recherns. Wichtig! Immer genau das machen, was das Skript "guess-helper" einem sagt.
Heiko
-
-
So, bin das ganze jetzt mit guess-helper durchgegangen, hab die Datei nach /etc verschoben und mach jetzt:
CodeVDR:~# /usr/sbin/nvram-wakeup -C /root/guess-directisa/nvram-wakeup.conf nvram-wakeup: /root/guess-directisa/nvram-wakeup.conf: 17: Previous definition of variable `addr_stat': first definition in line 12 nvram-wakeup: Reading configuration file returned with errors.
An was liegt das jetzt? -
Quote
Original von SyncMaster
Man kann ja auch an die schreiben und fragen, ob die einem das machen. Aber das dauert sicher Wochen. Da werd ich lieber selbst Hand anlegen. Wie lang hast du eigentlich dazu gebraucht?ich bin "die"
-
Quote
Original von SyncMaster
So, bin das ganze jetzt mit guess-helper durchgegangen, hab die Datei nach /etc verschoben und mach jetzt:CodeVDR:~# /usr/sbin/nvram-wakeup -C /root/guess-directisa/nvram-wakeup.conf nvram-wakeup: /root/guess-directisa/nvram-wakeup.conf: 17: Previous definition of variable `addr_stat': first definition in line 12 nvram-wakeup: Reading configuration file returned with errors.
An was liegt das jetzt?poste mal die erzeugte nvram-wakeup.conf und die guess-error.log
-
Code
Display More################################################ ## Mainboard autodetection information: ## ## - Mainboard vendor: "Gigabyte Technology Co., Ltd." ## - Mainboard type: "GA-8SGXLFS" ## - Mainboard revision: "" ## - BIOS vendor: "Award Software International, Inc." ## - BIOS version: "F6" ## - BIOS release: "12/12/2003" addr_stat = 0x32 addr_day = 0x33 addr_hour = 0x34 addr_min = 0x35 addr_sec = 0x36 addr_stat = 0x70 # but differs somewhere else rtc_day = 0x70 # but differs somewhere else reset_day = ON rtc_sec = 0x73 rtc_min = 0x75 rtc_hour = 0x77 addr_chk_h = 0x6E addr_chk_l = 0x6F
Code
Display MoreVDR:/usr/local/bin# cd /root/guess-directisa VDR:~/guess-directisa# dir 01.00.00.00- 11.12.13.14+ cat_nvram.log guess-helper.conf 01.00.00.00+ 31.23.59.59+ guess-error.log nvram-wakeup.conf VDR:~/guess-directisa# nano guess-error.log VDR:~/guess-directisa# tail -f -n 100 guess-error.log $Id: guess.c,v 1.22 2004/03/04 08:38:14 bistr-o-math Exp $ Opened file 31.23.59.59+ readonly... Opened file 11.12.13.14+ readonly... Opened file 01.00.00.00+ readonly... Opened file 01.00.00.00- readonly... Couldn't read byte 0x80 from 31.23.59.59+ Assuming size of files 128 bytes guess: Opening /dev/mem in O_RDONLY mode... guess: _DMI_ table found: base: 0xF0120, size: 0x47B, count: 38 guess: data block 1 at offset 0x000: type 0, size 0x014 ( 20) guess: found string "Award Software International, Inc." guess: found string "F6" guess: found string "12/12/2003" guess: data block 2 at offset 0x046: type 1, size 0x019 ( 25) guess: data block 3 at offset 0x07D: type 2, size 0x008 ( 8) guess: found string "Gigabyte Technology Co., Ltd." guess: found string "GA-8SGXLFS" guess: found string "" guess: data block 4 at offset 0x0B3: type 3, size 0x011 ( 17) guess: data block 5 at offset 0x0CD: type 4, size 0x023 ( 35) guess: data block 6 at offset 0x11E: type 4, size 0x023 ( 35) guess: data block 7 at offset 0x16F: type 5, size 0x016 ( 22) guess: data block 8 at offset 0x188: type 6, size 0x00C ( 12) guess: data block 9 at offset 0x198: type 6, size 0x00C ( 12) guess: data block 10 at offset 0x1A8: type 6, size 0x00C ( 12) guess: data block 11 at offset 0x1B8: type 7, size 0x013 ( 19) guess: data block 12 at offset 0x1DB: type 7, size 0x013 ( 19) guess: data block 13 at offset 0x1FE: type 8, size 0x009 ( 9) guess: data block 14 at offset 0x216: type 8, size 0x009 ( 9) guess: data block 15 at offset 0x230: type 8, size 0x009 ( 9) guess: data block 16 at offset 0x240: type 8, size 0x009 ( 9) guess: data block 17 at offset 0x251: type 8, size 0x009 ( 9) guess: data block 18 at offset 0x262: type 8, size 0x009 ( 9) guess: data block 19 at offset 0x273: type 8, size 0x009 ( 9) guess: data block 20 at offset 0x288: type 8, size 0x009 ( 9) guess: data block 21 at offset 0x2A6: type 9, size 0x00D ( 13) guess: data block 22 at offset 0x2B8: type 9, size 0x00D ( 13) guess: data block 23 at offset 0x2CA: type 9, size 0x00D ( 13) guess: data block 24 at offset 0x2DC: type 9, size 0x00D ( 13) guess: data block 25 at offset 0x2EE: type 9, size 0x00D ( 13) guess: data block 26 at offset 0x300: type 9, size 0x00D ( 13) guess: data block 27 at offset 0x312: type 8, size 0x009 ( 9) guess: data block 28 at offset 0x322: type 13, size 0x016 ( 22) guess: data block 29 at offset 0x373: type 16, size 0x00F ( 15) guess: data block 30 at offset 0x385: type 17, size 0x01B ( 27) guess: data block 31 at offset 0x3B4: type 17, size 0x01B ( 27) guess: data block 32 at offset 0x3E3: type 17, size 0x01B ( 27) guess: data block 33 at offset 0x412: type 19, size 0x00F ( 15) guess: data block 34 at offset 0x424: type 20, size 0x013 ( 19) guess: data block 35 at offset 0x43A: type 20, size 0x013 ( 19) guess: data block 36 at offset 0x450: type 20, size 0x013 ( 19) guess: data block 37 at offset 0x466: type 32, size 0x00B ( 11) guess: data block 38 at offset 0x474: type 127, size 0x004 ( 4) guess: Following DMI entries found: guess: - Mainboard vendor: "Gigabyte Technology Co., Ltd." guess: - Mainboard type: "GA-8SGXLFS" guess: - Mainboard revision: "" guess: - BIOS vendor: "Award Software International, Inc." guess: - BIOS version: "F6" guess: - BIOS release: "12/12/2003" checking 0x32: 0x09 0x09 0x09 0x08 checking 0x33: 0x1F 0x0B 0x01 0x01 checking 0x34: 0x17 0x0C 0x00 0x00 checking 0x35: 0x3B 0x0D 0x00 0x00 checking 0x36: 0x3B 0x0E 0x00 0x00 checking 0x6E: 0x08 0x07 0x07 0x07 checking 0x6F: 0x22 0xA8 0x77 0x76 checking 0x70: 0x31 0x11 0x01 0xC0 checking 0x73: 0x59 0x14 0x00 0x00 checking 0x75: 0x59 0x13 0x00 0x00 checking 0x77: 0x23 0x12 0x00 0x00
-
-
Na ja, alle Zeilen die er nicht wollte hab ich gelöscht. Ein manueller Start nach 5 Minuten hat auch funktioniert. Aber wie schaff ich es, dass er jetzt hochfährt sobald ein timer gesetzt ist?
-
So jetzt hab ich mir das vdrshutdown 1.21 von bitromath drauf gemacht. Wenn ichs ausführe, sagt er folgendes:
Code
Display MoreApr 9 18:35:52 VDR vdr[1663]: executing command '/usr/share/vdrdevel/vdrshutdow n' Apr 9 18:35:52 VDR nvram-wakeup[2627]: Apr 9 18:35:52 VDR nvram-wakeup[2627]: Usage: nvram-wakeup [OPTIONS] Apr 9 18:35:52 VDR nvram-wakeup[2627]: -s, --settime Set the given wakeup date/time (given as a time_t value). Apr 9 18:35:52 VDR nvram-wakeup[2627]: -d, --disable Disable WakeUp. Equi valent to --settime=0. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -C, --configfile Read board configura tion from specified configuration file. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -I, --iwname Specify the IW (info writer) name. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -A, --directisa Use direct ISA acces s to read/write nvram instead of /dev/nvram. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -N, --nowrite Don't write any valu es (in /dev/nvram or /dev/rtc). For testing. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -D, --debug Enable printing debu g messages. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -l, --syslog Log all output via s yslogd instead of stdout/stderr. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -v, --version Print version inform ation. Apr 9 18:35:52 VDR nvram-wakeup[2627]: -h, --help Print this message ( always to stderr, regardless of --syslog). Apr 9 18:35:52 VDR nvram-wakeup[2627]: Apr 9 18:35:52 VDR nvram-wakeup[2627]: All specified wakeup times are times a t which the PC should be up and running. Apr 9 18:35:52 VDR nvram-wakeup[2627]:
-
Es scheint so als würde das Skript keine Daten vom VDR zu bekommen. Wie kann ich das lösen?
-
Das ist jetzt mein aktuelles vdrshutdown Skript. Mit chmod 777 ausführbar gemacht. Wenn ich des unter VDR aufruf, dann fährt er runter. Aber da er keine Daten vom VDR erhält schreibt er nix in den NVRAM. Ich hab nen Timer gestellt auf eine Sendung, die in einer Stunde startet.
Bash
Display More#!/bin/bash # $Id: vdrshutdown,v 1.21 2004/08/23 01:22:35 bistr-o-math Exp $ NVRAMCMD=/usr/sbin/nvram-wakeup SVDRPCMD=/usr/lib/vdrdevel/svdrpsend.pl LOGGER=/usr/bin/logger #CHECKSCRIPT=/usr/local/bin/checkscript.sh ################# ## if the script $CHECKSCRIPT thinks that we should shutdown, ## it must not print anything on stdout. ## if it thinks that we should NOT shutdown, ## it must print a one-line message on stdout describing the reason. ## ## note that all parameters passed to vdrshutdown will also be passed to $CHECK SCRIPT ## so it might use them (e.g. $5 -eq 0 below) ## ## it might look like this: ## -------------------------- ## #!/bin/bash ## ## pgrep 2divx >/dev/null 2>&1 && { echo Divx-Conversion is still runni ng; exit; } ## ## test -a /some/file && { echo /some/file exists; exit; } ## ## USERCOUNT=`who | wc -l`; ## test $5 -eq 0 -a $USERCOUNT -gt 0 && { echo "$USERCOUNT users are logged i n."; exit; } ## ## -------------------------- ## ## now if $CHECKSCRIPT exists and is executable, the message will be passed thr ough ## SVDRP to the tv screen. ## test -x $CHECKSCRIPT && { msg=`$CHECKSCRIPT "$@"` test "$msg" != "" && { $SVDRPCMD MESG $msg & $LOGGER -t `basename $0` "shutdown aborted: $msg" exit 1 } } ################# # Add here needed options like --configfile=... # (read 'man nvram-wakeup' and 'man nvram-wakeup.conf' for more details) $LOGGER -t `basename $0` "$NVRAMCMD --syslog --settime $1" $NVRAMCMD --syslog --settime $1 $LOGGER -t `basename $0` "$*" # if you are going to use the set_timer script instead of nvram-wakeup, # comment out the line above and uncomment the following line. # (read the comments inside the script for more details) # $PATH_TO_SET_TIMER/set_timer $1 $2 case $PIPESTATUS in 0) # all went ok - new date and time set shutdown -h now EXITSTATUS=0 ;; 1) # all went ok - new date and time set. # # *** but we need to reboot. *** # # for some boards this is needed after every change. # # for some other boards, we only need this after changing the # status flag, i.e. from enabled to disabled or the other way. # For plan A - (Plan A is not supported anymore---see README) # # For plan B - (don't forget to install the modified kernel image first) # lilo -R PowerOff shutdown -r now EXITSTATUS=0 ;; 2) # something went wrong # don't do anything - just exit with status 1 EXITSTATUS=1 ;; esac # exit with 0 if everything went ok. # exit with 1 if something went wrong. exit $EXITSTATUS
-
Is vielleicht an meiner nvram-wakeup.conf was nicht in Ordung? Die Datei befindet sich im Verzeichnis /etc.
Code
Display More################################################ ## Mainboard autodetection information: ## ## - Mainboard vendor: "Gigabyte Technology Co., Ltd." ## - Mainboard type: "GA-8SGXLFS" ## - Mainboard revision: "" ## - BIOS vendor: "Award Software International, Inc." ## - BIOS version: "F6" ## - BIOS release: "12/12/2003" need_reboot = ON_ANY_CHANGE addr_stat = 0x32 addr_day = 0x33 addr_hour = 0x34 addr_min = 0x35 addr_sec = 0x36 rtc_day = 0x70 # but differs somewhere else reset_day = ON addr_chk_h = 0x6E addr_chk_l = 0x6F
Die Einträge die da drin warn, bei denen er aber Fehler gemeldet hat hab ich ja rausgelöscht. -
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!