mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Enable tiny-dfr and t2fanrd services on T2 Macs (#3792)
This commit is contained in:
committed by
GitHub
parent
c5ebad0b67
commit
9dc8e0c051
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user