![]() |
#16 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
I copied the example text in the fbink thread since I don't know what I'm doing
![]() Spoiler:
Where should that strace file be placed on the kindle, because /mnt/us/ directory did not appear to be the answer. Should it be replacing the one in the usbnet directory? |
![]() |
![]() |
![]() |
#17 |
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
|
@7hir7een: You can basically put it anywhere, as long as you call that one, and not USBNet's.
I usually put those kind of testing things in root's $HOME, since it's a tmpfs, but in this specific case, replacing USBNet's binary is a good idea, since that one is mostly broken on the KOA2 anyway ![]() ![]() EDIT: Just to be perfectly clear: you did get to see that string printed on your screen, right? ^^. That'd be a good news, since KOReader should mostly do the same thing... EDIT²: Err, of course, you have to unpack the tarball, first ![]() ![]() Last edited by NiLuJe; 06-25-2018 at 02:01 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
ssh output attached
Actions taken: (roughly, some button presses had to be repeated because this slowed down the device a lot and it appeared not to be responding) Spoiler:
And yes, the text did print on the screen (screenshot attached) ETA: If you would like me to take less actions in a specific order, just let me know. I was trying to do a bit of everything haha |
![]() |
![]() |
![]() |
#19 |
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
|
@7hir7een: Thanks! That'll give me something to check against, I'll keep you all posted
![]() |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,251
Karma: 2957301
Join Date: Apr 2014
Location: Rochester, NY
Device: Boox Go 10.3, Kobo Libra 2
|
Thanks @NiLuJe & 7hir7een! I haven't had a chance to get started on USBNet yet.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
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
|
Okay, I'll be merging the KOReader changes soon, in the meantime, just to check that I did not break anything, could one of you check if the newly released FBInk 0.9.12 still works?
|
![]() |
![]() |
![]() |
#22 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
It does indeed
|
![]() |
![]() |
![]() |
#23 |
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
|
Yay, thanks!
I'll give you a shout once an OTA w/ the latest changes pops up ![]() |
![]() |
![]() |
![]() |
#24 |
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
|
@7hir7een: In the meantime, I guess I can ask you a few more things to try...
![]() Does Code:
hexdump /dev/input/by-path/platform-gpiokey.0-event ![]() If it works, tap a few times on each physical buttons and send me the output (again, in a specific order so I can figure out which is which ^^). ---- And the final thing: does it still rotate automatically based on its physical orientation? If yes, does Code:
lipc-get-prop -s com.lab126.winmgr accelerometer And if it does, what about Code:
cat /proc/bus/input/devices | grep -e 'Handlers\\|EV=' | grep -B1 'EV=d'| grep -o 'event[0-9]' With that answered, I should be able to match the KOA1 feature-set ![]() Last edited by NiLuJe; 07-01-2018 at 07:46 AM. |
![]() |
![]() |
![]() |
#25 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
Sure thing
![]() The first bit of code returns a file not found Code:
[root@kindle root]# hexdump /dev/input/by-path/platform-gpiokey.0-event hexdump: /dev/input/by-path/platform-gpiokey.0-event: No such file or directory Spoiler:
That's top, bottom, top, bottom (spaces inserted for legibility) -- with the device upright (buttons on right side) --- Here are the other things you asked for if you still need them: by-path Spoiler:
devices Spoiler:
--- Yes, the KOA2 retains the accelerometer. Switching between upright (buttons on right side) and reversed (buttons on left side): Spoiler:
But that second bit Spoiler:
Last edited by 7hir7een; 07-01-2018 at 09:07 AM. Reason: added platform-gpio-keys-event results; fixed typo; answer question in order |
![]() |
![]() |
![]() |
#26 |
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
|
@7hir7een: Thanks, that was massively helpful
![]() ![]() And the final command failing can be explained by the fact that there's >9 input devices, but I should be able to figure it out thanks to the manual cat I asked you for, so all's good ![]() EDIT: Also, Lua escaping, ooops. Last edited by NiLuJe; 07-01-2018 at 11:15 AM. |
![]() |
![]() |
![]() |
#27 |
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
|
@7hir7een: Hmm, quick question, what's the default mapping for the top button? Backward or Forward?
(I'm looking at a K4 and it was Backward, but looking at the KOA code and what you've logged, it looks like Forward, unless they inverted the keycode between the KOA and the KOA2...) EDIT: Looked at the KOA2 user's guide, it's indeed in the reverse order than on a K2/K3/K4, so, all's good ![]() Last edited by NiLuJe; 07-01-2018 at 11:28 AM. |
![]() |
![]() |
![]() |
#28 |
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
|
OTA 1753 is out and features the result of this latest batch of changes
![]() |
![]() |
![]() |
![]() |
#29 |
Reader of Books
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 178096
Join Date: Oct 2012
Device: Kobo Libra Colour, Clara Colour, Libra 2, Elipsa
|
No go, unfortunately. I can't really see anything different in the crash log, but it's freezing on a blank screen as before when attempting to start the filemanager.
Is there some way to get more in-depth feedback from terminal, maybe? |
![]() |
![]() |
![]() |
#30 |
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
|
@7hir7een:
Hmm. You can try debug mode, see if something better pops up in the logs that way... In koreader/koreader.sh, switch ./reader.lua to ./reader.lua -d (c.f., https://github.com/koreader/koreader...reader.sh#L236) (with a decent text/code editor that won't mangle *nix line endings). And on the off-chance I messed that up, does the path /sys/class/backlight/max77796-bl/brightness actually point to something? EDIT: As for terminal output, I guess our best friend strace might be of help again... ![]() Code:
strace -fitv -p $(pidof reader.lua | sed -e 's/ / -p /g') Last edited by NiLuJe; 07-01-2018 at 01:51 PM. |
![]() |
![]() |
![]() |
Tags |
koa2, koreader |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOA2 KOA2 jail break | knc1 | Kindle Developer's Corner | 470 | 07-03-2020 01:28 AM |
KOA2 getting hot in the sun | Lady Stardust | Amazon Kindle | 17 | 08-20-2018 06:58 PM |
Accessories unofficial accessory of my KOA2 | N31welt | Amazon Kindle | 0 | 01-01-2018 04:55 AM |
KOA2 question about KOA2 storage | fllc | Kindle Developer's Corner | 2 | 11-25-2017 03:18 AM |
KOA2 KOA2 USB mount | j.p.s | Kindle Developer's Corner | 8 | 11-02-2017 11:36 AM |