Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow starting stock xochitl by accessing a different port #824

Open
Eeems opened this issue Jan 9, 2024 · 0 comments
Open

Allow starting stock xochitl by accessing a different port #824

Eeems opened this issue Jan 9, 2024 · 0 comments
Labels
install Installation scripts

Comments

@Eeems
Copy link
Member

Eeems commented Jan 9, 2024

In the situation where someone has soft-bricked due to the UI no longer being available (rm2fb not supporting their OS, and failing to fallback for example), it would be useful to allow a user to trigger stock xochitl by port knocking. This would start a systemd service that explicitly starts the stock xochitl without any of the toltec changes. It would also need to stop any potentially running launchers, as well as rm2fb. The code would have to be written in an extremely fault-tolerant way, and probably as a shell script to ensure it will continue to work on newer OS versions.

Systemd supports activating a service from a socket, including ports: https://www.freedesktop.org/software/systemd/man/latest/systemd.socket.html

It would probably make sense to limit this to only over the USB interface.

@Eeems Eeems added the install Installation scripts label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation scripts
Projects
None yet
Development

No branches or pull requests

1 participant