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

Avoid needing LD_PRELOAD on reMarkable 2 #65

Closed
bkirwi opened this issue Apr 1, 2021 · 2 comments
Closed

Avoid needing LD_PRELOAD on reMarkable 2 #65

bkirwi opened this issue Apr 1, 2021 · 2 comments

Comments

@bkirwi
Copy link
Collaborator

bkirwi commented Apr 1, 2021

Originally discussed here: #62 (comment)

The basic idea is to issue calls to the /opt/lib/librm2fb_client.so.1 library directly, if it's present. This means libremarkable apps on rm2 would "just work" without needing to use the shim explicitly. (Though it would still need to be installed.)

@LinusCDE
Copy link
Collaborator

LinusCDE commented Apr 1, 2021

Here is a working (but terribly slow) poc: https://github.com/LinusCDE/libremarkable/tree/explicit_rm2fb_poc

Anyone can feel to expand on that. Permission is granted to copy and reuse this without any credit.

@bkirwi
Copy link
Collaborator Author

bkirwi commented Nov 13, 2021

A second approach has been implemented at #78 - implementing the rm2fb client logic in Rust instead of depending on librm2fb_client at all.

@fenollp fenollp closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants