View Single Post
Old 11-16-2013, 08:37 AM   #67
DonTomme
Junior Member
DonTomme began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2013
Device: Kobo Mini
rtcwake no wakeup on Kobo Mini

Hi folks, i hope that thread is still being watched.

I am trying to use a Kobo Mini (bought in 10/2013) as a weather display just like z000ao8q does/did.
I used his guide for configuring after hacking it according to the mobileread wiki. Finally I got everything to work fine except waking the Kobo Mini up from sleep mode.
Before asking my actual question I would like to point out some problems I had (some of them did not seem to occur on older versions). Maybe that could help to find a solution for my problem:
  • The applets crond and crontab were not available in the shipped busybox so I used a precompiled full version for that (replacing the original busybox did not work, so I keep both binaries)
  • rtcwake said that the device /dev/rtc0 was not enabled for wakeup events. I tried z000ao8qs tweaked version of busybox. It removed the original error message but finally did not work either.

The output of rtcwake -m no -s 30 is:
Code:
wakeup from "no" at Sat Nov 16 14:25:00 2013
rtcwake: short write
Which does not seem to be right. Also when I use -m mem or -m standby with nohup it logs that line
Code:
rtcwake: short write
and does not wake up and refresh the screen.
There is also no effect on /proc/driver/rtc.

I found a similar problem on a device called AM1808 EVM also with a removable sd card running the whole system. They suggested to activate the kernel parameter MMC_UNSAFE_RESUME but looking at the source on GitHub in all files where that parameter is mentioned it is already set to "y".

Now some actual questions:
  1. Has anyone suffered similar problems?
  2. Can I be shure that MMC_UNSAFE_RESUME is actually enabled? How to check at runtime?
  3. What could be other reasons that the Kobo Mini does not wake up again?
  4. Are there more differences in the OS than one year ago?
DonTomme is offline   Reply With Quote