Hi,
ich verwende zur Zeit,
c't VDR: 1.3.32-1
Kernel : 2.4.27-ctvdr-1
bisher habe ich den VDR einfach den ganzen Tag laufen lassen, da ich das Wakeup nicht hinbekommen habe. Da der VDR aber zu 90% nichts zu tun hat, will ich dieser herben Stromverschwendung zu leibe rücken.
Ich habe bereits die richtige NVRAM.Conf dank Bistro-Math.
Jedoch weiß ich leider nicht, wie ich die Shutdown-Skripte beim VDR anpassen muß, und ob ich einen Reboot brauche.
Einige hier im Forum sagen ja, andere nein.
Brauche ich ausserdem noch das Set_Timer Skript?
Wäre super, wenn mir ein User, der es bei sich am laufen hat, seine Vorgehensweise schildern könnte.
Hier meine NVRAM.conf
***************************************************
NVRAM.conf:
################################################
## Mainboard autodetection information:
##
## - Mainboard vendor: "ASUSTeK Computer INC."
## - Mainboard type: "P4P800-VM"
## - Mainboard revision: "Rev 1.xx"
## - BIOS vendor: "American Megatrends Inc."
## - BIOS version: "1012.002"
## - BIOS release: "03/22/2004"
addr_stat = 0x98
shift_stat = 4
addr_day = 0x99
addr_hour = 0x9A
addr_min = 0x9B
addr_sec = 0x9C
addr_chk_h = 0x30
addr_chk_l = 0x31
upper_method = INTEL
***************************************************
Ich habe bisher diese Datei angepasst, damit ein reboot gemacht wird.
/etc/vdr/vdr-nvram-wakeup.conf
***************************************************
/etc/vdr/vdr-nvram-wakeup.conf:
#
# Configuration file for the VDR nvram-wakeup shutdown hook
#
# This is NOT the nvram-wakeup configuration file, which you can find in
# /etc/nvram-wakeup.conf and which must be set in COMMANDLINE (see below),
# if your mainboard ins not detected automatically.
#
# Set to "yes" to enable nvram-wakeup for VDR
#
ENABLED="yes"
# Here you can specify additional command line parameters, that will be passed
# to nvram-wakeup.
#
# i.e.:
# COMMANDLINE="-I ecs_k7s5au" # mainboard of type K7S5au
# COMMANDLINE="-C /etc/nvram-wakeup.conf --directisa" # use config file
#
# see "man nvram-wakeup"
#
COMMANDLINE="-C /etc/nvram-wakeup.conf --directisa"
# If your mainboard needs to reboot before shutting down, set the command(s) to
# do this here. i.e.:
#
SPECIALSHUTDOWN="lilo -R PowerOff ; shutdown -r now"#
#SPECIALSHUTDOWN=""
# If you want your VDR machine to wakeup in regular intervals (i.e. for
# updating EPG data), specify a day interval and a wakeup time:
#
REGULAR_DAYS=0 # 0=disabled, 1=each day, 2=each 2'nd day, 3=...
REGULAR_TIME=01:00 # HH:MM
***************************************************
Dafür habe ich dann einfach einen Booteintrag im lilo kopiert und in Poweroff genannt und folgendes angehängt.
lilo.conf
***************************************************
lilo.conf:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# /dev/hda2 is the root partition
# "/dev/hda" is the partition or disk for the boot record
lba32
compact
# bootable partition ( containing /boot )
boot="/dev/hda"
# Lilo boot menu
install=/boot/boot-bmp.b
bitmap = /boot/boot-logo.bmp
bmp-colors=6,0,0,15,6,0
bmp-table=210p,90p,1,15,17
bmp-timer=390p,170p,6,1,15
map=/boot/map
prompt
timeout = 100
delay = 0
vga=normal
image = /boot/vmlinuz
label = Linux
root = /dev/hda2
initrd = /boot/initrd.img
append = "apm=power-off noapic acpi=on"
read-only
image = /boot/vmlinuz
label = Linux_acpion
root = /dev/hda2
initrd = /boot/initrd.img
append = "acpi=on"
read-only
image = /boot/vmlinuz
label = Poweroff
root = /dev/hda2
initrd = /boot/initrd.img
append = "0"
read-only
image = /boot/memtest86.bin
label = Speichertest
***************************************************
Bisher hatte ich leider keinen Erfolg.
Laut syslog werden die Werte in den NVRAM geschrieben, aber die Kiste wacht leider nicht auf und verschläft munter alle Aufnahmen.
Brauche ich vielleicht einen sog. Poweroff Kernel?
Danke für Eure Hilfe...
LG Squaregarden