acpi alarm is gone and rtc wakealarm does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running FC6 on an ASUS A6U series laptop. I have been using
/proc/acpi/alarm to suspend it and resume at a particular time, so it
can be used as an alarm clock and pump radio 4 into the bedroom.

Over the weekend I updated to the latest kernel, 2.6.22. In this
kernel /proc/acpi/alarm is gone. Googling for it I found that it was
considered legacy and removed in this kernel, replaced by
/sys/class/rtc/rtc0/wakealarm, which uses a different format, but is
supposed to do the same job. Except it doesn't on my laptop.

What little documentation there is for this says that it should take
the seconds since the epoch (e.g the result of date -d "+10 minutes"
+%s). This is silently rejected.

I found a program called rtcwake posted on the lkml mailing list..
This has a test mode which works, i.e. it sets a value into wakealarm
and then continues after the alarm expires. The value set is much
larger than the  number of seconds. Someone else saw "a constant
difference of 869984896 seconds" on their system. My difference is
also constant, but different to this (sorry I didn't write it down and
the laptop is not with me).

rtcwake sets the wakealarm value and sets the hibernate state (mem,
disk or standby) but the machine never tries to wake up.

Does anyone have any suggestions to make this work again - using the
rtc or any other mechanism? For the time being I've rolled back to
2.6.20, but I'd like to be able to update to F8 and beyond eventually.

Thanks for any help.


Chris

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux