RESOLVED
I change code in /.adds/koreader/frontend/device/kobo/
device.lua' (line 253)
I used "
lm3630a_led/" instead of "
tlc5947_bl"
[From]:
PHP Code:
frontlight_mixer = "/sys/class/backlight/lc5947_bl/color",
[To]:
PHP Code:
frontlight_mixer = "/sys/class/backlight/lm3630a_led/color",
Spoiler:
PHP Code:
-- Kobo Libra:
-- NOTE: Assume the same quirks as the Forma apply.
local KoboStorm = Kobo:new{
model = "Kobo_storm",
hasFrontlight = yes,
hasKeys = yes,
canToggleGSensor = yes,
touch_snow_protocol = true,
misc_ntx_gsensor_protocol = true,
display_dpi = 300,
hasNaturalLight = yes,
frontlight_settings = {
frontlight_white = "/sys/class/backlight/mxc_msp430.0/brightness",
frontlight_mixer = "/sys/class/backlight/lm3630a_led/color",
-- Warmth goes from 0 to 10 on the device's side (our own internal scale is still normalized to [0...100])
-- NOTE: Those three extra keys are *MANDATORY* if frontlight_mixer is set!
nl_min = 0,
nl_max = 10,
nl_inverted = true,
},
Now my headlight (warm, orange) works as it should.
@NiLuje
"Which is exactly what I posted earlier "
Yes, exactly. Thanks. Thank you for your patience NiLuJe .
It just took me a while to understand the meaning of + and - in that correction code, "mea culpa"
PS : "doom" also works well, pretty works.
- Results with Kobo Libra H2O:
PHP Code:
./doom -t -S2 –l 24
Variable fb info: 1264x1680 (1280x3584), 8bpp @ rotation: 0 (Upright, 0°)
Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 9175040 bytes & line length: 1280 bytes
Device's expected Portrait orientation should be: -1 (Unknown?!)!
Current bitdepth is already 8bpp!
112.0 FPS (8.929 ms)
117.4 FPS (8.516 ms)
116.1 FPS (8.611 ms)
116.3 FPS (8.596 ms)
113.4 FPS (8.820 ms)
112.5 FPS (8.890 ms)
111.4 FPS (8.978 ms)
110.5 FPS (9.053 ms)
109.3 FPS (9.152 ms)
100.2 FPS (9.978 ms)
100.5 FPS (9.952 ms)
93.3 FPS (10.719 ms)
98.7 FPS (10.131 ms)
96.0 FPS (10.421 ms)
95.3 FPS (10.497 ms)
..etc