Giter Site home page Giter Site logo

How to disable kindle-dash? about kindle-dash HOT 3 OPEN

pascalw avatar pascalw commented on May 27, 2024 1
How to disable kindle-dash?

from kindle-dash.

Comments (3)

coder543 avatar coder543 commented on May 27, 2024 3

I'm not the author of this program, but I think you can do it by hitting the power button to bring the kindle out of sleep mode, at which point you have 10 seconds to connect via SSH to it and run the command /mnt/us/dashboard/stop.sh. Then you can run /etc/init.d/framework start to start the main kindle software again. The kindle is mostly back to normal then, but... sleep mode still doesn't work normally, so it's probably just easiest to reboot the kindle at that point. You can probably also just reboot it from ssh instead of starting the framework.

from kindle-dash.

pascalw avatar pascalw commented on May 27, 2024 2

Indeed @coder543 that's exactly right :-) I realize it's not super convenient, but due to the continuous fetch-then-sleep loop you don't have many choices. I briefly looked into detecting the device was woken by the power button vs woken by the RTC (automatic wakeup), but didn't find a way to do this. If anyone knows how to achieve this, let me know!

On a related note; stop.sh currently only kills the dashboard, it doesn't restore the functionality that is disabled in start.sh. For me personally I wouldn't want to restart the built-in Kindle UI if I stop the dashboard, but this might depend a bit on your usecase. Perhaps we could add a flag like --restore to stop.sh, or add a separate disable.sh that does this.

In any case, for now if you wan't to revert back you can either restart the device or run the following commands:

/mnt/us/dashboard/stop.sh
lipc-set-prop com.lab126.powerd preventScreenSaver 0
echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
initctl start webreader
/etc/init.d/framework start

from kindle-dash.

matopeto avatar matopeto commented on May 27, 2024

I briefly looked into detecting the device was woken by the power button vs woken by the RTC (automatic wakeup), but didn't find a way to do this. If anyone knows how to achieve this, let me know!

@pascalw You can simple store time before sleep, than compare to time after wakeup, and if it is "+- epsilon" same as planned time it is wakeup by RTC, if the difference is big enough it is wakeup by user. Maybe it can call some "local" script (e.g. local/wakep_by_user.sh) to do whatever user wants to to (eg. restoring original kindle, or do nothing, or something else)

from kindle-dash.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.