Wizard
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Probably nothing in KOReader. The best way to collect more information is to figure out how to get in using SSH.
When you are connected to wifi, you can enable Dropbear (USBNet from the USB menu) and connect to your device using
Code:
ssh root@192.168.1.xx #(assuming 192.168.1.x is your local network)
No password. (Or connect through the USB cable, no wifi required but that's typically slightly harder to setup.)
You could have a look at some similar stuff from a few years ago when I figured out how to get KOReader to work on the H2O.
https://www.mobileread.com/forums/sh...&postcount=530
I've attached the Debian armhf build of evtest from here.
https://packages.debian.org/sid/utils/evtest
Using it is slightly annoying, but since this is hardly something I do on a daily basis more efficient means might exist.
1. Stick the evtest executable somewhere. (Like /mnt/onboard/.adds/koreader/evtest)
2. Navigate there through SSH.
3. Execute something like this:
Code:
kill $(pgrep -f "ksmhome") && ./evtest --grab /dev/input/event1
4. Share results after poking around the screen a couple of times. Unfortunately I only have these results for my own H2O but even just putting that next to the H2O2 would hopefully tell us something. (KOReader's debugging output here could be better imo but then again there are dedicated tools like evtest for exactly this purpose.)
Code:
[root@(none) koreader]# ./evtest --grab /dev/input/event1
Input driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "zForce-ir-touch"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 258 (BTN_2)
Event code 307 (BTN_NORTH)
Event code 308 (BTN_WEST)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 1440
Event code 1 (ABS_Y)
Value 0
Min 0
Max 1080
Event code 16 (ABS_HAT0X)
Value 0
Min 0
Max 1440
Event code 17 (ABS_HAT0Y)
Value 0
Min 0
Max 1080
Event code 24 (ABS_PRESSURE)
Value 0
Min 0
Max 2048
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 2
Event code 50 (ABS_MT_WIDTH_MAJOR)
Value 0
Min 0
Max 15
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 1440
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 1080
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min 1
Max 2
Properties:
Testing ... (interrupt to exit)
Event: time 1510346968.993890, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346968.994362, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346968.994384, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346968.994399, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1012
Event: time 1510346968.994409, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 914
Event: time 1510346968.994420, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346968.994429, -------------- SYN_REPORT ------------
Event: time 1510346969.057898, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.058251, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346969.058417, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346969.058436, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1012
Event: time 1510346969.058446, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 915
Event: time 1510346969.058456, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.058464, -------------- SYN_REPORT ------------
Event: time 1510346969.066903, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.067102, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346969.067260, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346969.067415, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1010
Event: time 1510346969.067433, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 918
Event: time 1510346969.067443, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.067451, -------------- SYN_REPORT ------------
Event: time 1510346969.076230, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.076549, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1510346969.076714, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1510346969.076869, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1010
Event: time 1510346969.076887, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 918
Event: time 1510346969.076898, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.076908, -------------- SYN_REPORT ------------
Event: time 1510346969.885472, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.885889, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346969.885911, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346969.885923, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1016
Event: time 1510346969.885933, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 590
Event: time 1510346969.885944, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.885953, -------------- SYN_REPORT ------------
Event: time 1510346969.958721, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.959057, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346969.959213, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346969.959366, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1015
Event: time 1510346969.959514, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 590
Event: time 1510346969.959533, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.959541, -------------- SYN_REPORT ------------
Event: time 1510346969.967240, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346969.967443, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1510346969.967594, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1510346969.967742, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1015
Event: time 1510346969.967887, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 590
Event: time 1510346969.968029, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346969.968043, -------------- SYN_REPORT ------------
Event: time 1510346970.649020, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346970.649444, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346970.649461, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346970.649475, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1193
Event: time 1510346970.649485, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 652
Event: time 1510346970.649496, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346970.649504, -------------- SYN_REPORT ------------
Event: time 1510346970.694653, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346970.694994, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346970.695156, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346970.695176, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1193
Event: time 1510346970.695187, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 651
Event: time 1510346970.695198, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346970.695206, -------------- SYN_REPORT ------------
Event: time 1510346970.703019, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346970.703323, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1510346970.703339, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1510346970.703349, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1193
Event: time 1510346970.703359, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 651
Event: time 1510346970.703370, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346970.703378, -------------- SYN_REPORT ------------
Event: time 1510346971.714113, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346971.714141, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1
Event: time 1510346971.714147, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1
Event: time 1510346971.714156, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 692
Event: time 1510346971.714166, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 635
Event: time 1510346971.714176, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346971.714184, -------------- SYN_REPORT ------------
Event: time 1510346971.731975, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1
Event: time 1510346971.732003, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0
Event: time 1510346971.732008, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0
Event: time 1510346971.732018, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 692
Event: time 1510346971.732028, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 635
Event: time 1510346971.732037, ++++++++++++++ SYN_MT_REPORT ++++++++++++
Event: time 1510346971.732045, -------------- SYN_REPORT ------------
When KSM isn't running you can safely run ./reader.lua -d for KOReader debugging or you can restart KSM.
Code:
sh /adds/kbmenu/onstart/ksmhome.sh
To edit files for quick testing, an easy method other than vim is to connect through Filezilla with sftp://root@192.168.1.xx
Last edited by Frenzie; 11-10-2017 at 04:16 PM.
|