Kobo: Initial Clara 2E support (#9545)

Will need an actual tester to confirm FBInk gets the rotation right, as well as the touch input & frontlight situation.

* Bump base

https://github.com/koreader/koreader-base/pull/1519
https://github.com/koreader/koreader-base/pull/1521
reviewable/pr9550/r1
NiLuJe 2 years ago committed by GitHub
parent a3fda69dd4
commit ab4b4b31bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1 @@
Subproject commit bcf5ab2fff5c3b2968e0903986aba15d7cbceece
Subproject commit 452695ff92a63476e90d9762f172c1486276901a

@ -441,6 +441,25 @@ local KoboIo = Kobo:new{
automagic_sysfs = true,
}
-- Kobo Clara 2E:
local KoboGoldfinch = Kobo:new{
model = "Kobo_goldfinch",
isMk7 = yes,
hasEclipseWfm = yes,
canToggleChargingLED = yes,
hasFrontlight = yes,
display_dpi = 300,
--- @fixme: to be confirmed!
hasNaturalLight = yes,
frontlight_settings = {
frontlight_white = "/sys/class/backlight/mxc_msp430.0/brightness",
frontlight_mixer = "/sys/class/backlight/lm3630a_led/color",
nl_min = 0,
nl_max = 10,
nl_inverted = true,
},
}
function Kobo:setupChargingLED()
if G_reader_settings:nilOrTrue("enable_charging_led") then
if self:hasAuxBattery() and self.powerd:isAuxBatteryConnected() then
@ -1384,6 +1403,8 @@ elseif codename == "cadmus" then
return KoboCadmus
elseif codename == "io" then
return KoboIo
elseif codename == "goldfinch" then
return KoboGoldfinch
else
error("unrecognized Kobo model ".. codename .. " with device id " .. product_id)
end

Loading…
Cancel
Save