12-09-2018, 09:00 AM | #286 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Thanks, could you run the attached script on your device and post the corresponding output?
It will be preferable to run the script while Plato is running and the rotation is set to 270. Last edited by baskerville; 12-09-2018 at 10:54 AM. |
12-09-2018, 12:25 PM | #287 | |
Member
Posts: 12
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura H2O Edition 2 (Version 2)
|
Quote:
Or how else would I be able to use ssh while having plato open? Also when I connect my device to a computer plato detects it but the computer will not detect the device but that is unrelated. Last edited by DezReads; 12-09-2018 at 01:02 PM. |
|
12-09-2018, 01:21 PM | #288 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
As another data point, here's how it behaves on my H2O (first of its name):
Let's start with a reference, Nickel * Nickel: Code:
[FBInk] Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°) Code:
0000000 591e 5c0d 89d7 0005 0003 0039 0001 0000 0000010 591e 5c0d 89fe 0005 0003 0030 0001 0000 0000020 591e 5c0d 8a04 0005 0003 0032 0001 0000 0000030 591e 5c0d 8a0d 0005 0003 0035 0092 0000 0000040 591e 5c0d 8a17 0005 0003 0036 03ab 0000 0000050 591e 5c0d 8a23 0005 0000 0002 0000 0000 0000060 591e 5c0d 8a2b 0005 0000 0000 0000 0000 0000070 591e 5c0d b494 0005 0003 0039 0001 0000 0000080 591e 5c0d b4b9 0005 0003 0030 0000 0000 0000090 591e 5c0d b4c0 0005 0003 0032 0000 0000 00000a0 591e 5c0d b4ca 0005 0003 0035 0092 0000 00000b0 591e 5c0d b4d4 0005 0003 0036 03ab 0000 00000c0 591e 5c0d b4e1 0005 0000 0002 0000 0000 00000d0 591e 5c0d b4ea 0005 0000 0000 0000 0000 Now to Plato: * Plato, 270 (Visually -> UR (i.e., Portrait)) Same behavior as Nickel . Everything okay. * Plato, 180 (Visually, CCW I'd say, Inverted Portrait? fb origin is at the bottom-left corner). Works properly, too. Code:
[FBInk] Variable fb info: 1440x1080, 32bpp @ rotation: 0 (Upright, 0°) i.e., Code:
0000000 5aad 5c0d 9d79 0000 0003 0039 0001 0000 0000010 5aad 5c0d 9faf 0000 0003 0030 0001 0000 0000020 5aad 5c0d 9fc4 0000 0003 0032 0001 0000 0000030 5aad 5c0d 9fd3 0000 0003 0035 003d 0000 0000040 5aad 5c0d 9fdd 0000 0003 0036 0402 0000 0000050 5aad 5c0d 9fe9 0000 0000 0002 0000 0000 0000060 5aad 5c0d 9ff3 0000 0000 0000 0000 0000 0000070 5aad 5c0d d37a 0000 0003 0039 0001 0000 0000080 5aad 5c0d d398 0000 0003 0030 0001 0000 0000090 5aad 5c0d d39e 0000 0003 0032 0001 0000 00000a0 5aad 5c0d d3a8 0000 0003 0035 003b 0000 00000b0 5aad 5c0d d3b2 0000 0003 0036 0406 0000 00000c0 5aad 5c0d d3bd 0000 0000 0002 0000 0000 00000d0 5aad 5c0d d3c6 0000 0000 0000 0000 0000 00000e0 5aad 5c0d f0bb 0000 0003 0039 0001 0000 00000f0 5aad 5c0d f0e9 0000 0003 0030 0000 0000 0000100 5aad 5c0d f0ef 0000 0003 0032 0000 0000 0000110 5aad 5c0d f0f9 0000 0003 0035 003b 0000 0000120 5aad 5c0d f104 0000 0003 0036 0406 0000 0000130 5aad 5c0d f110 0000 0000 0002 0000 0000 0000140 5aad 5c0d f11a 0000 0000 0000 0000 0000 * Plato, 0 (Matches Plato 180 Visually, but touch is fucked (top-left -> bottom-right [relative to Plato; when looking at the device, that's bottom-left -> top-right, not that it helps, since that's not the Touch orientation ;p])). This might explain it: Code:
[FBInk] Variable fb info: 1440x1080, 32bpp @ rotation: 0 (Upright, 0°) Funnily enough, if I open a book, it switches back to Portrait, and when I exit the book to get back to the FM, the rotation *does* take, and everything works: Code:
[FBInk] Variable fb info: 1440x1080, 32bpp @ rotation: 2 (Upside Down, 180°) ---- By then, I think I've identified the common denominator in all this: If you switch from Portrait to Inverted Portrait, touch is fucked. If you switch from Landscape to Inverted Landscape, touch is fucked. (Doing it in the reverse order doesn't help). BUT, if you mix'n match Portrait -> Landscape (inverted or not), everything's dandy. ---- For ref, the output of your script: Code:
[10] DisplayPanel='6.8" Bottom EPD' 0 2 geometry 1440 1080 1440 1152 32 1 3 geometry 1080 1440 1088 1536 32 2 0 geometry 1440 1080 1440 1152 32 3 1 geometry 1080 1440 1088 1536 32 Last edited by NiLuJe; 12-09-2018 at 01:30 PM. |
12-09-2018, 01:37 PM | #289 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
/mnt/onboard/.adds/plato/rotation-test.sh Edit: Plato might switch wifi off, and you have to restart it from within plato Last edited by tshering; 12-09-2018 at 01:59 PM. |
|
12-09-2018, 02:46 PM | #290 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
|
12-09-2018, 03:34 PM | #291 | |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Is this an image?
Quote:
|
|
12-09-2018, 03:56 PM | #292 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
I've attached an example of visual representation that could be used to communicate the required information.
The row of numbers under the devices indicates the read values when the written values are 0 1 2 3. On the Aura H₂O, for example, this row would be 2 3 0 1. The axes of the touch coordinates are given at the end. |
12-09-2018, 04:05 PM | #293 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Hmm, not quite sure I understood the "image" question? That was the output from hexdump -x /dev/input/event1 after a single tap in the top-left corner (i.e., Nickel's hamburger menu), mainly so you'd have an idea of what ABS_MT_POSITION_X & ABS_MT_POSITION_Y looked like (0x35 & 0x36, respectively, third column from the right, actual coordinates in the next column).
Just for my sanity, I just checked through strace, and the ioctl pair (PUT_V/GET_F) do get fired, so that does indeed look like the device is messing with you . (I did not decode the content, though, but I'm assuming it's correct, since that works when getting back to the FM). EDIT: And yes, when it works (f.g., going from 270 to 0, one after the other), everything matches your Glo HD example . EDIT²: Err, my bad, that holds for the fb, NOT the touch axis . My top-left corner touch example is at (61, 1026). Last edited by NiLuJe; 12-09-2018 at 05:22 PM. |
12-09-2018, 04:09 PM | #294 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
So now I'm curious how the Forma handles that, because on everything else, I'm guessing it works by pure chance: pickel puts the device in landscape, and nickel in portrait, and I don't recall any of them doing more than one PUT_V (but don't quote me on that, stracing nickel's startup is annoying).
|
12-09-2018, 05:20 PM | #295 |
Member
Posts: 12
Karma: 10
Join Date: Dec 2018
Device: Kobo Aura H2O Edition 2 (Version 2)
|
Rotate 270:
[10] DisplayPanel='6.8" Bottom EPD' 0 0 geometry 1440 1080 1440 2304 16 1 3 geometry 1080 1440 1088 3072 16 2 2 geometry 1440 1080 1440 2304 16 3 1 geometry 1080 1440 1088 3072 16 |
12-10-2018, 06:17 AM | #296 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Thanks, those devices are really surprising. One last question: what's the initial rotation value?
Please checkout the attached rotation card for your device: it should match the description you've given. For the people interested in the mathematical details, the touch transformations for this device are: Code:
0 → Mx My 1 → Sxy My 2 → Identity 3 → Sxy Mx |
12-10-2018, 08:49 AM | #297 |
Evangelist
Posts: 443
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
The touch axes should be the same, otherwise you would have noticed inconsistencies. And the coordinates you gave for the top-left corner are in accordance with the touch coordinates of the Glo HD: x is small and y is big.
|
12-10-2018, 01:03 PM | #298 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Yeah, no, it works, I'm just confused by the direction of the axes in your graph . The origin is indeed the top-right corner, but the inverts & mirrors are breaking my brain ;p.
|
12-10-2018, 08:29 PM | #299 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
Guys, could you tell me please:
1. Does the recent Plato support MS Office Word formats .rtf/.doc/.docx) and F2B? Will be happy to see their support! 2. Is there instuction how to build the recent version of Plato under Windows? I found the instruction for Ubuntu only. Thank you! Last edited by The_Immortal; 12-10-2018 at 08:35 PM. |
12-11-2018, 02:56 AM | #300 | |
Bottom Text
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
Quote:
I think using a virtual machine with a linux distro would be your best option for building it in windows. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 566 | 04-19-2024 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 |