The following is the GNU All-permissive License as recommended in https://www.gnu.org/licenses/license-recommendations.en.html

Copyright (C) 2024 Free Software Foundation sysadmin@fsf.org

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.

Contributions are welcome. See https://savannah.gnu.org/maintenance/fsf/.

kcma-d8 motherboard

coreboot config

place into .config in coreboot git repo, with branch 4.11_branch:

\# This image was built using coreboot 4.11-55-g4401498041
CONFIG_VENDOR_ASUS=y
CONFIG_BOARD_ASUS_KCMA_D8=y
CONFIG_DRIVERS_PS2_KEYBOARD=y
CONFIG_PXE_ROM_ID="8086,10d3"
CONFIG_POWER_STATE_PREVIOUS_AFTER_FAILURE=y
CONFIG_CPU_MICROCODE_CBFS_NONE=y
CONFIG_SEABIOS_ADD_SERCON_PORT_FILE=y
CONFIG_PXE=y
CONFIG_BUILD_IPXE=y
CONFIG_MEMTEST_SECONDARY_PAYLOAD=y

Ethernet PCI IDs, for iPXE: 8086,10d3

fancontrol

ian: for some reason I did fancontrol instead of thinkfan on John's d8. I can't remember why.

apt install fancontrol lm-sensors

cat >/etc/modules <<'EOF'
# from sensors-detect
w83627ehf
w83795
EOF

# the module loading order matters for the names of the devices.
# /etc/modules sets a specific order.
# if for some reason they were loaded in a different order, you will
# need to reboot.

modprobe w83627ehf
modprobe w83795

cat > /etc/fancontrol <<'EOF'
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon4=devices/pci0000:00/0000:00:14.0/i2c-1/1-002f
DEVNAME=hwmon4=w83795g
FCTEMPS=hwmon4/device/pwm1=hwmon4/device/temp7_input
FCFANS= hwmon4/device/pwm1=hwmon4/device/fan1_input
# based on our thinkfan config
MINTEMP=hwmon4/device/pwm1=55
MAXTEMP=hwmon4/device/pwm1=75
# pwncomfig put this at 150, way too high
MINSTART=hwmon4/device/pwm1=50
MINSTOP=hwmon4/device/pwm1=0

# note, the k10temp has duplicate temp of the cpu,
# but upon reboot, its path changed from hwmon1 to hwmon2
# so better to use hwmon4
EOF

Device names on a specific motherboard might be different from above, in that case, run pwmconfig to generate a working config, then possibly copy in some values from the above config.