diff options
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 |
