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

Downloading error onto PaperPro #8

Open
OmarSharif23 opened this issue Mar 10, 2025 · 5 comments
Open

Downloading error onto PaperPro #8

OmarSharif23 opened this issue Mar 10, 2025 · 5 comments

Comments

@OmarSharif23
Copy link

Hello,

I am new to the whole SSH transfer to Remarkable. I tried to do this using the readme (and chatGBT to guide me through). It says it cannot locate the file in my downloads (which I downloaded).

I (think) I eventually got it onto my pp, and I ran some tests and I had some writing appear on my remarkable but then nothing happened after that. Then I restarted my remarkable and I think I lost connection altogether.

Perhaps if you could explain an easy step by step guide to download the ghostwriter app onto Remarkable (PP specifically) for us noobs?

@awwaiid
Copy link
Owner

awwaiid commented Mar 10, 2025

Greetings @OmarSharif23! Yes, I haven't updated the README since getting it to work on the rmPP at all, and also the build artifacts are no longer labeled correctly. At least locally, it is working on the rmPP for me fine and that is where my current experiments have been happening. I'll update the README and get back to you here for you to try again!

One note -- running it through ssh as documented will have it run only as long as your ssh connection is going. There is additional work for it to run in the background (or to have it automatically start on boot).

@OmarSharif23
Copy link
Author

Thank you @awwaiid !

So, just to confirm, this essentially only works when connected to the Laptop via the SSH transfer method (for me I used Putty)?

There is no current way for it to work say if I shut down the laptop and use the Remarkable on the go? If not, will this be something you work towards creating in the future?

@awwaiid
Copy link
Owner

awwaiid commented Mar 10, 2025

Yes, I'll work on documenting how to run it in the background in the future.

In the meantime, you can run nohup ./ghostwriter & . This will run in the background and keep running even after you disconnect the ssh session. It'll keep running until you reboot. You can run killall ghostwriter to stop it. Let me know if it works!

@OmarSharif23
Copy link
Author

Hi @awwaiid

So I got it all working on the PP. Amazing! It is so fun to use. Great job.

Just regarding the running the 'nohup' command. I am stuck on this. When I activate the session in Putty, the ghostwriter works perfectly fine on Remarkable but the command 'nohup ./ghostwriter &' just gets ignored. If I close the session, the app terminates and no longer works on the laptop.

Any idea how to resolve. I pasted the below transcript from putty if that helps.

root@imx8mm-ferrari:~# ./ghostwriter.bin --model gpt-4o-mini
[2025-03-11T00:46:22.232Z INFO ghostwriter::pen] Pen using device model: RemarkablePaperPro
[2025-03-11T00:46:22.232Z INFO ghostwriter::touch] Touch using device model: RemarkablePaperPro
[2025-03-11T00:46:27.544Z INFO ghostwriter] Waiting for trigger (hand-touch in the upper-right corner)...
nohup ./ghostwriter &

Also while on the subject, is it normal that the hand touch in the corner is about 3-4 times (rather than once)?

@awwaiid
Copy link
Owner

awwaiid commented Mar 11, 2025

Ah -- what I mean is that instead of running:

./ghostwriter.bin --model gpt-4o-mini

You would run:

nohup ./ghostwriter.bin --model gpt-4o-mini &

No, it is not expected for you to have to touch multiple times. Probably the "tap target" is too small; I recently adjusted it while converting to rmPP and now need to make it a bit bigger. If you run with --log-level debug parameter then it will show you all of the taps and their coordinates and when it falls into the small area that triggers ghostwriter to respond.

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