Date: Mon, 4 Dec 2023 20:24:30 +0200 From: "Dr. Amr Osman" <dr3mro@gmail.com> To: freebsd-hackers@freebsd.org Subject: devd lid close event Message-ID: <CAEYFr1A0_qe5BJR_FVnkEEL1bdYZHbSeidqy6L4mZbVtzROKuw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I have freeBSD 14 on Thinkpad x270, I just did do a fresh install and installed dwm and slock the issue is I want to make laptop lock screen whenever I close the lid here is my /usr/local/etc/devd/lid.conf ``` notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; match "notify" "0x00"; action "/usr/local/bin/slock"; }; ``` here is my /var/run/devd.pipe when I close the lid ``` !system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x00 !system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x00 !system=ACPI subsystem=Suspend type=\ notify=0x03 !system=IFNET subsystem=wlan0 type=LINK_DOWN ``` what am I doing wrong? Thank You Dr. Amr Osman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEYFr1A0_qe5BJR_FVnkEEL1bdYZHbSeidqy6L4mZbVtzROKuw>