Hallo!
Ich möchte die Wake-Up-Platine mit der Software v1.5 auf meinem VDR nutzen. Die Platine habe ich mir über k-data besorgt, die Software von jepsennet.de gezogen. Installation (Kopie der Dateien mit Anpassungen an der vdr-addon-hw-wakeup.conf) auf meinem vdr habe ich soweit vorgenommen.
Da der WakeUp (derzeit wohl aus verschiedenen Gründen) 'noch auf sich warten läßt' habe ich mal sh -x s90.wake* probiert und folgende Ausgabe erhalten:
Code
+ '[' -e /etc/vdr/vdr-addon-hw-wakeup.conf ']'
+ . /etc/vdr/vdr-addon-hw-wakeup.conf
++ ENABLED=yes
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 3: : command not found
++ WAKEUP_PORT=/dev/ttyS0
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 6: : command not found
++ KILL_LIRC=no
++ KILL_LCDD=no
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 10: : command not found
++ MIN_PRE_TIMER=5
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 13: : command not found
++ MAX_POWEROFF_TIME=1440
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 19: : command not found
++ DAILY_TIMER_STD=2
++ DAILY_TIMER_MIN=30
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 24: : command not found
++ EPG_STARTMIN=5
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 27: : command not found
++ EPG_WAIT_BEFORE_START=30
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 31: : command not found
++ EPG_MAX_CHANNEL=59
++ $'\r'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 34: : command not found
++ EPG_TIME_PER_CHANNEL=20
+ '[' -z $'yes\r' ']'
+ '[' -z $'/dev/ttyS0\r' ']'
+ '[' -z $'no\r' ']'
+ '[' -z $'no\r' ']'
+ '[' -z $'5\r' ']'
+ '[' -z $'1440\r' ']'
+ '[' -z '' ']'
+ export MAX_TRY_AGAIN=0
+ MAX_TRY_AGAIN=0
+ NEVER=2147483647
+ '[' 0 -gt 0 ']'
+ '[' $'yes\r' = no ']'
++ date +%s
+ NOW=1107719442
+ '[' -z ']'
+ NEXTTIMER=2147483647
+ '[' -z $'2\r' ']'
+ '[' -z $'30\r' ']'
++ date +%m/%d/%Y
+ TODAY=02/06/2005
++ date -d '02/06/2005 2:30' +%s
+ NEXTDAILYTIMER=1107653400
+ '[' 1107719442 -gt 1107653400 ']'
++ expr 1107653400 + 86400
+ NEXTDAILYTIMER=1107739800
+ '[' $'1440\r' -eq 0 ']'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 77: [: 1440: integer expression expected
++ expr 1107719442 + $'1440\r' '*' 60
expr: non-numeric argument
+ WAKEUPTIME=
+ '[' -gt 2147483647 ']'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 86: [: -gt: unary operator expected
+ '[' -gt 1107739800 ']'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 90: [: -gt: unary operator expected
+ '[' -eq 2147483647 ']'
/usr/share/vdr/shutdown-hooks/s90.wakeup-module.sh: line 97: [: -eq: unary operator expected
++ date -d '1970-01-01 seconds UTC' +%H%M%d%m
+ WAKEUPSTR=01000101
++ date +%H%M%S%d%m%y%w
+ TIMESTR=2050420602050
+ '[' $'no\r' = yes ']'
+ '[' $'no\r' = yes ']'
+ logger -t vdr-addon-hw-wakeup 'echo ATS01000101 > /dev/ttyS0'
+ echo ATS01000101
+ logger -t vdr-addon-hw-wakeup 'echo RTS2050420602050 > /dev/ttyS0'
+ echo RTS2050420602050
+ EXITCODE=0
Alles anzeigen
Was führt zu den Fehlermeldungen? Kann mir jemand sagen was ich verkehrt gemacht haben könnte?
Für Hilfe dankbar!
Gruss
Andreas