![]() |
#151 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
It was a loop of "render, screenshot, clear". I'm going to be traveling for a week so I loaded my reader with 10'000 flashcards yesterday.
![]() |
![]() |
![]() |
![]() |
#152 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.18.1!
Minor maintenance release, mostly minor documentation tweaks. Plus a new helper function to more easily deal with memory management of dumps, especially for bindings in languages where getting access to the libc's malloc/free requires a bit of hoop-jumping (looking at you, cFFI ;p). |
![]() |
![]() |
Advert | |
|
![]() |
#153 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.19.0!
Mostly documentation cleanups, and a few tweaks to the dump/restore API to support cropping. Also a crapload of behind-the-scenes toolchain-related experiments that ultimately amounted to me not changing a thing (Linaro 7.4 for'evah!) ![]() |
![]() |
![]() |
![]() |
#154 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.20.0!
Besides a few bugfixes here and there (and initial Libra support), this version introduces a significant behavior change: blocking after a flashing update is no longer the default behavior, instead, that decision is left entirely up to you. Please check the full release notes for more details ![]() ---- I, err, may also have spent a few days playing with the fire effect from the PSX Doom port as a mildly fun way to stress-test the EPDC. See this video to see it in action. (First comes a PW2 w/ AUTO, probably making excellent use of its fancy *_FAST waveform modes [./doom -t -S2 -l 24], and then another run in A2 mode [./doom -t -S2 -l 24 -W A2]. Then comes the Forma, running in DU mode w/ HW dithering [./doom -t -S3 -l 24 -W DU -d]). Not pictured is the H2O, because of its, err, less than stellar performance. EDIT: Use fbdepth to go back to a bitdepth that suits whatever you were running before if that isn't KOReader ![]() Last edited by NiLuJe; 11-28-2020 at 12:23 PM. Reason: Now part of the main package. |
![]() |
![]() |
![]() |
#155 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
Tested with Kobo Libra H2O, and Kobo Clara HD.
Package instaled: - KOReader AND Plato | Plato-0.7.5_KOReader-v2019.09.3.zip | - FBInk-doom-Kobo.tar.gz [Libra Libra H2O] - The command starts, the animation starts, but after 5s the picture breaks down: - Start commande : ./doom -t S2 -l 24 - The animation is running for about 5s and I get the following: Koreader crash.log : Code:
launching... _ _____ ____ _ | |/ / _ \| _ \ ___ __ _ __| | ___ _ __ | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__| | . \ |_| | _ < __/ (_| | (_| | __/ | |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_| It's a scroll... It's a codex... It's KOReader! [*] Current time: 09/22/19-12:41:11[*] Version: v2019.09.3-27-ge2c771d_2019-09-20 ffi.load: SDL2 ffi.load (warning): libSDL2.so: cannot open shared object file: No such file or directory ffi.load: libSDL2-2.0.so ffi.load (warning): libSDL2-2.0.so: cannot open shared object file: No such file or directory ffi.load: libSDL2-2.0.so.0 ffi.load (warning): libSDL2-2.0.so.0: cannot open shared object file: No such file or directory SDL2 not loaded: ./setupkoenv.lua:27: Not able to load dynamic library: libSDL2-2.0.so.0 ffi.load: blitbuffer FB: computed size: 4587520 FB: id : mxc_epdc_fb FB: smem_len : 9175040 FB: line_length : 1280 FB: xres : 1264 FB: xres_virtual : 1280 FB: yres : 1680 FB: yres_virtual : 3584 FB: bpp : 8 09/22/19-12:41:11 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:41:11 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:41:11 INFO initializing for device Kobo_storm 09/22/19-12:41:11 INFO framebuffer resolution: { ["h"] = 1680, ["w"] = 1264 } [ko-input] Forked off fake event generator(pid:1527). ffi.load: libs/libmupdf.so ffi.load: libs/libwrap-mupdf.so ffi.load: libs/libfreetype.so.6 PING 192.168.0.1 (192.168.0.1): 56 data bytes 64 bytes from 192.168.0.1: seq=0 ttl=64 time=4.158 ms --- 192.168.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 4.158/4.158/4.158 ms 09/22/19-12:41:12 INFO Loading plugins from directory: plugins ffi.load: sqlite3 ffi.load: z ffi.load: sqlite3 09/22/19-12:41:12 INFO Plugin plugins/hello.koplugin/main.lua has been disabled. 09/22/19-12:41:12 INFO Plugin plugins/autofrontlight.koplugin/main.lua has been disabled. 09/22/19-12:41:12 INFO FM loaded plugin SSH at plugins/SSH.koplugin 09/22/19-12:41:12 INFO FM loaded plugin autosuspend at plugins/autosuspend.koplugin 09/22/19-12:41:12 INFO FM loaded plugin backgroundrunner at plugins/backgroundrunner.koplugin 09/22/19-12:41:12 INFO FM loaded plugin batterystat at plugins/batterystat.koplugin 09/22/19-12:41:12 INFO FM loaded plugin calibrecompanion at plugins/calibrecompanion.koplugin 09/22/19-12:41:12 INFO FM loaded plugin coverbrowser at plugins/coverbrowser.koplugin 09/22/19-12:41:12 INFO FM loaded plugin evernote at plugins/evernote.koplugin 09/22/19-12:41:12 INFO FM loaded plugin goodreads at plugins/goodreads.koplugin 09/22/19-12:41:12 INFO FM loaded plugin keepalive at plugins/keepalive.koplugin 09/22/19-12:41:12 INFO FM loaded plugin newsdownloader at plugins/newsdownloader.koplugin 09/22/19-12:41:12 INFO FM loaded plugin perceptionexpander at plugins/perceptionexpander.koplugin 09/22/19-12:41:12 INFO FM loaded plugin readtimer at plugins/readtimer.koplugin 09/22/19-12:41:12 INFO FM loaded plugin send2ebook at plugins/send2ebook.koplugin 09/22/19-12:41:12 INFO FM loaded plugin statistics at plugins/statistics.koplugin 09/22/19-12:41:12 INFO FM loaded plugin systemstat at plugins/systemstat.koplugin 09/22/19-12:41:12 INFO FM loaded plugin terminal at plugins/terminal.koplugin 09/22/19-12:41:12 INFO FM loaded plugin texteditor at plugins/texteditor.koplugin 09/22/19-12:41:12 INFO FM loaded plugin timesync at plugins/timesync.koplugin 09/22/19-12:41:12 INFO FM loaded plugin wallabag at plugins/wallabag.koplugin sh: *_Fast: not found 09/22/19-12:44:14 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color [FBInk] Detected a Kobo Libra H2O (384 => Storm @ Mark 7) [FBInk] Detected a Kobo Libra H2O (384 => Storm @ Mark 7) [FBInk] Enabled Kobo Mark 7 quirks [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 300 dpi [FBInk] Variable fb info: 1680x1264, 8bpp @ rotation: 3 (Counter Clockwise, 270°) [FBInk] Fontsize set to 32x32 (IBM base glyph size: 8x8) [FBInk] Line length: 52 cols, Page size: 39 rows [FBInk] Vertical fit isn't perfect, shifting rows down by 8 pixels [FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 9175040 bytes & line length: 1696 bytes [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background 09/22/19-12:45:34 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:45 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:45 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:45 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:45 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:45 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:46 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:46 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:46 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:46 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:46 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:47 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:47 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:47 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:47 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:47 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:45:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:31 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:31 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:31 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:31 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:31 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:47 INFO opening file /mnt/onboard/Chambers, Becky/espace d_un an, L_ - Becky Chambers.kepub.epub 09/22/19-12:46:47 INFO RD loaded plugin SSH at plugins/SSH.koplugin 09/22/19-12:46:47 INFO RD loaded plugin autosuspend at plugins/autosuspend.koplugin 09/22/19-12:46:47 INFO RD loaded plugin autoturn at plugins/autoturn.koplugin 09/22/19-12:46:47 INFO RD loaded plugin backgroundrunner at plugins/backgroundrunner.koplugin 09/22/19-12:46:47 INFO RD loaded plugin batterystat at plugins/batterystat.koplugin 09/22/19-12:46:47 INFO RD loaded plugin calibrecompanion at plugins/calibrecompanion.koplugin 09/22/19-12:46:47 INFO RD loaded plugin coverbrowser at plugins/coverbrowser.koplugin 09/22/19-12:46:47 INFO RD loaded plugin evernote at plugins/evernote.koplugin 09/22/19-12:46:47 INFO RD loaded plugin goodreads at plugins/goodreads.koplugin 09/22/19-12:46:47 INFO RD loaded plugin keepalive at plugins/keepalive.koplugin 09/22/19-12:46:47 INFO RD loaded plugin kosync at plugins/kosync.koplugin 09/22/19-12:46:47 INFO RD loaded plugin newsdownloader at plugins/newsdownloader.koplugin 09/22/19-12:46:47 INFO RD loaded plugin perceptionexpander at plugins/perceptionexpander.koplugin 09/22/19-12:46:47 INFO RD loaded plugin readtimer at plugins/readtimer.koplugin 09/22/19-12:46:47 INFO RD loaded plugin send2ebook at plugins/send2ebook.koplugin 09/22/19-12:46:47 INFO RD loaded plugin statistics at plugins/statistics.koplugin 09/22/19-12:46:47 INFO RD loaded plugin systemstat at plugins/systemstat.koplugin 09/22/19-12:46:47 INFO RD loaded plugin terminal at plugins/terminal.koplugin 09/22/19-12:46:47 INFO RD loaded plugin texteditor at plugins/texteditor.koplugin 09/22/19-12:46:47 INFO RD loaded plugin timesync at plugins/timesync.koplugin 09/22/19-12:46:48 INFO RD loaded plugin wallabag at plugins/wallabag.koplugin 09/22/19-12:46:48 INFO RD loaded plugin zsync at plugins/zsync.koplugin CRE: document loaded, but styles re-init needed (cause: embedded fonts) CRE: styles re-init needed after load, re-rendering 09/22/19-12:46:53 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:46:57 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:14 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:36 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:55 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:55 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:55 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:55 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color 09/22/19-12:47:55 ERROR Could not open file: /sys/class/backlight/tlc5947_bl/color - Commande : ./doom -t S2 -l 24 - On "Kobo Clara HD" function without problems. Animation is fluid. Here is the Result: - Full result detail is here : Spoiler:
- I don't know if you need to attach Koreader crash.log : Spoiler:
kfmon : Spoiler:
Last edited by Michal Jancik; 09-22-2019 at 10:05 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#156 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Michal Jancik: Ah, yeah, I'd forgotten to update those binaries for the Libra fixes
![]() Sidebar: those KOReader logs seem to indicate that adjusting the frontlight temperature currently doesn't work on your Libra... Does this patch help? Code:
diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index 1bbd0b57..4896e01a 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -250,7 +250,7 @@ local KoboStorm = Kobo:new{ hasNaturalLight = yes, frontlight_settings = { frontlight_white = "/sys/class/backlight/mxc_msp430.0/brightness", - frontlight_mixer = "/sys/class/backlight/tlc5947_bl/color", + 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, ![]() |
![]() |
![]() |
![]() |
#157 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
Well seen ! You are right, colored (orange) light really does not work, you have good reflex
![]() I will test the code thanks. It's not urgent ! -------------------------------------------------------------- PS - "I just have a question". Is it possible to adjust the sharpness of a font somewhere in the code? I don't mean fat, but sharpness / adjusts the "liasing" of the font (something like antiliasing) Last edited by Michal Jancik; 09-23-2019 at 07:29 AM. |
![]() |
![]() |
![]() |
#158 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
@Michal Jancik, @NiLuJe.
Yes, those leds seems exactly the same used by Kobo Clara HD and BQ Cervantes 4. See https://github.com/koreader/koreader...ment-439700537. So NiLuJe suggestion should work as is. i.e: for a given white level typing Code:
echo 0 > /sys/class/backlight/lm3630a_led/color Last edited by pazos; 09-22-2019 at 02:15 PM. |
![]() |
![]() |
![]() |
#159 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
@pazos
Code:
echo 0 > /sys/class/backlight/lm3630a_led/color It is not serious. I am not in a hurry. I wait until the modified version comes out and install it then ![]() *Mainly everything else works Last edited by Michal Jancik; 09-22-2019 at 04:06 PM. |
![]() |
![]() |
![]() |
#160 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Stupid question, but who knows: the frontlight has to be on for this do to anything
![]() Stupid question n°2: Does the file actually exist? |
![]() |
![]() |
![]() |
#161 | |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
Quote:
(I set "ftrontlight" before starting the Koreader to 100% before starting the command line). - Yes. "Color" file is in folder "lm3630a_led" (When I look through the file manager "koreader", so I see "Color in folder lm3630a_led", but through the file manager through Linux I see the frontlight as an empty folder.) I just noticed that when I click on the "backlight" folder so it redirection me to another folder, is it normal? -Here I am at the "backlight" folder level: Spoiler:
- After clicking on "backlight" the path changes, but the file "color" is present. Spoiler:
---------------------------------------------------------------- But how I write, it is not urgent and that for now I can not set / use the warm light - It is not serious for my . For me it was especially important to correct the correct screen settings, what you helped me (NiLuJe) to solve in another article on this web_site. The rest is secondary for now ![]() Last edited by Michal Jancik; 09-23-2019 at 06:34 AM. |
|
![]() |
![]() |
![]() |
#162 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yep, that's a symlink, the redirection is perfectly normal.
Guess we'll have to wait until someone with shell access and a device looks into it. I'll push the change with a note anyway, since it's at least an order of magnitude less broken than trying to use the Forma's driver ![]() |
![]() |
![]() |
![]() |
#163 |
Sorry for my English
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 466
Karma: 3009898
Join Date: Aug 2018
Location: France.Besancon
Device: KOBO.PocketBook.ONYX
|
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:
PHP Code:
Spoiler:
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:
Last edited by Michal Jancik; 09-23-2019 at 11:14 AM. |
![]() |
![]() |
![]() |
#164 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Which is exactly what I posted earlier
![]() |
![]() |
![]() |
![]() |
#165 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
@NiLuJe: Can you tell, from the logs, if the framebuffer coordinates rotate clockwise or counter-clockwise when the rotation value increases?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Small tool for filling book library in Kobo Aura | Paxerus | Kobo Developer's Corner | 2 | 12-31-2013 07:05 PM |
Small print | Broadback | Conversion | 12 | 12-12-2011 02:31 PM |
Small Tool to change book order (PRS-x50) | goaspy | Sony Reader | 113 | 10-14-2011 03:28 PM |
small print | breezeman | Introduce Yourself | 13 | 07-03-2011 09:02 AM |