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

Unsupported device error: "Device is reMarkable Prototype 1" #43

Closed
dpowyslybbe opened this issue Jan 16, 2021 · 3 comments
Closed

Unsupported device error: "Device is reMarkable Prototype 1" #43

dpowyslybbe opened this issue Jan 16, 2021 · 3 comments

Comments

@dpowyslybbe
Copy link

Hi, I have an rM1 but when launching rmview from the command line after connecting to the device an 'Unsupported Device' error appears stating "The detected device is reMarkable Prototype 1" - see below.

UnsupportedDevice

I bought my rM1 well after it was launched so I'd be surprised if it was a prototype. Do you think there anything I can do to get rmview to work on my remarkable?

FYI, just in case it may be relevant, I'm still on update 2.1.1.3.

Thanks,

Dom

@bordaigorl
Copy link
Owner

Oh thanks for reporting this!
Currently rmview detects the device type by looking in /sys/devices/soc0/machine but since the values found there are undocumented, we rely on this kinds of reports to get the check right.

To solve your immediate problem, you can change line 235 of rmview.py to:

version = re.fullmatch(r"reMarkable(?: Prototype)? (\d+)(\.\d+)*\n", rmv)

and see if it works then.
If you confirm this works I'll push a fix.

@dpowyslybbe
Copy link
Author

Yes, thank you so much, it does work. What a superb tool!

Just FYI I opened rmview.py in notepad++ and the line I had to change was 229 - not sure why different tools have different line numbers but it worked nevertheless.

Thanks again!

@bordaigorl
Copy link
Owner

(line number discrepancy was my mistake)

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