View Single Post
Old 11-14-2021, 01:15 PM   #37
emale
Junior Member
emale began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2021
Device: Kindle 4
Hi there,

is there also a possibility to wake the Kindle by button-press?
Can't find someting here in the forum.

Wrote a script for a clock/weatherdisplay and put the kindle to sleep with
Code:
echo "" > /sys/class/rtc/rtc1/wakealarm
echo "+60" > /sys/class/rtc/rtc1/wakealarm
Around the whole clock thing a
Code:
while true do...
loop so this runs infinitely.
Would be cool to be able to stop the clock and return to KUAL by pressing any button but the kindle seems to be in a very deep sleep and only a restart can wake it up

An option would be to press a button for a minute (until the kindle wakes up) but also wasn't able to catch the button press in a shell script. Has anyone a code snippet for this?

@knc1: Thanks for sharing your code! The "Shutdown as many services as possible" and "deactivate WLAN/activate WLAN"-parts were very helpful for me.
emale is offline   Reply With Quote