View Single Post
Old 01-27-2023, 12:02 PM   #938
akadaedalus
Enthusiast
akadaedalus began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Jun 2008
Device: Kobo Libra 2, Sony PRS-500
Quote:
Originally Posted by NiLuJe View Post
Turns out it's https://github.com/jerome-pouiller/ioctl .

So, my example above is as simple as `ioctl /dev/ntx_io 241 -v 0` (I *think* the WiFi/BT power stuff also takes a value, not a pointer, but I'm in no position to double-check right now).
That worked great for the front light, thank you.

I attempted the similar syntax to match the IOCTL call I saw earlier. Sadly it appears I need more than that. I'll keep poring through the strace and probably dive in some source code.

ps, I appreciate your efforts. I had the o.g. Sony Libre but when Sony stopped making readers I lived in a world of disappointment with tablet apps and a locked-down Kindle. This thing is fun again.
akadaedalus is offline   Reply With Quote