View Single Post
Old 03-10-2019, 06:15 AM   #11
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by NiLuJe View Post
@BloodRagg: Whoops, I meant event0, my bad -_-". In any case, hard to make use of, since both Nickel & KOReader grab it exclusively.

The usual caveat with dealing with raw input events is the usual crap with the three of four different variants used by various Kobo models :/.
At that point neither of them are loaded. Still cant grab anything from event0 for some odd reason. Even when nothing is running...
ps |grep -v '\['
PID USER TIME COMMAND
1 root 0:00 init
830 root 0:00 inetd -f /tmp/inetd.conf
834 root 0:00 {busybox} telnetd -i
835 root 0:00 -sh
23044 root 0:00 ps

** found it, was using evtest instead of raw dev **

Also found that event2 is the g_sensor and can be used for screen rotation.
When I picked up my device and it started puking all kinds coordinates. xyz

But most important is to turn on /off the frontlight, i started looking through github but i could not find a /dev or /sys to write to. Any ideas on that ? I feel like a real dumbass here..

Last edited by BloodRagg; 03-10-2019 at 06:21 AM.
BloodRagg is offline   Reply With Quote