Public bug reported:

Heya folks,
I know, really old macbook. Not a massive priority but doing my part to reduce 
e-waste :)

On MacBook8,1 (Early 2015, 12" Retina), the internal keyboard and trackpad
do not work after boot despite the applespi driver being loaded and the
IOMMU fix (iommu/vt-d: Restore context entry setup order) being present
in kernel 6.17.

The touchpad does not appear in xinput list, though the keyboard device
may partially initialize.

Workaround: Adding spi_pxa2xx_pci, spi_pxa2xx_platform, and applespi
to /etc/initramfs-tools/modules and rebuilding initramfs resolves the issue:

sudo nano /etc/initramfs-tools/modules

Add these lines:
spi_pxa2xx_pci
spi_pxa2xx_platform
applespi

sudo update-initramfs -u

sudo reboot


This suggests a timing/race condition where the SPI controller needs to be
initialized before IOMMU finalizes device mappings.

Hardware: MacBook8,1 (MacBook 12" Early 2015)
Kernel: 6.17.0-5-generic
Distribution: Xubuntu 24.04

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143682

Title:
  applespi: keyboard/trackpad not working on MacBook8,1 without early
  initramfs module loading

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2143682/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to