-
Notifications
You must be signed in to change notification settings - Fork 85
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
Tolino Epos 2 support #521
Conversation
Tolino Epos 2 Device info: Manufacturer: rakuten kobo inc. Brand: rakutenkobo Model: tolino Device: ntx_6sl Product: ntx_6sl Hardware: e80k00 Platform: imx6 test.log Lights: tolino/ntx Also adds Tolino Epos 1 to EPD driver
@@ -113,6 +113,7 @@ object DeviceInfo { | |||
SONY_RP1, | |||
TAGUS_GEA, | |||
TOLINO, | |||
TOLINO_EPOS1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
@@ -782,6 +791,7 @@ object DeviceInfo { | |||
deviceMap[EinkDevice.SONY_RP1] = SONY_RP1 | |||
deviceMap[EinkDevice.TAGUS_GEA] = TAGUS_GEA | |||
deviceMap[EinkDevice.TOLINO] = TOLINO | |||
deviceMap[EinkDevice.TOLINO_EPOS1] = TOLINO_EPOS1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
@@ -72,7 +72,8 @@ object EPDFactory { | |||
DeviceInfo.EinkDevice.HANVON_960, | |||
DeviceInfo.EinkDevice.ONYX_JDREAD, | |||
DeviceInfo.EinkDevice.RIDI_PAPER_3, | |||
DeviceInfo.EinkDevice.TOLINO -> { | |||
DeviceInfo.EinkDevice.TOLINO, | |||
DeviceInfo.EinkDevice.TOLINO_EPOS1 -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why you added the Epos1 to EPD. It will still be asigned the first driver of the factory that matches, and I think we agree recently that was TOLINO
. So it's a bit of noise.
Oh sorry, I unfold strings here:
My bad. I got confused for to many || or &&. You are right, is catched here: || MODEL.contentEquals(ntx_6sl). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you very much ;)
Tolino Epos 2
Device info:
Manufacturer: rakuten kobo inc.
Brand: rakutenkobo
Model: tolino
Device: ntx_6sl
Product: ntx_6sl
Hardware: e80k00
Platform: imx6
test.log
Lights: tolino/ntx
Also adds Tolino Epos 1 to EPD driver
This change is