Hallo,
langsam komme ich bei meiner Neuinstalltion voran. Aktuell bereitet mir
nvram Probleme. "Damals" unter sarge, vdr 1.4.7 habe ich es mit eurer
Hilfe hinbekommen und nvram läuft problemlos und zuverlässig.
Jetzt steige ich allmählich auf Lenny und vdr-devel 1.7.8 um.
nvram habe ich installiert (mehr Infos Signatur). Die relevanten
*nvram*.conf Dateien habe ich aus der alten Installation übernommen.
Wobei ich da eine nach /etc/vdrdevel/vdrdevel-nvram-wakeup.conf kopiert habe.
nvram wird beim beenden ausgeführt - lediglich geschieht danach nichts mehr.
Der Vorgang wiederholt sich alle fünf Minuten.
syslog (das hier als Beispiel - auch bei Timer die weiter in der Zukunft liegen klappt es nicht...)
Jul 22 13:02:14 vdr vdrdevel-shutdown: executing /usr/share/vdrdevel/shutdown-hooks/S90.nvram-wakeup as shell script
Jul 22 13:02:14 vdr vdr-nvram-wakeup: /usr/sbin/nvram-wakeup -ls 1248261600 -C /etc/nvram-wakeup.conf --directisa
Jul 22 13:02:14 vdr nvram-wakeup[3578]:
Jul 22 13:02:14 vdr nvram-wakeup[3578]: All values are displayed as they are stored in the nvram/rtc.
Jul 22 13:02:14 vdr nvram-wakeup[3578]: (and do not correspond necessarily to the system date/time)
Jul 22 13:02:14 vdr nvram-wakeup[3578]:
Jul 22 13:02:14 vdr nvram-wakeup[3578]: WakeUp : Enabled (0xED)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Day : 22 (0xED)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Hour : 14 (0x4E)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Minute : 00 (0xC0)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Second : 00 (0xC0)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Checksum: 0x23D0
Jul 22 13:02:14 vdr nvram-wakeup[3578]:
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Enabling (0xED) WakeUp-on-RTC in nvram.
Jul 22 13:02:14 vdr nvram-wakeup[3578]: New Day : 22 (0xED)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: New Hour : 11 (0x4B)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: New Minute : 15 (0xCF)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: New Second : 00 (0xC0)
Jul 22 13:02:14 vdr nvram-wakeup[3578]: New Checksum: 0x23DC
Jul 22 13:02:14 vdr nvram-wakeup[3578]:
Jul 22 13:02:14 vdr nvram-wakeup[3578]: Now really WRITING into /dev/nvram...
.
.
.
Jul 22 13:07:38 vdr vdrdevel-shutdown: executing /usr/share/vdrdevel/shutdown-hooks/S90.custom as shell script
Jul 22 13:07:38 vdr vdrdevel-shutdown: executing /usr/share/vdrdevel/shutdown-hooks/S90.nvram-wakeup as shell script
Jul 22 13:07:38 vdr vdr-nvram-wakeup: /usr/sbin/nvram-wakeup -ls 1248262380 -C /etc/nvram-wakeup.conf --directisa
Jul 22 13:07:38 vdr nvram-wakeup[3662]:
Jul 22 13:07:38 vdr nvram-wakeup[3662]: All values are displayed as they are stored in the nvram/rtc.
Jul 22 13:07:38 vdr nvram-wakeup[3662]: (and do not correspond necessarily to the system date/time)
Jul 22 13:07:38 vdr nvram-wakeup[3662]:
Jul 22 13:07:38 vdr nvram-wakeup[3662]: WakeUp : Enabled (0xED)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Day : 22 (0xED)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Hour : 11 (0x4B)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Minute : 15 (0xCF)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Second : 00 (0xC0)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Checksum: 0x23DC
Jul 22 13:07:38 vdr nvram-wakeup[3662]:
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Enabling (0xED) WakeUp-on-RTC in nvram.
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Day : 22 (0xED)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Hour : 11 (0x4B)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Day : 22 (0xED)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Hour : 11 (0x4B)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Minute : 28 (0xDC)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Second : 00 (0xC0)
Jul 22 13:07:38 vdr nvram-wakeup[3662]: New Checksum: 0x23E9
Jul 22 13:07:38 vdr nvram-wakeup[3662]:
Jul 22 13:07:38 vdr nvram-wakeup[3662]: Now really WRITING into /dev/nvram...
Jul 22 13:07:38 vdr nvram-wakeup[3662]: The changes to take effect, you must reboot your computer now.
Jul 22 13:07:38 vdr nvram-wakeup[3662]:
Jul 22 13:07:38 vdr vdr-nvram-wakeup: nvram-wakeup: everything ok - need to reboot first
Display More
Readme habe ich beachtet:
First of all you need a recent 2.4 kernel (2.4.6 or newer) with the
/dev/nvram and /dev/rtc drivers enabled (in the kernel or as
modules and in latter case the modules to be loaded.
NOTE for Kernels 2.6.x: You must enable "Enhanced RTC support". the
"generic /dev/rtc" is not enough.
Since release 0.95 of nvram-wakeup the device /dev/nvram isn't
necessary if run with --directisa option. But read the warning in
the man page.
If the character devices /dev/nvram, /dev/rtc or /dev/mem do not
exist on your system, you can create them (as root) with:
mknod /dev/nvram c 10 144
mknod /dev/rtc c 10 135
mknod /dev/mem c 1 1
or just (also as root)
make devices
in nvram-wakeup directory.
Display More
Der Tobi-Kernel (2.6.28-etobi.3-486) hat doch alles Relevante eingebaut, oder?
modprobe nvram hatte ich durchgeführt - leider ohne Erfolg.
Fehlt mir da "Enhanced RTC support"? Hier die config:
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
Display More
Grüße
tivi2