diff --git a/base b/base index bcf5ab2ff..452695ff9 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit bcf5ab2fff5c3b2968e0903986aba15d7cbceece +Subproject commit 452695ff92a63476e90d9762f172c1486276901a diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index a74bace07..99a54d0da 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -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