View Single Post
Old 04-25-2023, 10:48 PM   #974
Etruj
Junior Member
Etruj began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra
Quote:
Originally Posted by NiLuJe View Post
Warmth is set via sysfs knobs, not the ntx_io ioctl. c.f., KOReader's HAL for more details.

Note that the same caveats as above apply; this will not be in sync with Nickjel's UI.

(You'll notice that you can *also* set the brightness via sysfs knobs on those devices, but this wasn't true for older devices, hence prefering the ioctl for that).

(As for the answer to your actual question; it's in the kernel headers: https://github.com/koreader/KoboUSBM...ms.h#L185-L189
Is there a way to call the sysfs knobs? I searched the forums for more about these knobs and how to maybe call them and set new values and it just circled back to an earlier time you referred to them. Any tips would be appreciated!
Etruj is offline   Reply With Quote