Re: RTC wakealarm write-only, still has 644 permissions

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: <rtc-linux@...>, kernel list <linux-kernel@...>, Alessandro Zummo <alessandro.zummo@...>
Date: Friday, November 30, 2007 - 5:10 pm

On Friday 30 November 2007, Pavel Machek wrote:

Having three interfaces is bad enough ... ensuring that none of
them can ever be used safely would be stupid.



I had earlier pointed out a different issue, whereby "oneshot"
semantics weren't consistently followed.  I've been working on
some patches to address that.  The ACPI bits still need work,
but I'll forward one part soonish.



    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's the issue addressed by those patches.  (Specific to rtc-cmos,
not to RTCs on saner hardware.)



Pray tell, *HOW* could it arbitrate?



Yeah, what ever happened to timerfd?  :)



There's the "rtcwake" thing.  That got merged into util-linux-ng, but
I happened to notice its setup_alarm() is calling gmtime() instead
of localtime() ... my suspicion is that the uClibc version I was using
had some timezone bugs, or else there's some other bug lurking in the
vicinity of dual-bootiness.

Note that "wakealarm" is not intende to be a "timed sleep" interface
at all ... it's just to set the wakealarm.  Something else is in charge
of putting the system to sleep, such as "echo mem > /sys/power/state"
or some GUI thing hooked up to logic that knows about how to make frame
buffers recover.

- Dave
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RTC wakealarm write-only, still has 644 permissions, Pavel Machek, (Thu Sep 20, 6:32 am)
Re: RTC wakealarm write-only, still has 644 permissions, Pavel Machek, (Thu Sep 20, 6:50 am)
Re: RTC wakealarm write-only, still has 644 permissions, David Brownell, (Sat Sep 22, 1:38 am)
Re: RTC wakealarm write-only, still has 644 permissions, Pavel Machek, (Wed Nov 28, 7:26 pm)
Re: RTC wakealarm write-only, still has 644 permissions, David Brownell, (Thu Nov 29, 2:10 pm)
Re: RTC wakealarm write-only, still has 644 permissions, Pavel Machek, (Fri Nov 30, 4:35 pm)
Re: RTC wakealarm write-only, still has 644 permissions, David Brownell, (Fri Nov 30, 5:10 pm)
Re: RTC wakealarm write-only, still has 644 permissions, David Brownell, (Sun Dec 2, 12:03 pm)
Re: RTC wakealarm write-only, still has 644 permissions, Pavel Machek, (Fri Nov 30, 5:27 pm)
Re: RTC wakealarm write-only, still has 644 permissions, Alessandro Zummo, (Thu Nov 29, 2:14 pm)
Re: RTC wakealarm write-only, still has 644 permissions, David Brownell, (Tue Oct 2, 10:15 pm)