shithub: wiki.9front.org

Download patch

ref: 506a2bba04264d84a72d8fb49166bfa45a643b70
parent: 89e95268e95255fe126bd29fbf9bc3f658fefeb4
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Jan 22 16:24:54 EST 2025

todo: add acpi events

--- a/todo.md
+++ b/todo.md
@@ -2,13 +2,19 @@
 
 ## 9front
 
-### Less effort
+- ACPI events available to userspace
+  - Certain hardware has buttons that seemingly do not produce any key
+    presses when running 9front.  Things like brightness control, touchpad
+    toggle, power off button and so on.  Those are quite often closely
+    tied to ACPI, and the firmware is responsible - it's supposed to send
+    the needed events to the OS. The issue is that OS (9front) currently
+    does not do anything to set up the receiving of such events.  As a
+    start, setting up a callback inside the kernel and passing those
+    events via some file to the userspace would be ideal.
 
 - plumber(4)
   - Implement `attr` object for the `matches` verb.
 
-### More effort
-
 - Mail
   - Most users want to send mail and access remote mailboxes.  
     Some want to set up their own mailing system.  
@@ -18,6 +24,7 @@
     basic user mail setup very simple. Only access information and
     credentials oughta be provided by the user, the rest should come
     set up with sensible defaults.
+
 - nedmail(1)
   - The documentation is incomplete and its usage spread between the
     manpage and the `help` command, in addition to some undocumented