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

Does this work for the paperlike 253? #9

Open
Revilotom opened this issue Aug 31, 2022 · 12 comments
Open

Does this work for the paperlike 253? #9

Revilotom opened this issue Aug 31, 2022 · 12 comments
Labels
enhancement New feature or request

Comments

@Revilotom
Copy link

No description provided.

@leoluk
Copy link
Owner

leoluk commented Jan 21, 2023

Maybe? It's likely that the Paperlike 253 uses a similar I2C interface, so it might work with just minor modifications.

I do not own one but if anyone wants to give it a try, happy to assist with the reverse engineering.

@Revilotom
Copy link
Author

Revilotom commented Jan 26, 2023

@leoluk Perfect timing!
I just got my Paperlike 253 and out of the box it doesn't seem to work with paperlike-go.
Unfortunately I have never programmed in go, my strengths are with Javascript and other web stuff.... But I would love to collaborate with you on the reverse engineering process!

Please let me know if you are available to talk, I would really appreciate any advice on how how to reverse engineer something like this!

@krobelus
Copy link

@Revilotom does your Paperlike 253 work on Linux? Mine works fine on macOS but Linux does not detect any modes/resolutions for it so the screen is dead. If I set one manually it has random glitches, and does not display things properly. I'll report a bug to the i915 driver.
(I need to get that working before I can use paperlike-go)

@krobelus
Copy link

ok I got my Paperlike 253 to work by setting a custom modeline, e.g. xrandr --newmode "3200x1800" 252.0 3200 3248 3280 3400 1800 1808 1818 1850 +HSync +VSync see https://gitlab.freedesktop.org/drm/intel/-/issues/8147#note_1778754

@Revilotom
Copy link
Author

@krobelus
Glad you got yours working!
I use wayland so probably wouldnt be of much help anyway.

So after contacting leoluk and trying a few things we have found out that the 253 uses a serial bus to communicate which is different to the I2C in the original paperlike.
To work out the 253 protocol we might need to reverse engineer the Dasung software for Macos/Windows. Unfortunately this is not my forte so have not made any progress with it.

@Revilotom
Copy link
Author

Oh just reaalised that you're using sway just like me... Didn't realise you could use xrandr under wayland...

@rainforest1155
Copy link

rainforest1155 commented Sep 8, 2023

Dasung has a Paperlike 253 color on Indiegogo and when I asked about the lack of Linux software support for the original Paperlike 253 (and thus also the new color one), they quickly released a Linux software which is now available on:
http://www.dasung.com/h-col-112.html
Since I don't have a screen yet to test it, perhaps one of you could give it a whirl and provide feedback if it's working properly. I guess now would be a good time to also bring on feature requests for them to improve upon it.

Oh and they also included the source code for it so the functionality could also go into Paperlike-Go.

@krobelus
Copy link

krobelus commented Sep 8, 2023

wow that's very interesting. I'll try to take a look. On Linux without their software, the 253 works fine pretty much all the time. Sometimes it starts flashing and needs restarting but I think that also happens on macos (not sure though).

@Revilotom
Copy link
Author

@rainforest1155 Ooh thanks for mentioning that!
I just tried it and it more or less seems to work... The source code does seem fairly ghetto.
@leoluk Do you think this would be possible to integrate this 253 code into this tool or is way too different?

@Revilotom
Copy link
Author

I should clarrify, I only looked at & tested the C code, I am unsure what the python code is for...

@ultrafragile
Copy link

Anyone get it to work?

@leoluk
Copy link
Owner

leoluk commented Apr 12, 2024

No idea, someone needs to reverse engineer it

(unfortunately, I have neither the device, nor the time to do it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants