Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

openSUSE Kernel Compiled with Apple T2 Support

build result Build T2 openSUSE Kernel

Working as of 2026-07-12 (at least in my limited testing)

This repo is only used for build triggering and release archiving. The actual building process is hosted on Open Build Service.

T2 patches are pull from t2linux/linux-t2-patches developed by the t2linux project.

  1. Use script to export the wifi driver to Linux
  2. Add intel_iommu=on iommu=pt pm_async=off to /etc/kernel/cmdline
  3. echo apple-bce | sudo tee /etc/modules-load.d/t2.conf
  4. echo "force_drivers+=\" apple-bce \"" | sudo tee /etc/dracut.conf.d/t2linux-modules.conf
  5. sudo dracut --force
  6. (Optional) Install t2fanrd for fan control. Available in my OBS repo.

Note: tiny-dfr does not appear to work with Intel T2 Macs(?)

Common issues

Fix NM notification

cat <<EOF | sudo tee /etc/udev/rules.d/99-network-t2-ncm.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="ac:de:48:00:11:22", NAME="t2_ncm"
EOF
cat <<EOF | sudo tee /etc/NetworkManager/conf.d/99-network-t2-ncm.conf
[main]
no-auto-default=t2_ncm
EOF

Fix suspend

Create and enable /etc/systemd/system/suspend-fix-t2.service:

[Unit]
Description=Disable and Re-Enable Apple BCE Module (and Wi-Fi)
Before=sleep.target
StopWhenUnneeded=yes

[Service]
User=root
Type=oneshot
RemainAfterExit=yes

#ExecStart=/usr/bin/modprobe -r brcmfmac_wcc
#ExecStart=/usr/bin/modprobe -r brcmfmac
ExecStart=/usr/bin/rmmod -f apple-bce

ExecStop=/usr/bin/modprobe apple-bce
#ExecStop=/usr/bin/modprobe brcmfmac
#ExecStop=/usr/bin/modprobe brcmfmac_wcc

[Install]
WantedBy=sleep.target

On my setup I had to uncomment those 4 lines, YMMV.

About

openSuse kernel with added Apple T2 support

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors