Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: nvram-wakeup & K7S5A
> On Fri, 10 May 2002, Tobias Meyer-Janson (TM) wrote:
> TM> I have a problem configuring the wake-up-settings for my system.
> TM> #define NEED_REBOOT ALWAYS
> TM> #define ADDR_DATE 0X51
> TM> #define SHIFT_DATE 3
> TM> Because of the first setting I have to change something in
> TM> /etc/init.d/boot (Suse 7.3), am I right?
> TM> I found the file nvram-wakeup-0.04b/reboot/suse-7.2.diff but I don't
> TM> know what to do with it.
>
> it's a patch (see README, 9.A)
Yes, but how do I use such a patch? (I have not much Linux experience
yet.)
> but give 9.B a try first, it is a more general, more elegant and an easier
> solution.
Easier? It looks much more complicated to me. What I want to say: I have
no idea how to realize that solution. For example currently I use kernel
2.4.10 for pentium on Suse 7.3. I don't know if I have to expect any
problems using the givven 2.4.17 kernel for 386. Also I don't know what
APM is and if I need it or not. And this are not the only points I do
not understand, so therefore I am asking here for an advise.
> TM> I found that the date is also stored in 0x70 in BCD-Format.
> it's not unusual, you can add
> #define RTC_DATE 0x70
> to the config.
Both, ADDR_DATE and RTC_DATE? Doesn't it interfere with each other,
because of the following points:
- for ADDR_DATE (0x51) there has to be SHIFT_DATE 3 and RESET_DATE OFF,
but for RTC_DATE (0x70) it should be SHIFT_DATE 0 and RESET_DATE ON.
Or does SHIFT_DATE only affect the ADDR_DATE and RESET_DATE only
RTC_DATE?
- 0x70 should be C0 if ADDR_STAT is set to off or ADDR_STAT is set to
every day. (I think the latter is never be used by nvram-wakeup?)
> what was the output of 'guess'?
I did not use guess, but I can mail some xxd /dev/nvram outputs - I
write here at the end of this message an excerpt:
Settings:
- 5., 19:40:00, on -> 05.19.40.00+
- 7., 19:40:00, on -> 07.22.40.00+
- 7., 22:45:58, on -> 07.22.45.58+
- 7., 22:45:58, off -> 07.22.45.58-
# diff 05.19.40.00+ 07.22.40.00+
4c4
< 0000030: 7abf 0000 0000 0000 0000 0000 0000 0000 z...............
---
> 0000030: 7ad2 0000 0000 0000 0000 0000 0000 0000 z...............
6c6
< 0000050: 852a 1328 c048 0100 0000 00a0 6a44 cbaa .*.(.H......jD..
---
> 0000050: 853a 1628 c048 0100 0000 00a0 6a44 cbaa .:.(.H......jD..
8c8
< 0000070: 05c0 ..
---
> 0000070: 07c0 ..
# diff 07.22.45.58+ 07.22.45.58-
4c4
< 0000030: 7b11 0000 0000 0000 0000 0000 0000 0000 {...............
---
> 0000030: 7a91 0000 0000 0000 0000 0000 0000 0000 z...............
6c6
< 0000050: 853a 162d fa48 0100 0000 00a0 6a44 cbaa .:.-.H......jD..
---
> 0000050: 053a 162d fa48 0100 0000 00a0 6a44 cbaa .:.-.H......jD..
8c8
< 0000070: 07c0 ..
---
> 0000070: c0c0 ..
thx4help!
TMJ
Home |
Main Index |
Thread Index