Re: [rtc-linux] Re: rtc_cmos: error after first write to wakealarm

Alessandro Zummo
2007-06-22T17:34:52Z

On Tue, 19 Jun 2007 19:24:29 +0200
Tino Keitel <tino.keitel@gmx.de> wrote:

> > > Where is the documentation that describes that I have to disable it
> > > first, and how to do this? A migration document for
> > > /proc/acpi/alarm users would be nice, too.
> >
> > Well, I guess there is no documentation. Maybe we could add
> > a dev_warn with an explicit message.
>
> Isn't it somewhat ridiculous to plan the removal of a feature for
> several months, and then replace it with something that behaves
> differently without any documentation?
>
> I still wonder how 'cat /sys/class/rtc/rtcX/wakealarm' is expected to
> behave. With 2.6.22-rc5, I get this:
>
> $ echo 1182351177 > /sys/class/rtc/rtc0/wakealarm
> $ cat /sys/class/rtc/rtc0/wakealarm
> 2051644873
>
> There seems to be a constant difference of 869984896 seconds. Is this a
> bug?

I'll have to check that. Sorry for the delay, i've been a bit busy.

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy