Skip to content

Conversation

@AngleOSaxon
Copy link
Contributor

Fixes a bug in the Remarkable Paper Pro support when launching the process with a PDF or ePub file open. When one of these files is open the process /usr/bin/xochitl_pdf_renderer is running, causing the findXochitlPID function to fetch its PID instead of /usr/bin/xochitl's PID. Having found the wrong process, the tool is therefore unable to find the framebuffer and exits with failed to get memory range: no mapping found for /dev/dri/card0.

This PR changes the findXochitlPID function to look for exactly /usr/bin/xochitl instead of using contains.

I have not tested this change on a ReMarkable 2.

@owulveryck
Copy link
Owner

LGTM
Thank you very much

@owulveryck owulveryck merged commit faf29d8 into owulveryck:main Dec 26, 2024
1 check passed
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 this pull request may close these issues.

2 participants