From 51ce6664e52140db9e34f1a93b89b0d7a05b747b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Thu, 14 Feb 2019 13:22:09 +0100 Subject: [PATCH] move Cervantes4 to new natural light interface, like Kobo Forma and Kobo ClaraHD --- frontend/device/cervantes/device.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/device/cervantes/device.lua b/frontend/device/cervantes/device.lua index 243260c2c..a867f9501 100644 --- a/frontend/device/cervantes/device.lua +++ b/frontend/device/cervantes/device.lua @@ -66,8 +66,11 @@ local Cervantes4 = Cervantes:new{ display_dpi = 300, hasNaturalLight = yes, frontlight_settings = { - frontlight_white = "/sys/class/backlight/lm3630a_ledb", - frontlight_red = "/sys/class/backlight/lm3630a_leda", + frontlight_white = "/sys/class/backlight/mxc_msp430_fl.0/brightness", + frontlight_mixer = "/sys/class/backlight/lm3630a_led/color", + nl_min = 0, + nl_max = 10, + nl_inverted = true, }, }