View Single Post
Old 11-08-2017, 07:02 AM   #8
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
Originally Posted by Jipyan View Post
I made a debug log.

-Started Koreader.
-Touched the screen a lot.
- Put it to sleep
- Woke it up
- Touched the screen
- Switched it off

Upon first inspection it seems the touches are registered.
What are the precise conditions of those logs? I imagine you didn't tap quite that quickly? Normally a tap would look something like this:

Code:
11/08/17-12:37:43 DEBUG input event => type: 3, code: 57(nil), value: 0, time: 1510141063.446016
11/08/17-12:37:43 DEBUG input event => type: 3, code: 53(nil), value: 202, time: 1510141063.446022
11/08/17-12:37:43 DEBUG input event => type: 3, code: 54(nil), value: 403, time: 1510141063.446024
11/08/17-12:37:43 DEBUG input event => type: 0, code: 0(nil), value: 0, time: 1510141063.446025
11/08/17-12:37:43 DEBUG in tap state...
11/08/17-12:37:43 DEBUG set up hold timer
11/08/17-12:37:43 DEBUG AutoSuspend: onInputEvent
11/08/17-12:37:43 DEBUG input event => type: 3, code: 57(nil), value: -1, time: 1510141063.539426
11/08/17-12:37:43 DEBUG input event => type: 0, code: 0(nil), value: 0, time: 1510141063.539428
11/08/17-12:37:43 DEBUG in tap state...
11/08/17-12:37:43 DEBUG set up tap timer
11/08/17-12:37:43 DEBUG in tap timer true
11/08/17-12:37:43 DEBUG single tap detected in slot 0 {
    ["y"] = 403,
    ["x"] = 202,
    ["h"] = 0,
    ["w"] = 0
}


There are three primary things I'd try first if I had the device myself (besides evtest).

Nothing:
Code:
local KoboSnow = Kobo:new{
    model = "Kobo_snow",
    hasFrontlight = yes,
    display_dpi = 265,
    -- the bezel covers the top 11 pixels:
    viewport = Geom:new{x=0, y=11, w=1080, h=1429},
}
touch_phoenix_protocol = true (like my own H2O from 2014)
Code:
local KoboSnow = Kobo:new{
    model = "Kobo_snow",
    hasFrontlight = yes,
    touch_phoenix_protocol = true,
    display_dpi = 265,
    -- the bezel covers the top 11 pixels:
    viewport = Geom:new{x=0, y=11, w=1080, h=1429},
}
touch_alyssum_protocol = true (it has been featured on at least one 2016 model)
Code:
local KoboSnow = Kobo:new{
    model = "Kobo_snow",
    hasFrontlight = yes,
    touch_alyssum_protocol = true,
    display_dpi = 265,
    -- the bezel covers the top 11 pixels:
    viewport = Geom:new{x=0, y=11, w=1080, h=1429},
}
Frenzie is offline   Reply With Quote