diff --git a/install/config/hardware/fix-apple-t2.sh b/install/config/hardware/fix-apple-t2.sh index 51273f21..40c6942b 100644 --- a/install/config/hardware/fix-apple-t2.sh +++ b/install/config/hardware/fix-apple-t2.sh @@ -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