Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

Len Brown
2007-01-25T04:17:48Z

On Wednesday 10 January 2007 15:53, David Brownell wrote:
> On Monday 08 January 2007 3:40 am, Zhang Rui wrote:
> >
> > if /sys/class/rtc/rtcN/alarm can provide the same function, it's great
> > and I'll drop patch#03. I'll also mark /proc/acpi/alarm as deprecated if
> > David's patches are merged. :)
>
> One help there would be someone from the ACPI team signing off on
> patch #3 of the series I sent, which teaches ACPI how to export the
> extra registers to the rtc-cmos driver.

done.

> There will be another ACPI patch at some point, actually kicking
> in hooks needed to handle system wakeup, but getting the PC into
> the RTC class framework is an important first step.
>
> Once there's a proper replacement for /proc/acpi/alarm it becomes
> a candidate for removal. Maybe sooner rather than later, unless
> some users for that old file turn up...

Sometimes that file's syntax is useful -- wake up at 7:00,
but those testing suspend-resume want to wake up 1 minute in the future
now mater what time it is...