Skip to content

Commit

Permalink
Add support for Storytel Reader 2 (#536)
Browse files Browse the repository at this point in the history
Manufacturer: storytel
Brand: storytel
Model: reader 2
Device: salamander
Product: salamander
Hardware: rk30board
Platform: rk312x

Frontlight drivers - Onyx SDK (lights)
E-ink drivers - Onyx/Qualcomm
  • Loading branch information
hugleo authored Jan 21, 2025
1 parent 6716043 commit 7323cac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/java/org/koreader/launcher/device/DeviceInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ object DeviceInfo {
RIDI_PAPER_3,
SONY_CP1,
SONY_RP1,
STORYTEL_READER2,
TAGUS_GEA,
TOLINO,
TOLINO_EPOS1,
Expand Down Expand Up @@ -525,6 +526,10 @@ object DeviceInfo {
MANUFACTURER == "sony" && MODEL == "dpt-rp1"
-> Id.SONY_RP1

// Storytel Reader 2
MANUFACTURER == "storytel" && MODEL == "reader 2"
-> Id.STORYTEL_READER2

// Tagus Gea
MANUFACTURER == "onyx" && MODEL == "tagus_pokep"
-> Id.TAGUS_GEA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ object EPDFactory {
DeviceInfo.Id.ONYX_TAB_ULTRA,
DeviceInfo.Id.ONYX_TAB_ULTRA_C,
DeviceInfo.Id.ONYX_TAB_ULTRA_C_PRO,
DeviceInfo.Id.STORYTEL_READER2,
-> {
logController("Onyx/Qualcomm")
OnyxEPDController()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ object LightsFactory {
DeviceInfo.Id.ONYX_POKE4,
DeviceInfo.Id.ONYX_POKE4LITE,
DeviceInfo.Id.ONYX_TAB_ULTRA,
DeviceInfo.Id.STORYTEL_READER2,
-> {
logController("Onyx/Sdk")
OnyxSdkLightsController()
Expand Down

0 comments on commit 7323cac

Please sign in to comment.