Skip to content

Commit

Permalink
Add new eink devices
Browse files Browse the repository at this point in the history
Device info:
Manufacturer: qualcomm
Brand: onyx
Model: noteair3c
Device: noteair3c
Product: noteair3c
Hardware: qcom
Platform: bengal
Driver that works: Onyx/Qualicomm
FYI, I tested the lights with the ADB driver and it works. Thanks.

Device info:
Manufacturer: onyx
Brand: onyx
Model: poke2
Device: poke2
Product: poke2
Hardware: qcom
Platform: msm8953
Working EPD Driver: Onyx/Qcom
Working Light Driver: Onyx(Warmth)
  • Loading branch information
hugleo authored Dec 21, 2024
1 parent 6bba3f4 commit a217b76
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 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 @@ -91,6 +91,7 @@ object DeviceInfo {
ONYX_NOTE5,
ONYX_NOTE_AIR,
ONYX_NOTE_AIR2,
ONYX_NOTE_AIR_3C,
ONYX_NOTE_PRO,
ONYX_NOTE_X2,
ONYX_NOVA,
Expand Down Expand Up @@ -399,6 +400,10 @@ object DeviceInfo {
BRAND == "onyx" && (MODEL == "noteair2" || MODEL == "noteair2p")
-> Id.ONYX_NOTE_AIR2

// Onyx Note Air 3C
BRAND == "onyx" && MODEL == "noteair3c"
-> Id.ONYX_NOTE_AIR_3C

// Onyx Note Pro
MANUFACTURER == "onyx" && PRODUCT == "notepro" && DEVICE == "notepro"
-> Id.ONYX_NOTE_PRO
Expand Down Expand Up @@ -570,6 +575,7 @@ object DeviceInfo {
Id.MOOINKPLUS2C,
Id.NONE,
Id.ONYX_GO_COLOR7,
Id.ONYX_NOTE_AIR_3C,
Id.ONYX_NOVA3_COLOR,
Id.ONYX_TAB_ULTRA_C,
Id.ONYX_NOVA_AIR_C,
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/org/koreader/launcher/device/EPDFactory.kt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ object EPDFactory {
DeviceInfo.Id.ONYX_NOTE5,
DeviceInfo.Id.ONYX_NOTE_AIR,
DeviceInfo.Id.ONYX_NOTE_AIR2,
DeviceInfo.Id.ONYX_NOTE_AIR_3C,
DeviceInfo.Id.ONYX_NOTE_PRO,
DeviceInfo.Id.ONYX_NOTE_X2,
DeviceInfo.Id.ONYX_NOVA,
Expand All @@ -116,6 +117,7 @@ object EPDFactory {
DeviceInfo.Id.ONYX_NOVA_PRO,
DeviceInfo.Id.ONYX_PAGE,
DeviceInfo.Id.ONYX_PALMA,
DeviceInfo.Id.ONYX_POKE2,
DeviceInfo.Id.ONYX_POKE3,
DeviceInfo.Id.ONYX_POKE4,
DeviceInfo.Id.ONYX_POKE5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ object LightsFactory {
BoyueS62RootController()
}
DeviceInfo.Id.ONYX_GO_COLOR7,
DeviceInfo.Id.ONYX_NOTE_AIR_3C,
DeviceInfo.Id.ONYX_NOVA_AIR,
DeviceInfo.Id.ONYX_PAGE,
DeviceInfo.Id.ONYX_POKE5,
Expand Down Expand Up @@ -48,6 +49,7 @@ object LightsFactory {
DeviceInfo.Id.ONYX_NOTE_PRO,
DeviceInfo.Id.ONYX_NOVA3,
DeviceInfo.Id.ONYX_NOVA_PRO,
DeviceInfo.Id.ONYX_POKE2,
DeviceInfo.Id.ONYX_POKE3,
DeviceInfo.Id.ONYX_POKE_PRO,
-> {
Expand Down

0 comments on commit a217b76

Please sign in to comment.