Skip to content

fix: also refreshing for "turnOff" activated after first display in ssd1677 - #46

Closed
theZiz wants to merge 1 commit into
Free-Ink:mainfrom
theZiz:fix/first-boot-fresh-for-fading-fix
Closed

fix: also refreshing for "turnOff" activated after first display in ssd1677#46
theZiz wants to merge 1 commit into
Free-Ink:mainfrom
theZiz:fix/first-boot-fresh-for-fading-fix

Conversation

@theZiz

@theZiz theZiz commented Aug 17, 2026

Copy link
Copy Markdown

See discussion in: crosspoint-reader/crosspoint-reader#3009

The SSD1677 only does the initial refresh if turnOff is false, which is the fadingFix in the Crosspoint Reader domain. This does not make sense in my opinion. At least it fixes the problem in the link above.

…sd1677

The turnoff condition is important for the else path, but not for the initial refresh

@thiagokokada thiagokokada left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that the original issue ("Sunlight Fade Fix" enabled on Xteink X4 with SSD1677) is fixed by applying this patch + crosspoint-reader/crosspoint-reader@c6fe67d.

@thiagokokada thiagokokada left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thiagokokada

thiagokokada commented Aug 18, 2026

Copy link
Copy Markdown

Confirmed that the original issue ("Sunlight Fade Fix" enabled on Xteink X4 with SSD1677) is fixed by applying this patch + crosspoint-reader/crosspoint-reader@c6fe67d.

Actually, this seems to have fixed the boot issue but now when I am in the read page I can't switch pages (I am not sure if the pages are not switching or just the page is not rendering). I can open the book menu though, it is really strange and I have no idea why this is happening.

Reverting to 1.6.0rc works fine. I also tested commit crosspoint-reader/crosspoint-reader@6a501bb (1.6.0rc) with this patch applied, same issue, so my conclusion is that this PR is the cause.

@thiagokokada thiagokokada left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dismissing my approval since the issue reported above.

@theZiz

theZiz commented Aug 18, 2026

Copy link
Copy Markdown
Author

Confirmed that the original issue ("Sunlight Fade Fix" enabled on Xteink X4 with SSD1677) is fixed by applying this patch + crosspoint-reader/crosspoint-reader@c6fe67d.

Actually, this seems to have fixed the boot issue but now when I am in the read page I can't switch pages (I am not sure if the pages are not switching or just the page is not rendering). I can open the book menu though, it is really strange and I have no idea why this is happening.

Reverting to 1.6.0rc works fine. I also tested commit crosspoint-reader/crosspoint-reader@6a501bb (1.6.0rc) with this patch applied, same issue, so my conclusion is that this PR is the cause.

Hm, I can't reproduce what you are meaning. With "read page" you mean reading a book? Works as intended with my and your patch as well as the develop branch of Crosspoint Reader + my patch.

I can't really find any reason why my patch should make the thing worse at all. The logic is changed exactly one time for the very first display()-call. Afterwards it should not make any difference. I really don't get it.

Can you give me more clear productions steps?

  • Which patch did you (not) apply?
  • Does this happen with or without fading fix?
  • With or without text anti aliasing?
  • Are you entering the menu and then into text or do you boot directly into the book?

@theZiz theZiz closed this Aug 20, 2026
@thiagokokada

Copy link
Copy Markdown

Sorry, just saw this right now.

* Which patch did you (not) apply?

I applied just this patch on top of the Free-Ink SDK that is set as a submodule in CrossPoint.

* Does this happen with or without fading fix?

I think I tested both.

* With or without text anti aliasing?

With.

* Are you entering the menu and then into text or do you boot directly into the book?

Menu -> Book.

@theZiz

theZiz commented Aug 21, 2026

Copy link
Copy Markdown
Author

Thanks for the answer though!

I can't think of ANY reason why this is happening with my change and think that something else is fishy (e.g. we had an USB freeze bug sometime in the past), but as this might also happen on other devices with other drivers, it is probably a good idea to have your change in the Crosspoint Reader instead.

I doubt that @itsthisjustin wants to take the risk for another change here while the problem is in fact already solved. Tbh I think the best would be now to remove the special handling code from here, because I think it has some logic flaws and other drivers don't have it, too. But on the other hand: Never touch a running system if not needed. 😂

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

Successfully merging this pull request may close these issues.

2 participants