]> git.zerfleddert.de Git - m1-debian/commitdiff
more tips for backlight
authorThomas Glanzmann <thomas@glanzmann.de>
Mon, 21 Feb 2022 22:36:24 +0000 (23:36 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Mon, 21 Feb 2022 22:36:24 +0000 (23:36 +0100)
doc/notes.txt

index fbfd019052d0c51380f3cf5429cd17111dbff3f3..3aa321f173321dd501c1fbefe18a631578b5a846 100644 (file)
@@ -59,3 +59,12 @@ echo 1 > /sys/module/hid_apple/parameters/swap_opt_cmd
 
 08:54 < mixi> Glanzmann: the command you're looking for should be "dtc -I dtb -O dts /sys/firmware/fdt"
 08:57 < jannau> Glanzmann: dtc -I fs -O dts -o - /proc/device-tree
+
+# j`ey on hack to hookup lid close/open
+23:19 < j`ey> apple_smc_event_received in drivers/platform/apple/smc_core.c is a good place to start looking
+
+# kettenis on the same issue using existing infrastructure
+23:20 < kettenis> so the lid is hooked up to gP01
+23:24 < kettenis> looks like you could try hooking that up using gpio-keys-polled
+23:27 < Glanzmann> kettenis: So gpio-keys-polled would poll gP01 and send a key event and than I could use my window manager to do something when that key event is received?
+23:29 < kettenis> look at arch/arm/boot/dts/imx6q-novena.dts
Impressum, Datenschutz