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

Remarkable 1 support #13

Open
otanim opened this issue Dec 8, 2022 · 1 comment
Open

Remarkable 1 support #13

otanim opened this issue Dec 8, 2022 · 1 comment

Comments

@otanim
Copy link

otanim commented Dec 8, 2022

Hello,

So I read your message about support for remarkable 1, were changing event1 to event0 in recept.cpp, and recompiling should allow using this library:
https://www.reddit.com/r/RemarkableTablet/comments/js9pbf/fix_for_the_jagged_line_issue_on_remarkable_2/

However, after finally managing to recompile the project, my Remarkable 1 rebooted and got into an infinite loop of booting:
image

I managed to unbrick my device via this tool:
https://github.com/ddvk/remarkable-uuuflash

I'm unfortunately not good at C language, it is quite hard for me to program on it, however, if you can assist me with support, I might will be able to prepare this project for the Remarkable v1.

I can confirm that event0 is the pen device:

remarkable: ~/ cat /proc/bus/input/devices 
I: Bus=0018 Vendor=056a Product=0000 Version=0036
N: Name="Wacom I2C Digitizer"
P: Phys=
S: Sysfs=/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0009/input/input0
U: Uniq=
H: Handlers=mouse0 event0 
B: PROP=0
B: EV=b
B: KEY=1c03 0 0 0 0 0 0 0 0 0 0
B: ABS=f000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="cyttsp5_mt"
P: Phys=2-0024/input0
S: Sysfs=/devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0024/input/input1
U: Uniq=
H: Handlers=event1 
B: PROP=2
B: EV=f
B: KEY=0
B: REL=0
B: ABS=6f38000 2000000

I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/soc0/gpio-keys/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=3
B: KEY=8000 100640 0 0 0

However, I don't know how to debug/develop on Remarkable device, i.e.:

  • how to prevent an infinite loop,
  • how to test the library without rebooting the device,
  • how to see stdin of the library,
  • where/how to log error/debug messages.
@Eeems
Copy link

Eeems commented Feb 10, 2023

Sounds like you weren't stuck in an infinite loop of booting, xochitl was just failing to start as something was wrong with the recept code. You would need to SSH in over USB to check what it was doing. To test without rebooting, just restart the xochitl service.

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

2 participants