[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200607151240.51192.david-b@pacbell.net>
Date: Sat, 15 Jul 2006 12:40:51 -0700
From: David Brownell <david-b@...bell.net>
To: Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: [patch 2.6.18-rc1-git] rtc-acpi, with wakeup support
The new RTC framework hasn't been very usable on most x86 desktop
PCs ... so here's a driver using the ACPI RTC and PNPACPI. AFAICT
it could mostly replace drivers/char/rtc.c on ACPI systems.
One of the goals here was to expose this RTC as a normal wakeup
event source ... no /proc/acpi/alarm thing, just the same userspace
interfaces as on non-ACPI RTCs, and non-RTC devices. That works
somewhat ... for the very first time, I've seen ACPI wakeup behave!
But ACPI doesn't always behave after hardware wakeup events, so
echo disabled > /sys/class/rtc/rtc0/device/power/wakeup
may be appropriate on the systems where it doesn't yet work.
- Dave
p.s. A followup message will include a userspace program which
makes it easier to try the RTC wakeup mechanism.
View attachment "rtc.patch" of type "text/x-diff" (18775 bytes)
Powered by blists - more mailing lists