Skip to content

Instantly share code, notes, and snippets.

@roadrunner2
Last active November 6, 2026 22:58
Show Gist options
  • Select an option

  • Save roadrunner2/1289542a748d9a104e7baec6a92f9cd7 to your computer and use it in GitHub Desktop.

Select an option

Save roadrunner2/1289542a748d9a104e7baec6a92f9cd7 to your computer and use it in GitHub Desktop.
Linux on MacBook Pro Late 2016 and Mid 2017 (with Touchbar)

Introduction

This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).

The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.

Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - see the updated instructions below and make sure to update your clone of the roadrunner2/macbook12-spi-driver repo to get the latest drivers.

Summary Of Current State

What works

  • Booting (i.e Grub etc)
  • Recognizes disk on all models (older kernels may need patch for some models, though)
  • Keyboard, touchpad, and basic touchbar functionality
  • HiDPI detection
  • Accelerated video
  • Screen brightness control
  • Keyboard backlight
  • USB
  • Sensors (install lm_sensors package)
  • Camera
  • Bluetooth (older kernels need patches)
  • WiFi on MBP13,1 and MBP14,1
  • Thunderbolt
  • DisplayPort

What doesn't work

  • WiFi on ,2 and ,3 models (though some folks have had success with some of the workarounds)
  • Suspend/Resume (works partially on 13,3 models)
  • Audio (two cards show up, and intel driver is loaded, but no sound)

Details

Partitioning

If you want to keep your MacOS installation (generally a good idea if you can afford the disk space, because that's the only way to get/install firmware updates), then first boot into MacOS and resize the partition there, creating a new partition for the Linux installation. If you also want to have a Windows partition, see this comment below.

Warning: If you're not going to keep MacOS, either back up the EFI System Partition (and restore its contents to the new ESP after installation) or leave it intact (i.e. don't do a full disk install, but just use the space after the ESP). This partition (it's the first one) contains drivers/firmware/etc needed by Apple's EFI loader during boot, in particular to initialize the Touchbar.

Initial Installation

Since the internal keyboard and touchpad won't work until you have built and loaded the drivers, you'll need to plug in an external USB keyboard to do the initial setup and installation.

Booting

If you're booting a 4.11 or later kernel, no special params or patches are needed.

If you're booting a kernel < 4.11 and have a MacBookPro13,1, MacBookPro13,2, MacBookPro14,1 or MacBookPro14,2 (13inch models), which have the Apple NVMe controller, you'll need the kernel-nvme-controller.patch from this gist in order for the disk to be correctly recognized (MacBookPro13,3 uses a Samsung NVMe controller which is automatically detected correctly). Alternatively, instead of patching you can also do the following (for distros using something other than dracut to create the initrd you'll need to adjust the 2nd and 3rd lines appropriately):

echo 'install nvme /sbin/modprobe --ignore-install nvme $CMDLINE_OPTS; echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id' | sudo tee /etc/modprobe.d/nvme.conf
echo 'force_drivers+="nvme"' | sudo tee /etc/dracut.conf.d/disk.conf
sudo dracut --force --kver <kernel-version>

If you're booting a kernel < 4.10 then you'll need the following kernel param to boot properly: intremap=nosid. E.g.

sudo sed -i 's/\(GRUB_CMDLINE_LINUX=.*\)"/\1 intremap=nosid"/' /etc/default/grub
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Lastly, if you are booting a live CD or similar with a kernel < 4.9 then you will also need to add the nomodeset kernel parameter to your kernel line; you will then not have proper HiDPI detection or accelerated graphics.

Keyboard/Touchpad/Touchbar

For this we need the drivers from https://github.com/roadrunner2/macbook12-spi-driver.git (a clone of https://github.com/cb22/macbook12-spi-driver which includes a preliminary touchbar driver and keyboard fixes). The following commands set this up.

First some extra packages:

sudo dnf install git kernel-devel dkms

Next we need to prepare for the modules to be included in the ramdisk (so they are loaded early during boot):

cat <<EOF | sudo tee /etc/dracut.conf.d/keyboard.conf
# load all drivers needed for the keyboard+touchpad
add_drivers+="applespi intel_lpss_pci spi_pxa2xx_platform apple-ib-tb"
EOF

On distros using mkinitramfs instead of dracut you'll want to do the following instead:

cat <<EOF | sudo tee -a /etc/initramfs-tools/modules
# drivers for keyboard+touchpad
applespi
apple-ib-tb
intel_lpss_pci
spi_pxa2xx_platform
EOF

Now get and build the drivers:

git clone https://github.com/roadrunner2/macbook12-spi-driver.git
pushd macbook12-spi-driver
git checkout touchbar-driver-hid-driver
sudo ln -s `pwd` /usr/src/applespi-0.1
sudo dkms install applespi/0.1
popd

Next we need to set the proper dpi for the touchpad and adjust the sensitivity (download the 61-evdev-local.hwdb, 61-libinput-local.hwdb, and local-overrides.quirks from this gist - the 61-evdev-local.hwdb is only needed for udev < 242, the 61-libinput-local.hwdb is needed for libinput versions < 1.12, the local-overrides.quirks for libinput versions >= 1.12):

# if 'udevadm --version' less than 242:
sudo cp ...the-downloaded-61-evdev-local.hwdb... /etc/udev/hwdb.d/61-evdev-local.hwdb
# if 'libinput --version' less than 1.12:
sudo cp ...the-downloaded-61-libinput-local.hwdb... /etc/udev/hwdb.d/61-libinput-local.hwdb
# if 'libinput --version' 1.12 or later:
sudo cp ...the-downloaded-local-overrides.quirks... /etc/libinput/local-overrides.quirks
sudo systemd-hwdb update

You can test the drivers by loading them and their dependencies:

sudo modprobe intel_lpss_pci spi_pxa2xx_platform applespi apple-ib-tb

Finally, reboot to make sure it all works correctly:

sudo reboot

Screen Brightness Control

Screen brightness control works out of the box on MacBookPro13,1 and MacBookPro13,2 (all kernels), and MacBookPro13,3 with recent kernels, but requires a kernel patch on MacBookPro13,3 with older kernels (see also Dunedan/mbp-2016-linux#2). Specifically, if you have any of these kernels you need to patch: < 4.14, 4.14 - 4.14.21, 4.15 - v4.15.5 (i.e. the issue was fixed in 4.14.21, 4.15.5, and 4.16). The following will create and install the patched apple-gmux:

mkdir apple-gmux
pushd apple-gmux

curl -o apple-gmux.patch 'https://bugzilla.kernel.org/attachment.cgi?id=192601'
curl -o apple-gmux.c 'https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/drivers/platform/x86/apple-gmux.c?id=refs/tags/v4.9.11'

patch < apple-gmux.patch

echo -e '
obj-m += apple-gmux.o

all:
\tmake -C /lib/modules/`uname -r`/build M=`pwd` modules
' > Makefile
make

mod=$(ls /lib/modules/`uname -r`/kernel/drivers/platform/x86/apple-gmux.ko*)
sudo mv $mod{,.orig}
sudo cp apple-gmux.ko /lib/modules/`uname -r`/kernel/drivers/platform/x86/
sudo depmod

popd

sudo reboot

Other

The touchpad defaults to using the bottom-left corner for right-clicks - to get 2-finger right click, install the Gnome tweak tool and change it in there.

WiFi

WiFi works fine on MBP13,1 and MBP14,1. But the other models use a different chipset, and while on those the brcmfmac driver is automatically loaded, there are a number of issues with it, making it for all practical purposes unusable:

  • it only does 2.4GHz - no 5GHz channels are visible
  • it has an extremely low sensitivity - you must be within a few feet of the base station, and even at 5 feet distance it shows a weak signal.
  • it stops working after 10 or 15 or so minutes; turning WiFi off, waiting a several minutes, and then turning it back on generally gets it working again. Maybe a thermal issue?

Bug report: https://bugzilla.kernel.org/show_bug.cgi?id=193121

In the mean time some folks have that one or both of the following hacks make the WiFi work well enough them (personally, while they do improve the situation, I have not found them to be sufficient enough for actual work, i.e. I still see many packet drops and connection failures - YMMV):

  • reduce the transmit power: sudo iwconfig wlp3s0 txpower 10
  • edit the firmware blob (/lib/firmware/brcm/brcmfmac43602-pcie.bin) and modify the regrev and ccode values (see the above bugreport for details)

Display

The amdgpu driver works well and is automatically loaded on MacBookPro13,3. On the 13 inch models the use of the intel Xorg driver may need to be forced (see first comment below).

Using the iGPU (*,3 models only)

The *,3 models have both an iGPU (intel) as well as a dGPU (amd). By default the dGPU is used. While this works well, it does use a lot more power than the iGPU. The following will set things up so the machine uses the iGPU upon boot (but see the caveats below):

mkdir gpu-switch
cd gpu-switch

# Enable the iGPU at boot
curl -O -L https://github.com/0xbb/apple_set_os.efi/releases/download/v1/apple_set_os.efi

sudo mkdir /boot/efi/EFI/custom
sudo cp apple_set_os.efi /boot/efi/EFI/custom

config_dir=$(dirname $(sudo find /boot -name grub.cfg))
cat <<"EOF" | sudo tee "$config_dir"/custom.cfg > /dev/null
insmod chain
search --no-floppy --set=cuspart --file /EFI/custom/apple_set_os.efi
chainloader (${cuspart})/EFI/custom/apple_set_os.efi
boot
EOF

# Switch the default gpu on boot to iGPU
curl -O -L https://raw.githubusercontent.com/0xbb/gpu-switch/master/gpu-switch
chmod +x gpu-switch

./gpu-switch -i

# Service to disable the dGPU
cat <<EOF | sudo tee /etc/systemd/system/disable-dgpu.service > /dev/null
[Unit]
Description=Disable the dGPU

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'echo OFF > /sys/kernel/debug/vgaswitcheroo/switch'
ExecStop=/bin/sh -c 'echo ON > /sys/kernel/debug/vgaswitcheroo/switch'
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
EOF

sudo chmod 644 /etc/systemd/system/disable-dgpu.service

cd -

Once you then disable the dGPU this will save save you about 5W - 6W, or ⅓ of the power. However, there are several caveats to aware of:

  • The dGPU needs to be manually disabled after each boot and first login with sudo systemctl start disable-dgpu - trying to have it run automatically at boot via systemctl enable disable-gpu leads to hangs.
  • In order to use an external display (via Thunderbolt/DisplayPort) the dGPU needs to be enabled again (the iGPU is not wired up for that): sudo systemctl disable disable-dgpu
  • The amd driver does not handle disabling and re-enabling the of the dGPU very well. In particular system shutdown may hang or just take several minutes, and you may see various errors in the kernel logs when disabling and re-enabling.
  • If you boot into MacOS, then when booting back into Linux you'll need to change the default gpu back to the iGPU again: boot, run gpu-switch/gpu-switch -i, and reboot.

Camera

MacBookPro13,3/14,3: works out of the box on kernels 4.13 and later; on earlier kernels you need the following:

echo "options uvcvideo quirks=0x100" > /etc/modprobe.d/uvcvideo.conf

For MacBookPro[13,14],[12] you need the bcwc_pcie driver (mainline branch) - see also Dunedan/mbp-2016-linux#15.

Bluetooth

As of kernel 4.16 bluetooth works out of the box; older kernels need patches - see Dunedan/mbp-2016-linux#29 (comment) and following discussion for details. But in short you'll need to:

  • Ensure your kernel is configured with CONFIG_BT_HCIUART_BCM=y
  • apply the patches from hci_bcm-4.13, hci_bcm-4.14, or hci_bcm-4.15, depending on whether you have a 4.13 or earlier, 4.14, or 4.15 kernel.
  • build and reboot
  • on 4.14 and earlier apply the service patch from the above comment and start the service as described there (not necessary on 4.15 and later).

Note that as of 4.16 there are still issues on MacBookPro13,1 and MacBookPro14,1 - see the above bug for details on what additional patches are needed.

# MacBook8,1 (2015), MacBook9,1 (2016), MacBook10,1 (2017)
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook8,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook9,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBook10,1:*
EVDEV_ABS_00=::95
EVDEV_ABS_01=::90
EVDEV_ABS_35=::95
EVDEV_ABS_36=::90
# MacBookPro13,* (Late 2016), MacBookPro14,* (Mid 2017)
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,2:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,1:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,2:*
EVDEV_ABS_00=::96
EVDEV_ABS_01=::94
EVDEV_ABS_35=::96
EVDEV_ABS_36=::94
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro13,3:*
evdev:name:Apple SPI Touchpad:dmi:*:svnAppleInc.:pnMacBookPro14,3:*
EVDEV_ABS_00=::96
EVDEV_ABS_01=::95
EVDEV_ABS_35=::96
EVDEV_ABS_36=::95
libinput:name:*Apple SPI Touchpad*:dmi:*
LIBINPUT_MODEL_APPLE_TOUCHPAD=1
LIBINPUT_ATTR_TOUCH_SIZE_RANGE=200:150
LIBINPUT_ATTR_PALM_SIZE_THRESHOLD=1200
libinput:name:*Apple SPI Keyboard*:dmi:*
LIBINPUT_ATTR_KEYBOARD_INTEGRATION=internal
--- a/drivers/nvme/host/pci.c 2017-01-22 21:49:03.710949755 -0800
+++ b/drivers/nvme/host/pci.c 2017-01-22 21:49:23.490761505 -0800
@@ -2121,6 +2121,7 @@
.driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY, },
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_EXPRESS, 0xffffff) },
{ PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2001) },
+ { PCI_DEVICE(PCI_VENDOR_ID_APPLE, 0x2003) },
{ 0, }
};
MODULE_DEVICE_TABLE(pci, nvme_id_table);
[MacBook(Pro) SPI Touchpads]
MatchName=*Apple SPI Touchpad*
ModelAppleTouchpad=1
AttrTouchSizeRange=200:150
AttrPalmSizeThreshold=1100
[MacBook(Pro) SPI Keyboards]
MatchName=*Apple SPI Keyboard*
AttrKeyboardIntegration=internal
[MacBookPro Touchbar]
MatchBus=usb
MatchVendor=0x05AC
MatchProduct=0x8600
AttrKeyboardIntegration=internal
@pvraj

pvraj commented Nov 21, 2024 •

Copy link
Copy Markdown

Thank you so much @TheOnly3aq ! It looks like direct messaging on GitHub is no longer around; I made a separate gist and tagged you to exchange contact info to not derail the existing thread

@stefand

stefand commented Jan 10, 2025

Copy link
Copy Markdown

With Linux 6.11 I am running into a new issue: The brcmfmac is crashing on load:
...
[ 10.190822] ? strlen+0x4/0x30
[ 10.190825] devm_kstrdup+0x25/0x70
[ 10.190831] brcmf_of_probe+0x273/0x350 [brcmfmac]

I sent a patch for this issue and it has been accepted into wireless-next: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/commit/?id=082d9e263af8de68f0c34f67b251818205160f6e

However, this bug is unlikely to affect many people: It only happens if you have CONFIG_OF enabled in your kernel, which is a very odd thing to do on x86_64 platforms. In my case it was enabled by accident.

I have no news on the touch bar regression though, nor have I heard back from the t2linux people. I still revert the patch that caused the regression manually in my kernels.

@EleriLove

Copy link
Copy Markdown

audio works.

@olivero09

Copy link
Copy Markdown

audio works.

How did you manage to get sound to work? I tried so much on my MacBook 14.2 (2017) but also on my Mac 18.2 also from (2017) I have not manage to get the sound to work. I can link my Bluetooth headphones but apart from this, thee internal speakers do not work. I tried Fedora, Zorin.

@EleriLove

EleriLove commented Jan 21, 2026 •

Copy link
Copy Markdown

@olivero09 the driver for the audio card is built into the kernel right now. so it's actually fairly simple, if you're still having issues, fully uninstall all your sound stuff, this will likely uninstall a LOT of stuff because of the dependencies,

my sound actually stopped working yesterday and I ended up uninstalling half the operating system and reinstalling it,

doing so reset the configuration of pipewire which allowed it to work again. I hope this works, also I've had a lot more luck with pipewire.

I am on arch but as long as you're relatively on a newish kernel it should work fine,

if for some reason you're not able to get the sound driver to work in the kernel you might need to install it normally via apt or pacman or whichever type you use.

this is the driver snd_hda_macbookpro.git

@stefand

stefand commented Jan 21, 2026

Copy link
Copy Markdown

Upon @EleriLove 's comment I tested the upstream cs8409 driver from Linux 6.18. Sadly it still does not work for me. I still need http://github.com/davidjo/snd_hda_macbookpro to make sound work.

@EleriLove

EleriLove commented Jan 22, 2026 via email

Copy link
Copy Markdown

@srbijaoglasi

Copy link
Copy Markdown

Solid documentation. Just used this to set up a dev environment for our platform Autobazar. Everything works except the 5GHz WiFi issue which is still a pain on ,3 models. Thanks for keeping this updated!

@supergarotinho

Copy link
Copy Markdown

For the firmware side of things--for any who may have wiped their EFI partition like me. It's a bit of a pain, but if you hold Option-R during the initial boot phase, the apple EFI loader will put you into recovery mode, where you can wipe your disk, and subsequently perform a fresh install of OSX from scratch. After that, the EFI partition will contain all of the previously-missing firmware, specific to your machine's model.

I also wiped my efi partition and Option+R did not worked. So, i made a macos startup disk and renstalled the macos. After that, installed ubuntu keeping the EFI files on the EFI partition, but i got the same error with the touchbar when unbind/bind it echo '1-3' | sudo tee /sys/bus/usb/drivers/usb/unbind.

I think that the way i got to recover the macbook it is not recovering all EFI original files in the EFI partition. Bellow is a list of files before installing ubuntu:

./.fseventsd/fseventsd-uuid
./.fseventsd/0000000000750c0d
./.fseventsd/0000000000750c0e
./EFI/APPLE/EMBEDDEDOS/combined.memboot
./EFI/APPLE/EMBEDDEDOS/FDRData
./EFI/APPLE/EMBEDDEDOS/version.plist

Could you please check if i am missing some efi files (probably the driver ones)? Also, if you have those, could you please upload them somewhere?

Thanks!!!

@Nuube

Nuube commented Aug 23, 2026 •

Copy link
Copy Markdown

There is a solution for Wifi on 13,2. With some luck it works on 13,3 as well:

https://bugzilla.kernel.org/show_bug.cgi?id=193121#c97

@mheineck

Copy link
Copy Markdown

Fix: Touch Bar dark after S3 suspend/resume on T1 MacBook Pros (2016–2017, MacBookPro13,x/14,x)

After every S3 resume the Touch Bar stays dark, and no HID-level revival works — the T1
acknowledges USB writes (SET_FEATURE ok) but discards them internally, so mode and
display reports go nowhere. Only a reboot brings the bar back.

The root cause: the T1's rendering subsystem needs a firmware-level wake call after
resume — ASOC.SOCW — which HID userspace cannot reach. I've been running this fix on
a MacBookPro14,2 (elementary OS, kernel 7.0) and the bar now survives suspend/resume
reliably across repeated cycles:

1. Wake call via acpi_call (requires the acpi_call DKMS module):

echo '\_SB.PCI0.XHC1.RHUB.ASOC.SOCW 0x1' | sudo tee /proc/acpi/call

2. Call it from a systemd resume unit (After=suspend.target, WantedBy=suspend.target):

[Unit]
Description=Wake Apple T1 (iBridge) and restart touchbar daemon after suspend
After=suspend.target

[Service]
Type=oneshot
ExecStartPre=/sbin/modprobe acpi_call
ExecStart=/bin/sh -c "echo '\_SB.PCI0.XHC1.RHUB.ASOC.SOCW 0x1' > /proc/acpi/call; sleep 1; systemctl restart t1-touchbar.service"

[Install]
WantedBy=suspend.target

3. Disable USB runtime suspend for the iBridge via udev (otherwise the T1 falls
asleep between writes and the same state loss occurs):

SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}="8600", \
    ATTR{power/control}="on", ATTR{autosuspend_delay_ms}="-1"

This matches the failure signature reported in several threads since 2017 (HID writes
succeed, bar stays dark) and complements the kernel-driver workarounds —
AJ-dev-i60/t1-touchbar#4 documents the same root cause from the driver side
(skip_acpi_power skips SOCW, bar stays dark after S3).

⚠️ Caveat: an unconditional ASOC.SOCW(1) at driver probe time is reported to
hard-freeze some T1 machines (that's why skip_acpi_power=1 exists). Calling it once at
resume time from userspace works stable on my 14,2 — but test carefully on your model,
and check your DSDT for the exact path if it differs (grep SOCW dsdt.dsl).

Full write-up: mythopoeic/macbookpro14-3-linux#2

@EleriLove

Copy link
Copy Markdown
nls_utf8               12288  4
cifs                 2170880  2
nls_ucs2_utils          8192  1 cifs
rdma_cm               155648  1 cifs
iw_cm                  69632  1 rdma_cm
ib_cm                 155648  1 rdma_cm
ib_core               561152  4 rdma_cm,cifs,iw_cm,ib_cm
libarc4                12288  1 cifs
cifs_md4               12288  1 cifs
dns_resolver           16384  1 cifs
netfs                 626688  1 cifs
rfcomm                106496  4
snd_seq_dummy          12288  0
snd_hrtimer            12288  1
snd_seq               135168  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
xt_conntrack           12288  2
xt_MASQUERADE          16384  2
bridge                462848  0
stp                    12288  1 bridge
llc                    16384  2 bridge,stp
xfrm_user              77824  1
xfrm_algo              16384  1 xfrm_user
xt_set                 24576  0
ip_set                 69632  1 xt_set
nft_chain_nat          12288  5
xt_addrtype            12288  4
nft_compat             20480  8
nf_tables             393216  80 nft_compat,nft_chain_nat
nfnetlink              20480  4 nft_compat,nf_tables,ip_set
sch_fq                 24576  1
overlay               245760  0
wireguard             122880  0
libcurve25519          65536  1 wireguard
ip6_udp_tunnel         16384  1 wireguard
udp_tunnel             32768  1 wireguard
snd_hda_codec_intelhdmi    28672  1
snd_hda_codec_hdmi     61440  1 snd_hda_codec_intelhdmi
cmac                   12288  4
algif_hash             16384  1
algif_skcipher         12288  1
af_alg                 28672  6 algif_hash,algif_skcipher
bnep                   36864  2
intel_rapl_msr         20480  0
intel_rapl_common      53248  1 intel_rapl_msr
intel_uncore_frequency    12288  0
intel_uncore_frequency_common    16384  1 intel_uncore_frequency
snd_hda_codec_cs8409   188416  1
intel_pmc_core_pltdrv    12288  0
snd_hda_codec_generic   114688  1 snd_hda_codec_cs8409
intel_pmc_core        155648  0
pmt_telemetry          16384  1 intel_pmc_core
pmt_discovery          16384  1 pmt_telemetry
pmt_class              20480  2 pmt_telemetry,pmt_discovery
intel_pmc_ssram_telemetry    16384  1 intel_pmc_core
intel_vsec             28672  2 intel_pmc_ssram_telemetry,pmt_telemetry
intel_tcc_cooling      12288  0
snd_hda_intel          69632  1
x86_pkg_temp_thermal    16384  0
intel_powerclamp       20480  0
snd_soc_avs           266240  0
coretemp               24576  0
snd_soc_hda_codec      28672  1 snd_soc_avs
uvcvideo              180224  0
snd_hda_ext_core       36864  2 snd_soc_avs,snd_soc_hda_codec
kvm_intel             532480  0
videobuf2_vmalloc      20480  1 uvcvideo
snd_hda_codec         217088  7 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_codec_intelhdmi
uvc                    12288  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_hda_core          143360  9 snd_hda_codec_generic,snd_soc_avs,snd_hda_codec_hdmi,snd_soc_hda_codec,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_intelhdmi
kvm                  1433600  1 kvm_intel
videobuf2_v4l2         40960  1 uvcvideo
snd_intel_dspcfg       49152  2 snd_soc_avs,snd_hda_intel
snd_intel_sdw_acpi     16384  1 snd_intel_dspcfg
videobuf2_common       90112  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_hwdep              24576  1 snd_hda_codec
irqbypass              16384  1 kvm
snd_soc_core          430080  2 snd_soc_avs,snd_soc_hda_codec
videodev              405504  2 videobuf2_v4l2,uvcvideo
polyval_clmulni        12288  0
iTCO_wdt               16384  0
ghash_clmulni_intel    12288  0
mc                     86016  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
aesni_intel           102400  6
intel_pmc_bxt          16384  1 iTCO_wdt
snd_compress           32768  2 snd_soc_avs,snd_soc_core
vfat                   24576  1
brcmfmac_wcc           12288  0
fat                   114688  1 vfat
apple_mfi_fastcharge    16384  0
iTCO_vendor_support    12288  1 iTCO_wdt
mei_pxp                20480  0
mei_hdcp               28672  0
applesmc               32768  0
brcmfmac              610304  1 brcmfmac_wcc
rapl                   20480  0
ac97_bus               12288  1 snd_soc_core
hci_uart              204800  0
brcmutil               20480  1 brcmfmac
snd_pcm_dmaengine      20480  1 snd_soc_core
intel_cstate           20480  0
snd_pcm               217088  8 snd_soc_avs,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
btqca                  32768  1 hci_uart
i2c_i801               36864  0
snd_timer              57344  3 snd_seq,snd_hrtimer,snd_pcm
intel_uncore          266240  0
pcspkr                 12288  0
pwrseq_core            28672  1 hci_uart
i2c_smbus              20480  1 i2c_i801
snd                   159744  16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
cfg80211             1466368  1 brcmfmac
apple_ib_als           20480  0
btrtl                  32768  1 hci_uart
soundcore              16384  1 snd
i2c_mux                16384  1 i2c_i801
btbcm                  24576  1 hci_uart
industrialio_triggered_buffer    12288  1 apple_ib_als
btintel                73728  1 hci_uart
mei_me                 57344  2
kfifo_buf              12288  1 industrialio_triggered_buffer
intel_xhci_usb_role_switch    12288  0
mmc_core              299008  1 brcmfmac
thunderbolt           585728  0
8250_dw                24576  0
industrialio          143360  3 industrialio_triggered_buffer,kfifo_buf,apple_ib_als
roles                  16384  1 intel_xhci_usb_role_switch
mei                   208896  5 mei_hdcp,mei_pxp,mei_me
sbs                    20480  0
bluetooth            1130496  34 btrtl,btqca,btintel,hci_uart,btbcm,bnep,rfcomm
rfkill                 45056  7 bluetooth,cfg80211
sbshc                  20480  1 sbs
joydev                 24576  0
mousedev               28672  0
mac_hid                12288  0
iptable_nat            12288  0
nf_nat                 61440  3 nft_chain_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          196608  3 xt_conntrack,nf_nat,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
ip_tables              36864  1 iptable_nat
nf_defrag_ipv4         12288  1 nf_conntrack
x_tables               69632  7 xt_conntrack,nft_compat,xt_addrtype,xt_set,ip_tables,iptable_nat,xt_MASQUERADE
sg                     53248  0
i2c_dev                28672  0
crypto_user            16384  0
bpf_preload            20480  0
i915                 4829184  31
dm_mod                233472  6
drm_buddy              12288  1 i915
i2c_algo_bit           24576  1 i915
hid_sensor_hub         32768  0
nvme                   77824  3
ttm                   126976  1 i915
nvme_core             274432  4 nvme
intel_gtt              32768  1 i915
nvme_keyring           20480  1 nvme_core
nvme_auth              32768  1 nvme_core
hkdf                   12288  1 nvme_auth
drm_display_helper    278528  1 i915
cec                    98304  2 drm_display_helper,i915
video                  81920  1 i915
wmi                    32768  1 video
spi_pxa2xx_platform    12288  0
dw_dmac                12288  0
spi_pxa2xx_core        36864  1 spi_pxa2xx_platform
intel_lpss_pci         28672  4
intel_lpss             12288  1 intel_lpss_pci
idma64                 20480  0
apple_ib_tb            28672  0
apple_ibridge          28672  2 apple_ib_als,apple_ib_tb
applespi               61440  0

mod list for my laptop with functioning wifi and audio hopefully this helps others,

I'm running arch as it's just... easier for this stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment