Bug#484929: understanding rtc_min in /etc/nvram-wakeup.conf

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Mar 12 00:15:29 UTC 2009


Petter wrote:

> The resulting nvram-wakeup.conf file generated by guess-helper do not
> work.  I get a syntax error message regarding line 13, which contain
> "rtc_min = 0x40 # but differs somewhere else".  Not quite sure how to
> recover from that one.

My understanding from nvram-wakeup.conf(5) is that rtc_min is supposed
to be identical to addr_min, except that it indicates it's BCD-encoded
instead of straight byte-encoded.

That is, if you set the minutes to 14, byte 0x40 will probably contain
0x14 instead of 0x0e.

i'm seeing this same behavior in 0.97-15, unfortunately.  weird that
rtc_min is considered a syntax error, but rtc_day is accepted and parsed
fine.

if you replace rtc_min with addr_min, the configuration file should work
(though nvram-wakeup will misinterpret the value of the byte).

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vdr-dvb-devel/attachments/20090311/046aa0e3/attachment.pgp 


More information about the pkg-vdr-dvb-devel mailing list