From 84166860ca325ff5f28ef52191450cc4d9e18bcd Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 7 May 2025 23:02:51 -0500 Subject: changed boot and sleep configs --- root_scripts/sleep_config.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'root_scripts/sleep_config.sh') diff --git a/root_scripts/sleep_config.sh b/root_scripts/sleep_config.sh index 12f8202..a7b4a1d 100755 --- a/root_scripts/sleep_config.sh +++ b/root_scripts/sleep_config.sh @@ -3,17 +3,19 @@ # script sets up sleep with lid closed after install # adapted from instructions on stevengharms.com # to test -# - -# - -# - - -# update sysctl.conf -echo "hw.acpi.lid_switch_state=S3" >> /etc/sysctl.conf +# - kldstat should show i915kms.ko is installed +# - emulate the lid closing with acpiconf -s3 +# - now close and open the lid. you should come out of sleep # install graphics driver pkg install -y drm-515-kmod +# update sysctl.conf +sysrc -f /etc/sysctl.conf hw.acpi.lid_switch_state=S3 + +# update rc.conf sysrc kld_list="i915kms" +# ensure you and root are in the video group pw groupmod video -M cjennings,root -- cgit v1.2.3