View Single Post
Old 09-14-2023, 05:59 PM   #1102
John F
Grand Sorcerer
John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.John F ought to be getting tired of karma fortunes by now.
 
Posts: 7,951
Karma: 70880793
Join Date: Feb 2009
Device: Kobo Clara 2E
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).
So all I need in NM is 2 lines:

Code:
ioctl /dev/ntx_io 241 -v 0
ioctl /dev/ntx_io 241 -v some-number
The first line to turn off the front line and the second line to set it to some light level? But where are the labels for the menu entries?

I appreciate the "teach someone to fish, ..." philosophy, but sometimes you have to give them the fish.
John F is offline   Reply With Quote