Enable tiny-dfr and t2fanrd services on T2 Macs (#3792)

This commit is contained in:
Dimitrie Hoekstra
2025-12-08 10:24:07 +01:00
committed by GitHub
parent c5ebad0b67
commit 9dc8e0c051

View File

@@ -11,6 +11,13 @@ if lspci -nn | grep -q "106b:180[12]"; then
t2fanrd \
tiny-dfr
# Add user to video group (required for tiny-dfr to access /dev/dri devices)
sudo usermod -aG video ${USER}
# Enable T2 services
sudo systemctl enable t2fanrd.service
sudo systemctl enable tiny-dfr.service
echo "apple-bce" | sudo tee /etc/modules-load.d/t2.conf >/dev/null
echo "MODULES+=(apple-bce usbhid hid_apple hid_generic xhci_pci xhci_hcd)" | sudo tee /etc/mkinitcpio.conf.d/apple-t2.conf >/dev/null