[fedora-arm] CONFIG_PM_WAKELOCKS

Peter Robinson pbrobinson at gmail.com
Tue May 21 14:41:20 UTC 2013


On Tue, May 21, 2013 at 12:32 AM, John Brier <jbrier at redhat.com> wrote:
> On 05/20/2013 06:49 PM, Peter Robinson wrote:
>> On Mon, May 20, 2013 at 10:01 PM, John Brier <jbrier at redhat.com> wrote:
>>> I'm on 3.6.10-8.fc18.armv7hl.highbank, though I see the same
>>> configuration on 3.9.2-200.fc18.armv7hl
>>>
>>> I can't suspend using rtcwake and it seems it's because this kernel
>>> config option is disabled
>>>
>>> # rtcwake -m $state -t `date -u -d "+ $SLEEP_TIME minutes" '+%s'`
>>> rtcwake: cannot open /sys/class/rtc/rtc0/device/power/wakeup: No such
>>> file or directory
>>> rtcwake: /dev/rtc0 not enabled for wakeup events
>>>
>>> Do I understand it correctly and if so can it be enabled?
>>
>> It's not enable on the mainline Fedora kernel and for non ARM specific
>> feature we inherit from the config-generic to ensure a consistent as
>> possible experience across the various architectures as is possible.
>>
>> I've added the kernel mailing list into this reply as they should be
>> able to shed more light onto why it's not enabled and whether the
>> above is correct.
>>
>> Peter
>>
> oh. rtcwake works fine on RHEL so I assumed it was disabled in fedora on
> ARM only. however I'm not even seeing that option on my RHEL 6.3 VM:
>
> [root at jb-rhel63 ~]# grep -i wake /boot/config-2.6.32-279.*
> [root at jb-rhel63 ~]#
>
> So I may not understand what kernel config options are relevant to that
> support.

I don't think they're relevant TBH, they seem to be more related to
android at the current point in time.

https://lwn.net/Articles/479841/

Peter


More information about the arm mailing list