12-11-2018, 03:25 AM | #301 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
Yup. I have a lot of doc/docx files and they are hardly convertable to other formats.
Last edited by The_Immortal; 12-11-2018 at 03:47 AM. |
12-11-2018, 04:33 AM | #302 |
Member
Posts: 12
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura H2O Edition 2 (Version 2)
|
|
12-11-2018, 10:01 AM | #303 | |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
Quote:
|
|
12-12-2018, 01:05 AM | #304 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
Could someone please provide the ready binaries of the latest release?
Thank you! |
12-14-2018, 06:14 AM | #306 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Plato 0.6.1
I've released 0.6.1.
The screen rotation should work fine now, on the Aura H₂O and the Aura H₂O Edition 2 Version 2. Please check that:
I stumbled upon a segmentation fault while using 0.6.0 but was unable to reproduce ever since. As a consequence, I have enabled core dumps on both my devices. If you want to help track down the bug, add the following line in plato.sh, before the line that starts Plato: Code:
ulimit -c unlimited List of other changes:
Last edited by baskerville; 12-14-2018 at 11:37 AM. |
12-14-2018, 08:56 AM | #307 |
Evangelist
Posts: 432
Karma: 2303460
Join Date: Aug 2017
Device: Pocketbook Inkpad 3, Onyx T76ML, Kobo H2O Edition 1, Kobo Mini
|
|
12-14-2018, 09:19 AM | #308 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Install this patch of KSM.
|
12-14-2018, 09:30 AM | #309 | |
Evangelist
Posts: 432
Karma: 2303460
Join Date: Aug 2017
Device: Pocketbook Inkpad 3, Onyx T76ML, Kobo H2O Edition 1, Kobo Mini
|
Quote:
The question remains: Where is Plato in KSM? Where do I see it? How do I open it? Edit: I'm passionately burning to try this thing, but I find the instructions disjointed and incomplete, practically illegible. It's still a long way until an average person can try this app. Last edited by mobama; 12-14-2018 at 09:37 AM. |
|
12-14-2018, 11:02 AM | #310 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Edit: More recent version of plato do not contain the folder plato inside the archive. You have to create the folder yourself under .adds, and then copy the content of the plato archive into it. Last edited by tshering; 12-14-2018 at 03:22 PM. |
|
12-14-2018, 12:44 PM | #311 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Still a no go on the inverted switches . As I mentioned earlier, the ioctl do fire and return *successfully*, but to no effect.
My strace build doesn't decode fbio ioctls content, so I can't vouch for the accuracy of the ioctl content. I can either whip up a quick C test-case to double-check, of if you can add logging around the ioctl calls, that'd be helpful too . |
12-14-2018, 02:25 PM | #312 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I will try to send an intermediate value instead. I'm logging the written and read value, so you should see messages of the form Framebuffer rotation: X -> Y in info.log where X is the written value and Y the read value. |
|
12-14-2018, 03:08 PM | #313 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Oops, missed the logging, my bad .
I was under the impression only the ioctl return value was effectively checked, since rotation() only pulls the "cached" rotate value, it doesn't do a new GET. But I only skimmed through that, so I may have missed it . I'll do another round of tests . |
12-14-2018, 03:26 PM | #314 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I've attached a test binary that takes a different approach: if writing n fails, then I write (n+1)%4 and finally n. |
|
12-14-2018, 04:18 PM | #315 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: We (roughly) came to the same conclusion .
Turns out it really, really doesn't like it when swapping between inverted layouts in the *same* orientation layout. The ioctls happily go through, and return successfully, but the rotation doesn't actually happen. Attached a C testcase . TL;DR: if the value to be set is equal to the current rotate value, go through an intermediary rotation to do an initial portrait/landscape swap (i.e., (n+1)%4). EDIT: And here's what it spouts on my H2O: Code:
Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes FB_ROTATE_UR to FB_ROTATE_CCW, +1 increments Setting rotate to 0 (Upright, 0°) Rotate is now 2 (Upside Down, 180°) Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes Setting rotate to 1 (Clockwise, 90°) Rotate is now 3 (Counter Clockwise, 270°) Variable fb info: 1080x1440, 32bpp @ rotation: 3 (Counter Clockwise, 270°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes Setting rotate to 2 (Upside Down, 180°) Rotate is now 0 (Upright, 0°) Variable fb info: 1440x1080, 32bpp @ rotation: 0 (Upright, 0°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes Setting rotate to 3 (Counter Clockwise, 270°) Rotate is now 1 (Clockwise, 90°) Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes FB_ROTATE_UR to FB_ROTATE_CCW, +2 increments Setting rotate to 0 (Upright, 0°) Rotate is now 2 (Upside Down, 180°) Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes Setting rotate to 2 (Upside Down, 180°) Rotate is now 2 (Upside Down, 180°) Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes FB_ROTATE_CW to FB_ROTATE_CCW, +2 increments Setting rotate to 1 (Clockwise, 90°) Rotate is now 3 (Counter Clockwise, 270°) Variable fb info: 1080x1440, 32bpp @ rotation: 3 (Counter Clockwise, 270°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes Setting rotate to 3 (Counter Clockwise, 270°) Rotate is now 3 (Counter Clockwise, 270°) Variable fb info: 1080x1440, 32bpp @ rotation: 3 (Counter Clockwise, 270°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes FB_ROTATE_UR to FB_ROTATE_CCW, +2 increments, intermerdiary rota if == Setting rotate to 0 (Upright, 0°) Rotate is now 2 (Upside Down, 180°) Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes Intermerdiary rotation... Setting rotate to 3 (Counter Clockwise, 270°) Rotate is now 1 (Clockwise, 90°) Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes Requested rotation Setting rotate to 2 (Upside Down, 180°) Rotate is now 0 (Upright, 0°) Variable fb info: 1440x1080, 32bpp @ rotation: 0 (Upright, 0°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes FB_ROTATE_CW to FB_ROTATE_CCW, +2 increments, intermerdiary rota if == Setting rotate to 1 (Clockwise, 90°) Rotate is now 3 (Counter Clockwise, 270°) Variable fb info: 1080x1440, 32bpp @ rotation: 3 (Counter Clockwise, 270°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes Intermerdiary rotation... Setting rotate to 0 (Upright, 0°) Rotate is now 2 (Upside Down, 180°) Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 5760 bytes Requested rotation Setting rotate to 3 (Counter Clockwise, 270°) Rotate is now 1 (Clockwise, 90°) Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°) Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes Last edited by NiLuJe; 12-14-2018 at 05:09 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 566 | Today 05:28 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 02:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |