Giter VIP home page Giter VIP logo

Comments (7)

jonahweissman avatar jonahweissman commented on August 19, 2024 1

I used remux.reset_idle and it solved my problem. Thank you so much!

is oxide / tarnish installed or running?

Nope, currently, my only launcher is remux.

does this only happen when remux auto-suspends?

Yes

can you post the logs around the time of the suspend / wake? journalctl -u remux

Feb 04 22:20:53 reMarkable remux[222]: RENDERING Remarkable
Feb 04 22:20:55 reMarkable remux[222]: RENDERING Remarkable
Feb 04 22:20:55 reMarkable remux[222]: LAUNCHING APP Remarkable Remarkable
Feb 04 22:20:56 reMarkable remux[222]: CHECKING PROCESS xochitl 1
Feb 04 22:20:56 reMarkable remux[222]: xochitl IS ALREADY RUNNING, RESUMING
Feb 04 22:20:56 reMarkable remux[222]: 20:56.337 xochitl.wifi             wlan0: Link is up
Feb 04 22:20:56 reMarkable remux[222]: 20:56.338 xochitl.wifi             wlan0: Address added: fe80::d612:43ff:fed1:5e12
Feb 04 22:20:56 reMarkable remux[222]: SENDING 18 TO GROUP -265 RET 0
Feb 04 22:20:56 reMarkable remux[222]: RENDERING Remarkable
Feb 04 22:20:56 reMarkable remux[222]: LAUNCHING APP Remarkable Remarkable
Feb 04 22:20:56 reMarkable remux[222]: CHECKING PROCESS xochitl 1
Feb 04 22:20:56 reMarkable remux[222]: xochitl IS ALREADY RUNNING, RESUMING
Feb 04 22:20:56 reMarkable remux[222]: SENDING 18 TO GROUP -265 RET 0
Feb 04 22:20:56 reMarkable remux[222]: RENDERING Remarkable
Feb 04 22:20:58 reMarkable remux[222]: 20:58.684 xochitl.wifi             wlan0: Address added: 192.168.1.75
Feb 04 22:20:58 reMarkable remux[222]: 20:58.696 xochitl.wifi             Got gateway: 192.168.1.1
Feb 04 22:20:58 reMarkable remux[222]: 20:58.702 xochitl.wifi             We probably have Internet
Feb 04 22:40:55 reMarkable remux[222]: SNAPSHOTTING Remarkable
Feb 04 22:40:55 reMarkable remux[222]: SUSPENDING
Feb 04 22:41:18 reMarkable remux[222]: brcmfmac              221184  0
Feb 04 22:41:18 reMarkable remux[222]: brcmutil               16384  1 brcmfmac
Feb 04 22:41:18 reMarkable remux[222]: RELOADING WIFI DRIVERS
Feb 04 22:41:19 reMarkable remux[222]: 41:19.206 xochitl.wifi             wlan0: Link is down
Feb 04 22:41:19 reMarkable remux[222]: 41:19.208 xochitl.wifi             Clearing gateways: 192.168.1.1
Feb 04 22:41:19 reMarkable remux[222]: 41:19.213 xochitl.wifi             We are offline
Feb 04 22:41:19 reMarkable remux[222]: 41:19.213 xochitl.wifi             Unable to find interface name from index: 5
Feb 04 22:41:19 reMarkable remux[222]: 41:19.214 xochitl.wifi             Have no indication of network interface name. Assuming "wlan0"
Feb 04 22:41:19 reMarkable remux[222]: 41:19.214 xochitl.wifi             wlan0: Address removed: fe80::d612:43ff:fed1:5e12
Feb 04 22:41:19 reMarkable remux[222]: 41:19.261 xochitl.wifi             Unable to find interface name from index: 5 . Using IFA_LABEL: "wlan0"
Feb 04 22:41:19 reMarkable remux[222]: 41:19.262 xochitl.wifi             wlan0: Address removed: 192.168.1.75
Feb 04 22:41:19 reMarkable remux[222]: 41:19.350 xochitl.wifi             No BSSes!
Feb 04 22:41:19 reMarkable remux[222]: RESUMING FROM SUSPEND
Feb 04 22:41:20 reMarkable remux[222]: 41:20.157 xochitl.wifi             Failed to get interface flags: No such device
Feb 04 22:41:20 reMarkable remux[222]: RENDERING Remarkable
Feb 04 22:41:20 reMarkable remux[222]: 41:20.357 xochitl.wifi             wlan0: Link is up
Feb 04 22:41:20 reMarkable remux[222]: 41:20.362 xochitl.wifi             wlan0: Link is down
Feb 04 22:41:20 reMarkable remux[222]: 41:20.593 xochitl.wifi             Scanning: true
Feb 04 22:41:23 reMarkable remux[222]: 41:23.107 xochitl.wifi             Scanning: false
Feb 04 22:41:25 reMarkable remux[222]: 41:25.765 xochitl.wifi             wlan0: Link is up
Feb 04 22:41:28 reMarkable remux[222]: 41:28.036 xochitl.batterymanager   Error while writing to /sys/power/state
Feb 04 22:41:28 reMarkable remux[222]: 41:28.114 xochitl.wifi             No BSSes!
Feb 04 22:41:28 reMarkable remux[222]: 41:28.301 xochitl.wifi             Failed to get interface flags: No such device
Feb 04 22:41:28 reMarkable remux[222]: 41:28.461 xochitl.wifi             wlan0: Link is down
Feb 04 22:41:28 reMarkable remux[222]: 41:28.496 xochitl.wifi             wlan0: Link is up
Feb 04 22:41:28 reMarkable remux[222]: 41:28.498 xochitl.wifi             wlan0: Link is down
Feb 04 22:41:28 reMarkable remux[222]: 41:28.621 xochitl.wifi             Scanning: true
Feb 04 22:41:31 reMarkable remux[222]: 41:31.169 xochitl.wifi             Scanning: false
Feb 04 22:41:34 reMarkable remux[222]: 41:34.769 xochitl.wifi             wlan0: Link is up
Feb 04 22:41:35 reMarkable remux[222]: 41:35.924 xochitl.wifi             wlan0: Address added: fe80::d612:43ff:fed1:5e12
Feb 04 22:41:40 reMarkable remux[222]: 41:40.980 xochitl.wifi             wlan0: Address added: 192.168.1.75
Feb 04 22:41:40 reMarkable remux[222]: 41:40.989 xochitl.wifi             Got gateway: 192.168.1.1
Feb 04 22:41:40 reMarkable remux[222]: 41:40.994 xochitl.wifi             We probably have Internet

from rmkit.

jonahweissman avatar jonahweissman commented on August 19, 2024

I experienced something sort of similar. When I wake up the device from sleep, it goes back to sleep again almost immediately. This will happen a few times before it stays awake. I definitely wouldn't describe it as flashing though. I think a46fa08 might fix it, but I haven't tested it out yet.

from rmkit.

raisjn avatar raisjn commented on August 19, 2024

i think that should be available in toltec testing

from rmkit.

jonahweissman avatar jonahweissman commented on August 19, 2024

Using remux 0.1.7-3 from toltec testing, my original problem (with remux 0.1.6-2) of the screen turning off immediately after waking up goes away. However, I still have a problem: when the device wakes up, it is unresponsive until I press the power button a second time.

from rmkit.

raisjn avatar raisjn commented on August 19, 2024

can you post the logs around the time of the suspend / wake? journalctl -u remux

  • does this only happen when remux auto-suspends?
  • is oxide / tarnish installed or running?
  • consider using the build posted on the other thread that doesn't do any power management (remux.no_suspend) and let xochitl do it for you

from rmkit.

raisjn avatar raisjn commented on August 19, 2024

i have a guess that the following situation happens:

  • xochitl enters suspend (power button press)
  • wake up from suspend (press power button)
  • remux thinks its been idle for too long, goes to sleep
  • power button wakes up correctly

i put some logic in 99ca695 to try to avoid this situation. the binary should be available on build.rmkit.dev/master/latest/files soon or can grab it from http://raisjn.net/remux.reset_idle. if you can confirm this fixes it, that would be appreciated, thanks!

from rmkit.

raisjn avatar raisjn commented on August 19, 2024

(should be in stable by now)

from rmkit.

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.