diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-07 23:02:51 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-07 23:02:51 -0500 |
| commit | 84166860ca325ff5f28ef52191450cc4d9e18bcd (patch) | |
| tree | 9354adddf62212f598433e4c87fc9d199cb7785a /root_scripts/sleep_config.sh | |
| parent | 1b86926425b623532ca4378752000c8f667fb441 (diff) | |
changed boot and sleep configs
Diffstat (limited to 'root_scripts/sleep_config.sh')
| -rwxr-xr-x | root_scripts/sleep_config.sh | 14 |
1 files changed, 8 insertions, 6 deletions
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 |
