![]() |
#226 |
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
|
That should indeed be the right keycodes for the Forma
![]() Non multitouch devices will NOT emit ABS:MT_POSITION_X, although, AFAIK, everything should emit KEY:BTN_TOUCH ![]() EDIT: ... at least for actual touch events. No idea for swipes. In which case, the obvious non-mt equivalent to ABS:MT_POSITION_X is ABS:ABS_X Last edited by NiLuJe; 07-23-2019 at 02:29 PM. |
![]() |
![]() |
![]() |
#227 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 139260
Join Date: Dec 2016
Device: KV, Forma, Libra Colour
|
Does "devinputeventdump" ignore the SYN reports or it returning multiple events on it's read?
The check_event() looks like it's could receive multiple events... Just curious before I drop it on tonight to test. |
![]() |
![]() |
![]() |
#228 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
you can see what it returns if you set debug=1
after some trial and error with dd and hexdump - it worked yet didn't. short reads missing the event we were interested in, delay due to unwanted pipe buffereing or waiting for additional block when read wasn't short, and added to that the general cumbersomeness of doing this for more than one device in parallel, etc. etc. I caved in and wrote a little C helper to just poll across devices and just dump whatever events there are. The interpretation of those still happens on the shell side A few things fell under the bus while doing so (whoops, touchscreen= button= update= is currently uneffective) I'll re-implement those later. Right now it's experimental and the main question is, does it drain the battery or not, and does it work otherwise too. Last edited by frostschutz; 07-23-2019 at 03:09 PM. |
![]() |
![]() |
![]() |
#229 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 26552
Join Date: Jan 2017
Device: Kobo Forma
|
Perfect thank you @frostschutz - have installed and buttons work. Will now watch and confirm battery.
EDIT: Two hours later and so far so good. Buttons work and no battery drain! Last edited by poczynek; 07-23-2019 at 08:51 PM. |
![]() |
![]() |
![]() |
#230 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
|
![]() |
![]() |
![]() |
#231 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 26552
Join Date: Jan 2017
Device: Kobo Forma
|
|
![]() |
![]() |
![]() |
#232 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
touchscreen still works?
anything appear if you set debug=1 in config file as well as add {debug} to the date format? it could be in permanent cooldown mode but that should require one input device to be permanent ballistic if there's nothing even with debug, it might have quit entirely ... is it back after reboot? on my two H2O's everything is normal after a night of standby... also reacts to (power) button... don't have a Forma to test other device conditions myself, unfortunately |
![]() |
![]() |
![]() |
#233 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 26552
Join Date: Jan 2017
Device: Kobo Forma
|
Quote:
Yep will try the debug. Sent from my SM-G970F using Tapatalk |
|
![]() |
![]() |
![]() |
#234 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@frostschutz,
A second set of test observations. I've just installed the July 23 version on my Forma in the last few minutes. Here are my Forma's current config settings. Spoiler:
I'll test the battery drain once I've recharged the Forma back to 100%. ETA follow-up: I read normally for a little while. Turning the page via button works often, but not always. I haven't spotted a pattern of when it does/doesn't work. There was no excessive battery drain whilst reading. I'm about to put it in standby mode for a few hours, using a sleepcover. I'll add more when I wake it up again. Last edited by jackie_w; 07-24-2019 at 09:11 AM. Reason: ETA |
![]() |
![]() |
![]() |
#235 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 139260
Join Date: Dec 2016
Device: KV, Forma, Libra Colour
|
Quote:
If you want just buttons only try changing your config so it shows this: whitelist=KEY:F23 KEY:F24 |
|
![]() |
![]() |
![]() |
#236 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Ah, OK. Those settings are still present in the miniclock.example.cfg file so I assumed I still had to set them.
Thanks. I'll try this plus I'll comment out the above touchscreen/button lines. |
![]() |
![]() |
![]() |
#237 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49
Karma: 139260
Join Date: Dec 2016
Device: KV, Forma, Libra Colour
|
I half wonder if it wouldn't be better to hook into libnickel and update ReadingFooter or TextHeader and inject the clock into the formatted footer/header...
Granted there'd be more upkeep for different firmware versions but it wouldn't need to rely on external methods.. I'd think it resolve any potential batter drain as well. The things I think about while data processes on my machine at work during the day. |
![]() |
![]() |
![]() |
#238 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,857
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#239 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 26552
Join Date: Jan 2017
Device: Kobo Forma
|
Just to clarify my testing yesterday:
8am - installed experimental version. Quick test and buttons worked showing date/time. 10am - quick check and no battery drain and tested a few times with buttons and worked 4pm to 5pm - the first time where i actually read a book since this version. Still no battery drain but more often than not pressing the buttons would not give me the date/time. Maybe around 1 in 15 pages it would come up. |
![]() |
![]() |
![]() |
#240 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
I don't want to make this kind of mod, myself. Not really sure what is going on with the Forma, any chance any of you could enable debug=1 for a while? (guess I should have made that a debug log textfile instead of on-screen display... I might do that in the next version.) Need more info or it's a blindfold guessing game ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
I (almost) spend more time reading about e-readers than e-reading | Antoinekamel | General Discussions | 15 | 02-25-2013 10:48 AM |
360 PB360 display gets "stripes" from time to time | klaetsch | PocketBook | 1 | 01-05-2011 04:49 AM |
How to get the time to display | synic | Sony Reader | 9 | 06-10-2009 06:05 PM |
Time Display | Jenny123 | Sony Reader | 2 | 04-23-2009 02:06 PM |
Time Display? | MickeyC | Sony Reader | 3 | 02-10-2008 11:57 PM |