Quote:
Originally Posted by NiLuJe
It's an ioctl, so, no idea if anyone ever tried to handle ioctls in shell  .
|
Compiled it and it works more or less, not that great. Its missing something
ioctl is used in android toolbox, so i dl the source
https://gfiber.googlesource.com/vend...ource/toolbox/
Dumped everything out except ioctl and i can
enable the light with: ioctl /dev/ntx_io 241 0
and turn it off with: ioctl /dev/ntx_io 241
for some reason i cannot set the brightness.
My luck that id stumble on this thread after that whole escapade:
https://www.mobileread.com/forums/sh...d.php?t=200706
Quote:
Originally Posted by NiLuJe
EDIT³: You might be able to go through sysfs though (at least on *some* devices, f.g, /sys/class/backlight/mxc_msp430.0/brightness on Mk.7).
|
AuraHD doesnt have any brightness that responds afai tested it.
Quote:
Originally Posted by NiLuJe
EDIT²: Fun fact: on the Forma, while the gsensor is still accessible @ event2, you only get raw X/Y/Z coords from there. The computed "misc" rotation events have moved to the ntx events @ event0.
|
What would be the reason, except only having to read out event0 ?
Quote:
Originally Posted by Frenzie
He did say "afaik".  My H2O doesn't have an event2 in any case.
|
You'd think the HD was the prototype that later became the H20. Its not like they cut corners and changed the hardware ... at least from what i've seen.