Hi mal meine Frage hier mit rein schreib.
Wie bekommt man nvram bei einem ASROCK K7VM4 zum laufen muss man da irgend welche Dateien einfügen oder so? weil unter dem debug befehl wirds als nicht supported ausgegeben, bitte um Hilfe
Hi mal meine Frage hier mit rein schreib.
Wie bekommt man nvram bei einem ASROCK K7VM4 zum laufen muss man da irgend welche Dateien einfügen oder so? weil unter dem debug befehl wirds als nicht supported ausgegeben, bitte um Hilfe
einfach "k7vm4 nvram" in eingeben, da kommt schon ein bisserl was
Hallo,
ich hab immer noch Probleme mit nvram-wakeup und zwar, habe ich ein ASROCK K7VM4 und die nvram-wakeup ins /etc/lib Verzeichnis kopiert. Damit kam die Meldung das es unterstützt wird. dann habe ich die datei mal ausgeführt und da sagte er mir das es enabled ist das nvram. Wenn ich nun aber einen Timer setze schaltet sich dieser nicht ein. Woran liegt das? Muss ich woanders noch was verändern? Hab da mal was von VDRshutdown gelesen das da was angepasst werden muss. Nur weiß ich nicht was. Kann mir mal bitte jemand weiter helfen??
Danke, aber das hilft mir nicht wirklich weiter, muss ich vdrshutdown erstellen oder so oder wie, keine Ahnung...
Tut mir leid, bei deiner "Fehlerbeschreibung" fällt mir nicht mehr ein.
Die vdrshutdown sollte vorhanden sein, afaik; es gibt auch noch ne shutdownvdr, aber das haste sicherlich schon gelesen.
Ansonsten fällt mir nur noch http://home.t-online.de/home/hubertus.sandmann/ ein.
ZitatOriginal von fighter 01
Danke, aber das hilft mir nicht wirklich weiter, muss ich vdrshutdown erstellen oder so oder wie, keine Ahnung...
was genau passiert denn, wenn du nvram-wakeup ausfuehrst?
Das Skript vdrshutdown benoetigst du nur fuer das Zusammenspiel mit VDR.
Du solltest aber erst nvram-wakeup zum laufen bringen.
MiniVDR:~# nvram-wakeup
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Enabled (0x10)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 01 (0x01)
Checksum: 0x9A8E
Alles anzeigen
das kommt dann...
MiniVDR:~# nvram-wakeup --debug
nvram-wakeup: Printing debug messages enbled.
nvram-wakeup: $Id: nvram-wakeup.h,v 1.30 2004/02/06 23:54:44 bistr-o-math Exp $
nvram-wakeup: $Id: nvram-wakeup.c,v 1.65 2004/02/06 23:54:17 bistr-o-math Exp $
nvram-wakeup: Opening /dev/mem in O_RDONLY mode...
nvram-wakeup: _DMI_ table found: base: 0xF0630, size: 0x39B, count: 28
nvram-wakeup: data block 1 at offset 0x000: type 0, size 0x014 ( 20)
nvram-wakeup: found string "American Megatrends Inc."
nvram-wakeup: found string "P2.30"
nvram-wakeup: found string "12/30/2003"
nvram-wakeup: data block 2 at offset 0x03F: type 1, size 0x019 ( 25)
nvram-wakeup: data block 3 at offset 0x076: type 2, size 0x008 ( 8)
nvram-wakeup: found string ""
nvram-wakeup: found string "K7VM4"
nvram-wakeup: found string "1.00"
nvram-wakeup: data block 4 at offset 0x09C: type 3, size 0x011 ( 17)
nvram-wakeup: data block 5 at offset 0x0CE: type 4, size 0x020 ( 32)
nvram-wakeup: data block 6 at offset 0x15A: type 7, size 0x013 ( 19)
nvram-wakeup: data block 7 at offset 0x17D: type 7, size 0x013 ( 19)
nvram-wakeup: data block 8 at offset 0x1A0: type 5, size 0x014 ( 20)
nvram-wakeup: data block 9 at offset 0x1B6: type 6, size 0x00C ( 12)
nvram-wakeup: data block 10 at offset 0x1C9: type 6, size 0x00C ( 12)
nvram-wakeup: data block 11 at offset 0x1DC: type 9, size 0x00D ( 13)
nvram-wakeup: data block 12 at offset 0x1EF: type 9, size 0x00D ( 13)
nvram-wakeup: data block 13 at offset 0x202: type 9, size 0x00D ( 13)
nvram-wakeup: data block 14 at offset 0x215: type 8, size 0x009 ( 9)
nvram-wakeup: data block 15 at offset 0x239: type 8, size 0x009 ( 9)
nvram-wakeup: data block 16 at offset 0x257: type 8, size 0x009 ( 9)
nvram-wakeup: data block 17 at offset 0x26E: type 8, size 0x009 ( 9)
nvram-wakeup: data block 18 at offset 0x285: type 8, size 0x009 ( 9)
nvram-wakeup: data block 19 at offset 0x29E: type 8, size 0x009 ( 9)
nvram-wakeup: data block 20 at offset 0x2B7: type 8, size 0x009 ( 9)
nvram-wakeup: data block 21 at offset 0x2D1: type 8, size 0x009 ( 9)
nvram-wakeup: data block 22 at offset 0x2EB: type 8, size 0x009 ( 9)
nvram-wakeup: data block 23 at offset 0x307: type 8, size 0x009 ( 9)
nvram-wakeup: data block 24 at offset 0x323: type 8, size 0x009 ( 9)
nvram-wakeup: data block 25 at offset 0x33D: type 8, size 0x009 ( 9)
nvram-wakeup: data block 26 at offset 0x35D: type 8, size 0x009 ( 9)
nvram-wakeup: data block 27 at offset 0x376: type 13, size 0x016 ( 22)
nvram-wakeup: data block 28 at offset 0x395: type 127, size 0x004 ( 4)
nvram-wakeup: Following DMI entries found:
nvram-wakeup: - Mainboard vendor: ""
nvram-wakeup: - Mainboard type: "K7VM4"
nvram-wakeup: - Mainboard revision: "1.00"
nvram-wakeup: - BIOS vendor: "American Megatrends Inc."
nvram-wakeup: - BIOS version: "P2.30"
nvram-wakeup: - BIOS release: "12/30/2003"
nvram-wakeup: Using following bios info:
nvram-wakeup: need_reboot = -1
nvram-wakeup: addr_chk_h = 0x30
nvram-wakeup: addr_chk_l = 0x31
nvram-wakeup: addr_chk_h2 = 0x00
nvram-wakeup: addr_chk_l2 = 0x00
nvram-wakeup: addr_stat = 0x56
nvram-wakeup: addr_mon = 0x00
nvram-wakeup: addr_day = 0x57
nvram-wakeup: addr_wdays = 0x00
nvram-wakeup: addr_hour = 0x58
nvram-wakeup: addr_min = 0x59
nvram-wakeup: addr_sec = 0x5A
nvram-wakeup: shift_stat = 4
nvram-wakeup: shift_mon = 0
nvram-wakeup: shift_day = 0
nvram-wakeup: shift_wdays = 0
nvram-wakeup: shift_hour = 0
nvram-wakeup: shift_min = 0
nvram-wakeup: shift_sec = 0
nvram-wakeup: rtc_time = 0
nvram-wakeup: rtc_day = 0x6F
nvram-wakeup: rtc_mon = 0x00
nvram-wakeup: rtc_day_0_is_c0 = 0
nvram-wakeup: rtc_mon_0_is_c0 = 0
nvram-wakeup: reset_day = 1
nvram-wakeup: reset_mon = 0
nvram-wakeup: nr_stat = 1
nvram-wakeup: nr_mon = 4
nvram-wakeup: nr_day = 5
nvram-wakeup: nr_hour = 5
nvram-wakeup: nr_min = 6
nvram-wakeup: nr_sec = 6
nvram-wakeup: nr_rtc_day = 6
nvram-wakeup: nr_rtc_mon = 5
nvram-wakeup: nr_wdays = 7
nvram-wakeup: bcd = 0
nvram-wakeup: day_no_chk = 0
nvram-wakeup: day_hack = 0
nvram-wakeup: upper_method = 0
nvram-wakeup: Opening /dev/rtc in O_RDONLY mode...
nvram-wakeup: Hardware clock: 2004-08-03 00:41:08
nvram-wakeup: rtc.tm_isdst : 1
nvram-wakeup: rtc.tm_gmtoff: 7200
nvram-wakeup: diff : 2
nvram-wakeup: RTC is running in localtime!
nvram-wakeup: Test (this should be the current time of the hardware clock): Tue Aug 3 00:41:10 2004
nvram-wakeup: Opening /dev/nvram in O_RDONLY mode...
nvram-wakeup: The size of NVRAM is 114 bytes.
nvram-wakeup: 0000000: 0000 008F F0C0 0E80 02FF FF2F 00FD 9910
nvram-wakeup: 0000010: 0000 FF00 0000 0000 0000 0040 6F4C 6D4C
nvram-wakeup: 0000020: 0955 FFFF 20FF 3FF0 0BF0 0000 0000 0000
nvram-wakeup: 0000030: 9A8E 0000 0000 0000 0000 0000 0000 0000
nvram-wakeup: 0000040: 0000 0000 48A6 0000 C001 C040 4000 1010
nvram-wakeup: 0000050: 0018 D864 2E04 10E1 0080 0081 0000 0000
nvram-wakeup: 0000060: 4ACB 8350 0540 0000 0040 9060 FF00 FF01
nvram-wakeup: 0000070: 0020
nvram-wakeup: value of the addr_stat byte is: 0x10.
nvram-wakeup: value of the addr_day byte is: 0xE1.
nvram-wakeup: value of the addr_hour byte is: 0x00.
nvram-wakeup: value of the addr_min byte is: 0x80.
nvram-wakeup: value of the addr_sec byte is: 0x00.
nvram-wakeup: value of the rtc_day byte is: 0x01.
nvram-wakeup: value of the addr_chk_h byte is: 0x9A.
nvram-wakeup: value of the addr_chk_l byte is: 0x8E.
nvram-wakeup: Checksum is: 0x9A8E.
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Enabled (0x10)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 01 (0x01)
Checksum: 0x9A8E
Alles anzeigen
ZitatOriginal von fighter 01
Hi mal meine Frage hier mit rein schreib.
Wie bekommt man nvram bei einem ASROCK K7VM4 zum laufen muss man da irgend welche Dateien einfügen oder so?
weil unter dem debug befehl wirds als nicht supported ausgegeben, bitte um Hilfe
ZitatOriginal von fighter 01
es funktioniert doch. Was ist denn das Problem?
ich hab die nvram-wakeup von jemanden bekommen für das board. Nun, wenn ich einen timer setzte wird er nicht ins bios geschrieben..
Bei anderen lkese ich was von nvram-wakeup.conf und man muss den vdrshutdown anpassen usw. deswegen versteh ich das noch nicht..
bevor du nvram-wakeup ins VDR integrierst (vdrshutdown usw.) musst du
nvram-wakeup erst selbst zum laufen bringen.
ZitatNun, wenn ich einen timer setzte wird er nicht ins bios geschrieben.
versuch mal sowas wie
Was ist die Ausgabe von nvram-wakeup?
dann boote und geh ins BIOS. Was steht dort als Aufwachzeitpunkt?
IUch werds zu hause probieren und berichten
MiniVDR:~# nvram-wakeup -s date +%s -d "Aug 3 14:30"
nvram-wakeup: "date" is not a number
Usage: nvram-wakeup [OPTIONS]
-s, --settime Set the given wakeup date/time (given as a time_t value).
-d, --disable Disable WakeUp. Equivalent to --settime=0.
-C, --configfile Read board configuration from specified configuration file.
-I, --iwname Specify the IW (infowriter) name.
-A, --directisa Use direct ISA access to read/write nvram instead of /dev/nv
ram.
-N, --nowrite Don't write any values (in /dev/nvram or /dev/rtc). For test
ing.
-D, --debug Enable printing debug messages.
-l, --syslog Log all output via syslogd instead of stdout/stderr.
-v, --version Print version information.
-h, --help Print this message (always to stderr, regardless of --syslog
).
All specified wakeup times are times at which the PC should be up and running.
MiniVDR:~# nvram-wakeup -d
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Enabled (0x10)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 01 (0x01)
Checksum: 0x9A8E
Disabling (0x00) WakeUp-on-RTC in nvram.
New RtcDay : 00 (0x00)
New Checksum: 0x9A7E
Now really WRITING into /dev/nvram...
The changes to take effect, you must reboot your computer now.
MiniVDR:~# nvram-wakeup
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Disabled (0x00)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 00 (0x00)
Checksum: 0x9A7E
MiniVDR:~# nvram-wakeup -s
nvram-wakeup: option requires an argument -- s
Usage: nvram-wakeup [OPTIONS]
-s, --settime Set the given wakeup date/time (given as a time_t value).
-d, --disable Disable WakeUp. Equivalent to --settime=0.
-C, --configfile Read board configuration from specified configuration file.
-I, --iwname Specify the IW (infowriter) name.
-A, --directisa Use direct ISA access to read/write nvram instead of /dev/nv
ram.
-N, --nowrite Don't write any values (in /dev/nvram or /dev/rtc). For test
ing.
-D, --debug Enable printing debug messages.
-l, --syslog Log all output via syslogd instead of stdout/stderr.
-v, --version Print version information.
-h, --help Print this message (always to stderr, regardless of --syslog
).
All specified wakeup times are times at which the PC should be up and running.
MiniVDR:~# nvram-wakeup -s `date +%s -d "Aug 3 14:30"`
date: invalid date `Aug 3 14:30'
nvram-wakeup: option requires an argument -- s
Usage: nvram-wakeup [OPTIONS]
-s, --settime Set the given wakeup date/time (given as a time_t value).
-d, --disable Disable WakeUp. Equivalent to --settime=0.
-C, --configfile Read board configuration from specified configuration file.
-I, --iwname Specify the IW (infowriter) name.
-A, --directisa Use direct ISA access to read/write nvram instead of /dev/nv
ram.
-N, --nowrite Don't write any values (in /dev/nvram or /dev/rtc). For test
ing.
-D, --debug Enable printing debug messages.
-l, --syslog Log all output via syslogd instead of stdout/stderr.
-v, --version Print version information.
-h, --help Print this message (always to stderr, regardless of --syslog
).
All specified wakeup times are times at which the PC should be up and running.
MiniVDR:~# nvram-wakeup -s $((`date +%s` + 1200))
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Disabled (0x00)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 00 (0x00)
Checksum: 0x9A7E
Enabling (0x10) WakeUp-on-RTC in nvram.
New Day : 03 (0xE3)
New Hour : 18 (0x12)
New Minute : 02 (0x82)
New Second : 07 (0x07)
New RtcDay : 03 (0x03)
New Checksum: 0x9AAB
Now really WRITING into /dev/nvram...
The changes to take effect, you must reboot your computer now.
Alles anzeigen
was sagt mir das jetzt?
hier fehlen die rueckwertigen quotes.
hier ist es richtig, aber deine Version von date scheint das Format "Aug 3 14:30" fuer
das Datum nicht zu akzeptieren.
MiniVDR:~# nvram-wakeup -s $((`date +%s` + 1200))
All values are displayed as they are stored in the nvram/rtc.
(and do not correspond necessarily to the system date/time)
WakeUp : Disabled (0x00)
Day : 01 (0xE1)
Hour : 00 (0x00)
Minute : 00 (0x80)
Second : 00 (0x00)
RtcDay : 00 (0x00)
Checksum: 0x9A7E
Enabling (0x10) WakeUp-on-RTC in nvram.
New Day : 03 (0xE3)
New Hour : 18 (0x12)
New Minute : 02 (0x82)
New Second : 07 (0x07)
New RtcDay : 03 (0x03)
New Checksum: 0x9AAB
Now really WRITING into /dev/nvram...
The changes to take effect, you must reboot your computer now.
Alles anzeigen
das ist gut. geh ins BIOS und schau nach, ob dort nun fuer den Wakeup der Tag 03
steht und die Uhrzeit 18:02:37
Also soll ich es mit der 2. Zeile probieren? Oder wie kann man raus bekommen, was akzeptiert wird? Wenn man einen Timer programmiert sollte im BIOS Wakeup enabled or disabled sein?
Gruß und schon mal Danke
ZitatOriginal von fighter 01
Also soll ich es mit der 2. Zeile probieren? Oder wie kann man raus bekommen, was akzeptiert wird? Wenn man einen Timer programmiert
das ist erstmal nur ein Test, ob alles funktioniert. unabhaengig von VDR oder Timern.
lass einfach
laufen, schreib die Werte ab, die nvram-wakeup meint gesetzt zu haben, geh ins BIOS
und schau nach, ob diese Werte gesetzt wurden.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!