Skip to content

Instantly share code, notes, and snippets.

@jansc
Created October 25, 2020 09:54
Show Gist options
  • Save jansc/572eea32ba067a7639bf9d731fa3dd68 to your computer and use it in GitHub Desktop.
Save jansc/572eea32ba067a7639bf9d731fa3dd68 to your computer and use it in GitHub Desktop.
ThinkPad X250 loader.conf
kern.vty=vt
# https://unrelenting.technology/articles/freebsd-on-the-thinkpad-x240
# Place devices in low-power mode when no driver found
# See also https://www.davidschlachter.com/misc/t480-freebsd
hw.pci.do_power_nodriver=3
#drm.i915.enable_rc6=7
hw.snd.latency=7
hint.pcm.0.buffersize=65536
hint.pcm.1.buffersize=65536
hint.pcm.2.buffersize=65536
hw.snd.feeder_buffersize=65536
# Userland character device driver for webcams
cuse_load="YES"
fuse_load="YES"
vboxdrv_load="YES"
uarduno_load="YES"
clear_tmp_enable="YES"
sendmail_enable="NONE"
hostname="badister"
keymap="no.kbd"
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
create_args_wlan0="country NO regdomain NONE"
sshd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
autofs_enable="YES"
cupsd_enable="YES"
dictd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
# Xorg settings
slim_enable="YES"
dbus_enable="YES"
hald_enable="YES"
#kld_list="/boot/modules/drm.ko"
#kld_list="/boot/modules/drm.ko /boot/modules/i915kms.ko"
kld_list="/boot/modules/i915kms.ko"
# https://www.c0ffee.net/blog/freebsd-on-a-laptop/
powerd_enable="YES"
powerd_flags="-a hiadaptive -b adaptive -i 75 -r 85 -p 500"
performance_cx_lowest="Cmax"
economy_cx_lowest="Cmax"
# try also
ifconfig_wlan0="WPA DHCP powersave"
# Webcam daemon
webcamd_enable="YES"
syncthing_enable="YES"
postgresql_class="postgres"
postgresql_enable="YES"
spotifyd_enable="YES"
mysql_enable="YES"
devfs_system_ruleset="localrules"
musicpd_enable="YES"
smartd_enable="YES"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment