-
Notifications
You must be signed in to change notification settings - Fork 32
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
[remux] remux does not survive reboot on RM2 under 2.9 + toltec testing #141
Comments
I have the same issue. I need to start the |
thank you, I will upgrade to 2.9 and check what is going on. I tried to reproduce this on 2.8 w rm1 and it happened when there is a system upgrade but not after. is the systemd file still in place after reboot for remux? |
what is the path ? |
can you share the logs after a reboot? it's possible that there's an error and it gets disabled? or its possible that the boot process now removes services. |
(On rM2, 2.9.1) Logs after reboot-- Reboot -- Aug 29 21:55:52 systemd[1]: Started App launcher that supports multi-tasking applications. Aug 29 21:55:52 remux[196]: /dev/input/event2 IS UNKNOWN EVENT DEVICE Aug 29 21:55:52 remux[196]: READING CONFIG FROM /home/root/.config/remux/remux.conf Aug 29 21:55:53 remux[196]: No such file or directory Aug 29 21:55:53 remux[196]: No such file or directory Aug 29 21:55:53 remux[196]: CURRENT APP IS Remarkable Aug 29 21:55:53 remux[196]: READING TIMEOUTS FOR SLEEP/SHUTDOWN FROM XOCHITL Aug 29 21:55:53 remux[196]: STARTING SUSPEND THREAD Aug 29 21:55:53 remux[196]: STARTING FIFO THREAD Aug 29 21:55:53 remux[196]: LAST SUSPEND LOOP WAS 1630274153 AGO, RESETTING IDLE TIMER Aug 29 21:55:53 remux[196]: SETTING UP GESTURES Aug 29 21:55:53 remux[196]: READING CONFIG FROM /home/root/.config/remux/remux.conf Aug 29 21:55:53 remux[196]: ADDED TAP GESTURE: Aug 29 21:55:53 remux[196]: command: Aug 29 21:55:53 remux[196]: gesture: tap Aug 29 21:55:53 remux[196]: fingers: 3 Aug 29 21:55:53 remux[196]: zone: -1 -1 -1 -1 Aug 29 21:55:53 remux[196]: duration: 0 Aug 29 21:55:53 remux[196]: ADDED TAP GESTURE: Aug 29 21:55:53 remux[196]: command: Aug 29 21:55:53 remux[196]: gesture: tap Aug 29 21:55:53 remux[196]: fingers: 4 Aug 29 21:55:53 remux[196]: zone: -1 -1 -1 -1 Aug 29 21:55:53 remux[196]: duration: 0 Logs after systemctl restart remuxAug 29 21:56:54 systemd[1]: Started App launcher that supports multi-tasking applications. Aug 29 21:56:54 remux[292]: READING CONFIG FROM /home/root/.config/remux/remux.conf Aug 29 21:56:54 remux[292]: No such file or directory Aug 29 21:56:54 remux[292]: No such file or directory Aug 29 21:56:54 remux[292]: READING TIMEOUTS FOR SLEEP/SHUTDOWN FROM XOCHITL Aug 29 21:56:54 remux[292]: STARTING SUSPEND THREAD Aug 29 21:56:54 remux[292]: STARTING FIFO THREAD Aug 29 21:56:54 remux[292]: LAST SUSPEND LOOP WAS 1630274214 AGO, RESETTING IDLE TIMER Aug 29 21:56:54 remux[292]: SETTING UP GESTURES Aug 29 21:56:54 remux[292]: READING CONFIG FROM /home/root/.config/remux/remux.conf Aug 29 21:56:54 remux[292]: ADDED TAP GESTURE: Aug 29 21:56:54 remux[292]: command: Aug 29 21:56:54 remux[292]: gesture: tap Aug 29 21:56:54 remux[292]: fingers: 3 Aug 29 21:56:54 remux[292]: zone: -1 -1 -1 -1 Aug 29 21:56:54 remux[292]: duration: 0 Aug 29 21:56:54 remux[292]: ADDED TAP GESTURE: Aug 29 21:56:54 remux[292]: command: Aug 29 21:56:54 remux[292]: gesture: tap Aug 29 21:56:54 remux[292]: fingers: 4 Aug 29 21:56:54 remux[292]: zone: -1 -1 -1 -1 Aug 29 21:56:54 remux[292]: duration: 0 In the after-reboot logs, the following line is probably of interest:
|
This appears to be caused by the remux service starting too soon at boot time, before the
Then we can add the required dependencies in remux’s service definition. Edit the file at [Unit]
Description=App launcher that supports multi-tasking applications
-After=xochitl.service opt.mount
+Requires=dev-input-event0.device dev-input-event1.device dev-input-event2.device
+After=xochitl.service opt.mount dev-input-event0.device dev-input-event1.device dev-input-event2.device
StartLimitInterval=30
StartLimitBurst=5
Conflicts=draft.service tarnish.service Then reboot. This fixes the issue, at least on my device. Can any of you try this to see if it fixes your issue? @qdatk @Pemo11235 |
It works for |
Great! Thanks for testing this. I haven’t tried it with genie yet, but I guess adding the same |
it works on Genie too ! |
Just dropping another note to say this fixed the issue I had with launch remux after a reboot on version 2.9.1.217 if it helps anyone. |
Can confirm working on my end too (2.9.0.210)! Thanks! |
I can also confirm that has also fixed on my device (2.9.1.217) |
let's close out since i think its working for most people |
Installed with the testing branch of Toltec with rm2fb 1:0.0.6-1. Everything works as expected the first time the RM2 starts after using the
systemctl enable remux --now
command, but after subsequent reboots, the swipe gesture no longer works.systemctl enable remux --now
does not fix it.rm2fb-client remux
brings up the launcher but breaks Xochitl (no longer responsive and has to be rebooted).systemctl status remux
throws up a few instances of this error:xochitl.gestures Too many touch groups
.I can fix this by removing and installing remux again via Toltec.
The text was updated successfully, but these errors were encountered: