rM-docker icon indicating copy to clipboard operation
rM-docker copied to clipboard

Override rm2fb service

Open Eeems opened this issue 2 years ago • 4 comments

I would recommend overriding the rm2fb service with some sort of dummy so that packages that install with toltec that depend on it will not error out.

Eeems avatar Oct 05 '23 22:10 Eeems

It might make sense to override it to run rm2fb-forward instead of rm2fb and have it installed by default.

Eeems avatar Oct 05 '23 22:10 Eeems

Another option would be to package rm2fb-forward as a toltec package that provides the display package and install that

Eeems avatar Oct 05 '23 22:10 Eeems

Is this about this issue?

# systemctl status rm2fb.service
● rm2fb.service - reMarkable 2 Framebuffer Server
     Loaded: loaded (/lib/systemd/system/rm2fb.service; disabled; vendor preset: disabled)
     Active: inactive (dead)

Oct 09 13:47:07 reMarkable systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start reMarkable 2 Framebuffer Server.[[0m
Oct 09 13:47:10 reMarkable systemd[1]: Stopped reMarkable 2 Framebuffer Server.
Oct 09 13:53:53 reMarkable systemd[1]: Starting reMarkable 2 Framebuffer Server...
Oct 09 13:53:54 reMarkable xochitl[2568]: STARTING RM2FB
Oct 09 13:53:54 reMarkable xochitl[2568]: Missing address for function 'getInstance'
Oct 09 13:53:54 reMarkable xochitl[2568]: PLEASE SEE https://github.com/ddvk/remarkable2-framebuffer/issues/18
Oct 09 13:53:54 reMarkable systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mrm2fb.service: Main process exited, code=exited, status=255/EXCEPTION[[0m
Oct 09 13:53:54 reMarkable systemd[1]: [[0;1;38;5;185m[[0;1;39m[[0;1;38;5;185mrm2fb.service: Failed with result 'exit-code'.[[0m
Oct 09 13:53:54 reMarkable systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start reMarkable 2 Framebuffer Server.[[0m
Oct 09 13:53:57 reMarkable systemd[1]: Stopped reMarkable 2 Framebuffer Server.

meaning my error cannot be fixed by patching support for https://github.com/timower/rM-docker/blob/818bb863e780f8c5839a47143c4c97927c5417fb/Dockerfile#L4 ?

fenollp avatar Oct 09 '23 14:10 fenollp

No, this is because there is no need for the rm2fb service if using the forwarder. The "issue" you are encountering is because rm2fb doesn't support the OS version you are using.

Eeems avatar Oct 09 '23 16:10 Eeems