![]() |
#1 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
rtcwake on Kobo?
after enabling Wifi on/off to save battery, the next step would be to really sleep the processor.
linux has rtcwake for this. but when I try it, it does not seem to work Quote:
|
|
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I haven't tried it myself, but try looking at this thread. From there, it seems you can sleep with these commands:
Code:
echo 1 > /sys/power/state-extended echo mem > /sys/power/state |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
but the problem with suspend is, that you don´t get it woken up from there automatically anymore.
thats why rtcwake is normally there for I also found echo "+20" > /sys/class/rtc/rtc0/wakealarm but this is not implemented as it looks like when doing a "cat /proc/driver/rtc" it gives this - but I don´t know how to set this alarm rtc_time : 18:53:57 rtc_date : 2013-05-02 alrm_time : 00:00:00 alrm_date : 1970-01-01 alarm_IRQ : no alrm_pending : no 24hr : yes Last edited by z000ao8q; 05-02-2013 at 03:03 PM. |
![]() |
![]() |
![]() |
#4 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
I've found this googling: http://docs.openmoko.org/trac/ticket/2318
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
google does not help here - at least I did not find anything specific which could help
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
For what it's worth, when the Kobo boots up, it calls /etc/init.d/rcS. In that script is this line:
Code:
/usr/local/Kobo/pickel disable.rtc.alarm |
![]() |
![]() |
![]() |
#7 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Do you think that is this line that resolved the battery consuming bug?
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
I just commented it out in rcS.
did not help anything. wakealarm is still not existing and rtcwake still brings the same error :-( |
![]() |
![]() |
![]() |
#9 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Out of curiosity, can I ask you why you're trying to sleep the cpu? I think the sleep mode already does that.
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
sure...
I don´t use nickel. I use a cron job once the hour which collects temperature and forecast data of various sensors around the house. see here in between I disable wifi already and the battery lasts around one week. now I want to go one step further to sleep the whole system and wake it up once an hour - which should extend the battery live even more. ...background is, that the nice display would look stupid with a power cable connected all the time... :-) |
![]() |
![]() |
![]() |
#11 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Well, congrats! Do you use it for the house heating?
Do you know what type of arm architecture and Linux kernel Kobo uses? Maybe with Google you can find something interesting searching for ACPI tools. |
![]() |
![]() |
![]() |
#12 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
I think I've found: https://wiki.archlinux.org/index.php...#Configuration
|
![]() |
![]() |
![]() |
#13 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
|
Quote:
I just posted this on a parallel thread Quote:
|
||
![]() |
![]() |
![]() |
#14 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Have you read my previous post? I think acpid can be used to sleep the Kobo using the power button, as Kobo firmware does.
|
![]() |
![]() |
![]() |
#15 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
|
Quote:
Do you have a /sys/class/rtc/rtc0 directory and a wakealarm file on your Glo? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys | sufue | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-15-2012 10:39 AM |
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless | shaf | Kobo Reader | 5 | 12-04-2011 05:10 PM |
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 | JBlyth | Kobo Reader | 11 | 08-03-2011 05:38 PM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |