Thinkpad X230 suspend/resume under FreeBSD 11.1

Installing FreeBSD 11.1 on Lenovo Thinkpad X230 laptop is not working out-of-the-box even in 21. century. Suspend/resume doesn't work in default install. It's neccessary to put: #use vt instead of syscons kern.vty=vt #lenovo kernel drivers (suspend button doesn't work after) acpi_ibm_load="YES" acpi_video_load="YES" i915kms_load="YES" in /boot/loader.conf and hw.pci.do_power_suspend=0 hw.pci.do_power_resume=1 hw.pci.do_power_nodriver=3 #suspend when lid is closed hw.acpi.lid_switch_state=S3 in /etc/sysctl.conf There is a nasty bug hidding the success of this settings -- if you make laptop sleep in first console (ttyv1), screen stays dark after resume. Just switch to another ttyv (ALT+F2 or something) and voila! Thanks to Michael Cardell Widerkrantz for advices! EOF Comments requested ~~~~~~~~~ Binary Sxizophreny - index of comp related stuff Kangaroo's Homepage (czech)