remarkable2-framebuffer icon indicating copy to clipboard operation
remarkable2-framebuffer copied to clipboard

progress on porting frameworks and apps

Open raisjn opened this issue 5 years ago • 15 comments

Some frameworks in use around the rM1 community for building apps:

framework lang status apps notes
libremarkable rust finished retris, chessmarkable, plato, whiteboard
remarkable.NET C# not started
rmkit cpp finished harmony, mines, remux
qtsgepaper cpp+qt finished calculator, draft, oxide, wikipedia, keywriter, chess2
koreader base cpp+lua finished koreader

Apps that have been tested:

  • retris
  • plato
  • koreader
  • mines
  • chess2
  • remux
  • oxide
  • calculator
  • draft
  • retris
  • chessmarkable
  • plato
  • whiteboard

Apps to test:

  • anything remaining in toltec

raisjn avatar Nov 06 '20 18:11 raisjn

I'll reference this issue on the "awesome" list. Thanks!

Ameb avatar Nov 11 '20 07:11 Ameb

What would work on the remarkable.NET port for RM2 look like?

KashMoneyMillionaire avatar Nov 18 '20 21:11 KashMoneyMillionaire

That would be a great question for @parzivail

Eeems avatar Nov 18 '20 21:11 Eeems

My father just received his RM2 in the mail this week so I'll have the opportunity to play around with it and see what needs to be changed while I'm home for Thanksgiving. I apologize for the lack of activity on rM.NET recently, life has definitely gotten in the way.

parzivail avatar Nov 18 '20 21:11 parzivail

To upgrade an rM1 app for rM2 compatibility, there are a few things that need to be done: https://github.com/ddvk/remarkable2-framebuffer/issues/13

raisjn avatar Nov 18 '20 21:11 raisjn

Looks good. The way I handled inputs for rM.NET didn't hardcode eventX names (those can change if you boot with a USB device plugged in, like a keyboard, for example) so it looks like I just need to add an entry for the new battery device (I already have framework in place for targeting multiple device generations) and figure out what all this new framebuffer business is about

parzivail avatar Nov 18 '20 21:11 parzivail

rM.NET just writes directly to /dev/fb0 so theoretically there doesn't need to be any change there, correct? If so I think apps built with rM.NET should work natively with the RM2 with the exception of the battery API

Edit: unless the ioctl commands changed for screen refreshing, then I need to update those as well

parzivail avatar Nov 18 '20 21:11 parzivail

the way the framebuffer works has significantly changed on the rm2. this repo, rm2fb, provides an automatic translation layer that lets an rm1 app draw to screen without code changes (using an ldpreload shim)

raisjn avatar Nov 19 '20 18:11 raisjn

Got it. I was referring to the fact that drawing to the screen likely hasn't changed -- the framebuffer format has been a standard in Linux for quite some time -- but the actual process of refreshing the e-ink display (hence ioctl) is what changed?

parzivail avatar Nov 19 '20 19:11 parzivail

drawing has changed, this is not the framebuffer you know,

but you will find out yourself

ddvk avatar Nov 19 '20 19:11 ddvk

Alright, after becoming more educated on the topic I concede that I am a dumbass.

parzivail avatar Nov 19 '20 19:11 parzivail

Would it be inhibitly difficult to get a terminal working? Having CLI access on the RM2 would be a dream for me, so I could ssh to my laptop, attach my tmux+vi sessions and use the rink screen for work. Not sure of this is way out there when it comes to what's feasible in the near future.

Hultner avatar Dec 27 '20 00:12 Hultner

Would it be inhibitly difficult to get a terminal working? Having CLI access on the RM2 would be a dream for me, so I could ssh to my laptop, attach my tmux+vi sessions and use the rink screen for work. Not sure of this is way out there when it comes to what's feasible in the near future.

There's a working implementation of fingerterm in Toltec.

danshick avatar Dec 27 '20 07:12 danshick

libremarkable apps: whiteboard

I published a new version on toltec, it works :)

fenollp avatar Nov 02 '21 07:11 fenollp

It looks like remarkable.net now supports rm2fb, although maybe not in quite the way that would be preferred. https://github.com/parzivail/ReMarkable.NET/pull/5

Eeems avatar Dec 02 '23 22:12 Eeems