-
Notifications
You must be signed in to change notification settings - Fork 51
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
[Feature Request] Support for remarkable paper pro #92
Comments
Can you try again with the latest commit and this time with the Those are also weirdly large numbers. The biggest |
I cloned the repo and installed using See below:
|
Can you log in to the tablet and run this command and paste the output here?
Also in For each one, can you do For example, on my rM1 I get this when I run
|
Greetings, thought I would hop in since I am having the same issue.
|
Thanks. What about these commands:
Also there's going to be some more work ahead to figure out the new coordinate mappings for all these inputs
Once the |
Thanks @Evidlo and @locallium !
I'm available to do the remaining work that you mention. Thanks a lot for the responsiveness!! |
I've added the For example rm1/rm2 looks like this:
|
Thanks to both of you! Installed the new branch, it did let me connect. Unfortunately, it does not move the cursor. Also it throws the following error just as soon as I touch the screen with my finger.
I've noticed that the events are different, I'm not sure whether that changes anything, just something I've noticed 😅.
|
Hi! I checked out and installed the latest commit in the rmpro branch (click)
Then, connected to the tablet and experimented a bit. Pen detach or finger touch don't seem to result in any reaction. Pen hover triggers a I've got: 54003, 60124, 10755, 54520, 29203, 14673, 61016, 5351, 36373, 46999, 62710, 44749, 60108 and many more with no pattern that I can discern. Tried hovering over each corner and also could not tell any pattern. Maybe we could capture the keyerror and log it to file so that we could generate many more keys to check statistically? I guess I could do that, will try to do it later today. Click for details
Also run again the touchscreen ls to recheck:
|
I put a try/catch block inside the loop in read_tablet (see attached file) and redirected debug output. As long as it doesn't
The finger is not recognized.
|
Hello again! Thank you, @danimateos, very much for your contributions! Updating the device fixed the Wanted to try your solution, but unfortunately I am having some issues. I don't really understand how exactly you incorporated the above code, I keep getting the Thanks! |
These errors are almost surely just because
I am currently working on detecting the right input files in a more robust way. In the meantime, the changes I suggested above should move things further along. |
I did those steps, and while I do have the correct event files (checked using cat), I'm still getting errors. Using danimateos's steps works, although it misses clicks sometimes. |
I've wrapped the lookups in a try/except block. I'd really like to see the output of
Should also compare this to the output of |
Tried doing a clean Python update (supposed that something could have been wrong with the libraries), perhaps that could be the reason I am getting the following, though I have no idea:
Completely no idea for the struct error, after some research - everything seems to be alright, the format and the input are both 16 bytes. |
Hi! Edit: figured out how to make a fork so my code is here The weird key errors might just be the coordinates getting interpreted wrongly as the extra 8 bytes of padding is mixed in. |
@xugro Try the latest commit in |
@Evidlo The last commit is still trying to read 16 bytes and failing. Dedefining pen(self) in class reMarkablePro seems to fix this. For the evdev settings, are they taken by trhing with the tablet and deading the values? If so, my tablet continues detect where the pen is on the borders so it's difficult to just get the max printed value. I have something that worked for me in my fork if you want to take a look. |
Fixed. What about coordinate behavior?
I'm not sure I understand what you're asking. Coordinate max/mins are hardcoded in |
@xugro: status on this after merge? |
I got my remarkable paper pro yesterday and I love it... but I've realized that remarkable_mouse was a huge part of the value proposition of the remarkable 2 for me. I use as a digital whiteboard in lessons and it works great.
I've set up ssh access with the same key that I used for RM2 and it works fine.
when I try to use it as is with the RMPP I get the following error:
The
KeyError
is different in each run. I've gotten 220, 65392, and 29834 so far.My naive hope is that it would be enough to update the codes.py dictionary... I have some Python experience so maybe I could help.
The text was updated successfully, but these errors were encountered: