Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchbar Issue: PatrickVerner/macbook12-spi-driver Repo NOT FOUND #200

Open
davidfuzju opened this issue Jul 10, 2024 · 2 comments
Open

Comments

@davidfuzju
Copy link

any one help offer PatrickVerner/macbook12-spi-driver source code ?

@radbirb
Copy link

radbirb commented Jul 24, 2024

Use https://github.com/marc-git/macbook12-spi-driver, mbp-2016-linux is pretty outdated unfortunately, though do note that even marc-git's repo may not work in recent kernels, see #189

(do note that I also believe some distro's versions of usbmuxd break the driver, you can work around that (#189 (comment) / libimobiledevice/usbmuxd#138) or use a git version of usbmuxd)

@foice
Copy link

foice commented Oct 12, 2024

I used the module from marc-git following the instructions there and finishing it up with modprobe intel_lpss_pci spi_pxa2xx_platform applespi apple-ib-tb. After reboot it worked on my Debian 12 running 6.1.0-25-amd64 . Please note that in apple-ibridge.c you need to change

static void appleib_remove(struct acpi_device *acpi)

to

static int appleib_remove(struct acpi_device *acpi)

and at the end of the function change
return;
to
return 0; to comply with the function now being a int type.

This gist was also useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants