Git Product home page Git Product logo

Comments (4)

oskirby avatar oskirby commented on August 16, 2024

One other possibility, is that in the event of some kind of catastrophic software problem, the selected GUI might fail to load, preventing the user from being able to reach the software update menu in search of a fix.

I'd like to suggest that some kind of button combination on power-up should force systemd to start directly into the software update tool rather than the configured (if any) GUI, this would allow the user to possibly recover their camera in such a situation.

from chronos-cam-app.

sanjpm avatar sanjpm commented on August 16, 2024

This is a good suggestion now that the software update tool exists.

I think detecting a combination of both the record button and the encoder wheel being pressed down at boot would be a good way to enter the recovery mode.

from chronos-cam-app.

oskirby avatar oskirby commented on August 16, 2024

So, I think the approach for this issue is to have the bootloader check for the record and encoder buttons at boot, then update the kernel command line to boot into systemd's rescue mode. In this mode, the graphical targets are not started, which will not attempt to launch any of the GUIs or network services, but will instead launch anything that declares a WantedBy dependency on rescue.target.

from chronos-cam-app.

oskirby avatar oskirby commented on August 16, 2024

We're almost there, except that the PMIC watchdog will ruin the party by rebooting the camera when it comes up in rescue mode since cam-pcUtil does not start in rescue mode... So, more fiddling is necessary.

from chronos-cam-app.

Related Issues (20)

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.