Comments (10)
we can do this with rtcwake
and have working prototype, the next part is reading the timeout values from xochitl's config (instead of using our own?)
from rmkit.
I get the same issue.
Also, when I try to shutdown the tablet with the button (long press). I get the image "reMarkable is powered off" but after sometime the image changes to the table is sleeping message.
When I have the "reMarkable is powered off" image I can still ssh to it, hence it's not off. If I use shutdown now, it will turn it off.
from rmkit.
I've pushed a commit that atttempts to address problem 1 - going into auto shutoff after 10 hours. you can find the binary for it on the build server for testing: https://build.rmkit.dev/master/latest/files/ (if you can test it and report back in a day or two, that would be really useful). it's still not hooked up to xochitl.conf file yet.
Thank you for highlighting problem 2! I can reproduce it, but I'm not sure what is causing it just yet. I can see that if xochitl
is running as a service, then it works as expected, but if xochitl
is running directly from remux, then the shutoff never finishes. I'm trying to come up with guesses / explanations for why this is.
In general, the reason remux has these problems is because it has to take over power responbility from xochitl (because xochitl could be suspended and the tablet would never go to sleep / turn off)
from rmkit.
ah, i accidentally commented on the wrong issue (22).
I had to pull in the big guns and ask bokluk for some advice, he mentioned that this (the not shutting down) is because xochitl needs to be started with --system argument.
when xochitl --system is run, when xochitl exits, the system powers off. when it is just xochitl, then it is run in test mode and xochitl won't power off the system when it quits through the power menu.
i'll try it out later today, but if you want to verify, you (whoever is reading this task) can change the xochitl invocation to xochitl --system in launcher.cpy and use the power menu to turn on and off
from rmkit.
676347d for --system
5a2a9ac for autoshutoff after X hours
from rmkit.
c7301ba for reading settings from xochit.conf, now it's ready to be merged into toltec testing
from rmkit.
another data point here having issue with the power button. I can't confirm if it's caused by remux, i should experiment turning remux off to see if there's a different result. but here's the problem: leaving it to sleep and it will turn itself off in a few hours. and when i try ro power it on by pressing the power button i find myself unable to. i would have to keep clicking it for a minute or two then at one point it registers and powers on.
- build md5sum `fb602873fd3ff9c81b4b071bcaf43c7e39a437eff234cebd7087bf96f925bca9``
- master/20200920_2318_d3ebde1/
edit
ok i did a few test turning it off and on again. the sequence is as follows:
systemctl disable remux --now
systemctl enable xochitl --now
- hold the power button then select
turn off
- when it's black screen, try to press the button to turn it on
the result is still i don't get to turn it on at first try. but i usually get it to respond within 3-4 seconds, which was different from 1-2 minutes i needed to do when i enabled remux.
over all the result is still not clear. it could be a power button issue. i will need to try some more to see.
from rmkit.
merged latest into toltec (it should be the same file as you are already using, though)
thanks for investigating, myf! i just tested holding down power -> turn off -> holding power to turn on and it works as expected for me. so i wonder what the difference in our setups is.
from rmkit.
synced offline with myf, i think that the power issue with the power button is mostly resolved on his hardware
from rmkit.
received confirmation that both issues are resolved from other people, please re-open or add new issue if it happens again (or for more power management fixes)
from rmkit.
Related Issues (20)
- [harmony] feature requests HOT 1
- [Lamp] Erase a rect
- [remux] Swipe up gesture does not open remux (rM2, v2.12.3.606) HOT 12
- [simple] textinput misses capital "N" and "M" HOT 2
- [harmony] input for drawing on Kobo HOT 1
- [remux] PATH variable not including opt dirs
- [simple] Inaccurate information on spec HOT 1
- [harmony] file format - timestamps? HOT 1
- [simple] Support for custom fonts HOT 2
- [simple] Support for pen input area HOT 1
- [remux] Enabling Remux blocks 1st-party cloud sync HOT 9
- [rpncalc] No DUP command? Modify PUSH so that it duplicates last item HOT 1
- [rpncalc] NEG command HOT 6
- [remux]latest supported version? HOT 1
- Can't compile with GCC 11.3.0 HOT 2
- [remux] Remarkable 1 stop syncing after remux service activation HOT 4
- [genie] add double / triple tap support HOT 1
- documentation for /home/root/.config/remux/remux.conf? HOT 8
- Adding Up & Down to Lamp HOT 8
- [genie] Add support for genie.conf.d config folder HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmkit.