Hello,
I have installed FreeBSD 13.1-RC3 on a Thinkpad x250 and all works fine now with drm-devel-kmod, sleep works fine and I am using BSPWM with lemonBar
but the screen never autolocks so I did try to add a devd rule in /etc/devd/lid.conf with the following contents
and set
in /etc/sysctl.conf
it now sleeps fine too but also don't lock the screen
I did try to debug by replace xlock command with
I am lost here any help is appreciated
thank you
amr
I have installed FreeBSD 13.1-RC3 on a Thinkpad x250 and all works fine now with drm-devel-kmod, sleep works fine and I am using BSPWM with lemonBar
Code:
hw.acpi.lid_switch_state=s3
Code:
# Notify lid close/open events.
# copy me to /etc/devd and restart devd
notify 20 {
match "system" "ACPI";
match "subsystem" "Lid";
match "notify" "0x00";
action "/usr/bin/su (my user name) -c '/usr/local/bin/xlock'";
action "acpiconf -s3";
};
Code:
hw.acpi.lid_switch_state=NONE
it now sleeps fine too but also don't lock the screen
I did try to debug by replace xlock command with
echo "OK" >> /tmp/log.txt
and it works but not the xlock command even if I did copy it to terminal it works fineI am lost here any help is appreciated
thank you
amr
Last edited by a moderator: