Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2024, 01:05 PM   #1
Ciantic
Junior Member
Ciantic began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2024
Device: Kobo Clara BW
Standby throws error the kernel refused to enter standby!

I have a bunch of these:

Code:
06/17/24-18:46:17 INFO  WakeupMgr: scheduling wakeup in 4 -> 1718639181 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:18 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:46:19 INFO  WakeupMgr: scheduling wakeup in 2 -> 1718639181 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:19 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:46:20 INFO  WakeupMgr: scheduling wakeup in 1 -> 1718639181 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:20 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:46:55 INFO  WakeupMgr: scheduling wakeup in 3 -> 1718639218 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:55 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:46:56 INFO  WakeupMgr: scheduling wakeup in 2 -> 1718639218 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:56 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:46:58 INFO  WakeupMgr: scheduling wakeup in 295 -> 1718639513 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:46:59 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:47:00 INFO  WakeupMgr: scheduling wakeup in 294 -> 1718639514 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:47:00 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:47:01 INFO  WakeupMgr: scheduling wakeup in 292 -> 1718639513 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:47:01 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:47:03 INFO  WakeupMgr: scheduling wakeup in 290 -> 1718639513 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:47:03 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:47:04 INFO  WakeupMgr: scheduling wakeup in 288 -> 1718639512 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:47:05 WARN  Kobo standby: the kernel refused to enter standby! 
06/17/24-18:47:06 INFO  WakeupMgr: scheduling wakeup in 287 -> 1718639513 
Cannot write `mem` to file `/sys/power/state`:	Operation not permitted
06/17/24-18:47:06 WARN  Kobo standby: the kernel refused to enter standby!
I don't know yet how to interpret this, is it normal when it can't do it, but there is a lot of those. And I don't know if I see any successful ones as I don't know what to search.

If I'm reading this correctly in Clara BW the file used to write is "mem" but maybe it is not:

https://github.com/koreader/koreader...evice.lua#L560

Code:
-- Kobo Clara B/W:
local KoboSpaBW = Kobo:extend{
    model = "Kobo_spaBW",
    isMTK = yes,
Then in the logic

Code:
    if self:isMTK() then
        self.standby_state = "mem"
    end
Now I'm wondering what happens in Clara BW with

Code:
    -- The standard "standby" power state
    standby_state = "standby"
Maybe I have to test it out!
Ciantic is offline   Reply With Quote
Old 06-17-2024, 01:36 PM   #2
Ciantic
Junior Member
Ciantic began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2024
Device: Kobo Clara BW
I enabled a debug mode.

Apparently it still works sometimes, I can see from logs:

Quote:
06/17/24-19:28:15 DEBUG AutoSuspend: entering standby with a wakeup alarm in 271 s
06/17/24-19:28:16 INFO WakeupMgr: scheduling wakeup in 271 -> 1718641967
06/17/24-19:28:16 DEBUG WakeupMgr:setWakeupAlarm for 1718641967 (2024-06-17 19:32:47 +0300)
06/17/24-19:28:16 DEBUG Kobo standby: asking to enter standby . . .
06/17/24-19:28:29 DEBUG Kobo standby: zZz zZz zZz zZz... And woke up!
06/17/24-19:28:29 DEBUG AutoSuspend: left standby after 13.135957 s
06/17/24-19:28:29 DEBUG AutoSuspend: start standby timer at 419.565092
06/17/24-19:28:29 DEBUG AutoSuspend: scheduling next standby check in 1
06/17/24-19:28:29 DEBUG AutoSuspend: preventStandby
Sometimes it doesn't, so net benefit is still positive I think.
Ciantic is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uable to Install Error - 'Connection refused POPOSLinuxUser Calibre 6 08-01-2023 04:59 PM
2 content.opf, one throws error, other doesn't mrmikel ePub 2 09-29-2014 05:47 PM
KPW Win8 x64 PuTTy network error: connection refused Bagerfahrer Kindle Developer's Corner 2 01-19-2013 01:18 PM
Starting content server throws an error 55 valiant66 Calibre 4 06-09-2009 11:40 AM
Remapping of Enter to suspend the reader iamphet Sony Reader Dev Corner 4 10-17-2008 11:39 AM


All times are GMT -4. The time now is 04:24 PM.


MobileRead.com is a privately owned, operated and funded community.