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

rMPP support #130

Open
3 tasks
xugro opened this issue Dec 18, 2024 · 2 comments
Open
3 tasks

rMPP support #130

xugro opened this issue Dec 18, 2024 · 2 comments

Comments

@xugro
Copy link

xugro commented Dec 18, 2024

tried to make rm2fb work for the pro (started with the initial poc as it seemed simpler)
https://github.com/xugro/rmpp-framebuffer (will fork this repo, this was just for testing/finding the function addresses)

Can someone share the result of dump_qtClass on rm2 so I can compare it with my result and see what's missing?

I found the address of getInstance (i think) and something to update the screen but it just clears everything and I couldn't get the painter working.

TODO:

  • make a better todo list
  • find how the update command and fb work
  • shim the create/wait/shutdown functions to launch xochitl as normal with the server working
@xugro
Copy link
Author

xugro commented Dec 18, 2024

opened this issue thanks to Eeems' comment
here is the output of dump_qtClass for the pro:

HOOKING LIBC_START

Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, but has failed to switch to one.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Running on Paper Pro!!

Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, but has failed to switch to one.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
wf_search: unable to read epd serial
Loading waveforms from: /usr/share/remarkable/GAL3_AAB01Q_TD0C01_AC118TC1F2_AD1004-LHA_TC.eink
...panel tft: C0F
...panel fpl: AAB01Q
pmic: setting rails to 6.0, 12.0, 24.0, -6.0, -12.0, -24.0
pmic: setting PDD duration to 30000ms
temperature_hwmon: found temperature path: /sys/class/hwmon/hwmon7/temp1_input
Registering exit handlers
Got instance: 0x3868ac0
INSTANCE ADDRESS: 0x3868ac0
EPFramebuffer
Methods
2 "deleteLater" QList() QList()
2 "clearGhosting" QList() QList()
2 "scheduleGhostRemoval" QList() QList()
Properties
objectName QVariant::QString
Trying to construct an instance of an invalid type, type id: 65536
backend QVariant::
width QVariant::int
height QVariant::int
Trying to construct an instance of an invalid type, type id: 65536
format QVariant::
Enumerators
Backend
Tcon
Swtcon
Desktop

GhostControlMode
BlinkNow
BlinkLater
BleachNow
FactoryReset

Clearing screen

QMetaObject::invokeMethod: No such method EPFramebuffer::clearScreen()
Sending update...

^Cshutdown: waiting for updates to complete...
shutdown: waiting for display to finish...
shutdown: shutting down...
Connection to 10.11.99.1 closed.

@xugro
Copy link
Author

xugro commented Dec 18, 2024

I want to just compile the normal rm2fb app with the two addresses I found but would that cause a soft brick? As long as I can still kill it with ssh, it shouldn't be a problem.

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

No branches or pull requests

1 participant