View Single Post
Old 11-12-2022, 08:20 AM   #2
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,936
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by csdvrx View Post
Now that the cover buttons are working...
So they are working?

There are still plenty of gestures that you can use.
See: /data/data/com.android.systemui/gestures_config

The cover "Hall effect" sensor (which I believe is some sort of RF sensor actually) generates:
Code:
/* Open */

e1 92 6f 63 00 00 00 00 72 88 01 00 00 00 00 00 01 00 38 00 01 00 00 00 // 0x38 -> 56 -> ALT_LEFT
e1 92 6f 63 00 00 00 00 72 88 01 00 00 00 00 00 00 00 00 00 00 00 00 00 
e1 92 6f 63 00 00 00 00 e4 88 01 00 00 00 00 00 01 00 8f 00 01 00 00 00 // 0x8f -> 143 -> WAKEUP
e1 92 6f 63 00 00 00 00 e4 88 01 00 00 00 00 00 00 00 00 00 00 00 00 00 
e1 92 6f 63 00 00 00 00 eb 88 01 00 00 00 00 00 01 00 8f 00 00 00 00 00 
e1 92 6f 63 00 00 00 00 eb 88 01 00 00 00 00 00 00 00 00 00 00 00 00 00 
e1 92 6f 63 00 00 00 00 f4 88 01 00 00 00 00 00 01 00 38 00 00 00 00 00 
e1 92 6f 63 00 00 00 00 f4 88 01 00 00 00 00 00 00 00 00 00 00 00 00 00

/* Close */

f7 db 6e 63 00 00 00 00 f1 ad 03 00 00 00 00 00 01 00 38 00 01 00 00 00 // 0x38 -> 56 -> ALT_LEFT
f7 db 6e 63 00 00 00 00 f1 ad 03 00 00 00 00 00 00 00 00 00 00 00 00 00 
f7 db 6e 63 00 00 00 00 5e ae 03 00 00 00 00 00 01 00 74 00 01 00 00 00 // 0x74 -> 116 -> POWER
f7 db 6e 63 00 00 00 00 5e ae 03 00 00 00 00 00 00 00 00 00 00 00 00 00 
f7 db 6e 63 00 00 00 00 65 ae 03 00 00 00 00 00 01 00 74 00 00 00 00 00 
f7 db 6e 63 00 00 00 00 65 ae 03 00 00 00 00 00 00 00 00 00 00 00 00 00 
f7 db 6e 63 00 00 00 00 6d ae 03 00 00 00 00 00 01 00 38 00 00 00 00 00 
f7 db 6e 63 00 00 00 00 6d ae 03 00 00 00 00 00 00 00 00 00 00 00 00 00
I would have gone for SLEEP instead of POWER and that ALT_LEFT is unnecessary. Eh, I'll fix it in the kernel.

Last edited by Renate; 11-12-2022 at 08:32 AM.
Renate is offline   Reply With Quote