[Newbies] 2009 MacBook Trackpad Issues
Tofloor
poster avatar
FairyKid64
deepin
2022-04-18 10:31
Author

Hello. I have a 2009 MacBook Pro that I'm trying to get Deepin Linux running on. I've installed it, but the trackpad is not working properly. It is very glitchy and doesn't let me click. Also, the cursor only goes up and down when I move my finger. When I plug in a regular USB mouse and restart the computer, I can move the cursor again. There are no touchpad settings available in the settings app. Am I missing drivers or something?

Any help is appreciated. Thank you!

Reply Favorite View the author
All Replies
black_white_bear
deepin
2022-04-18 16:55
#1
  • Linux and Mac OS both are the kind of Unix systems as my understand
  • There may be something that can help on this issue, but it can not provide as powerful interaction as Mac does because of patent limitation
Reply View the author
Ziggy
deepin
2022-04-18 18:24
#2

I suggest you to change to a 4.19kernel

Reply View the author
deepinuser17
deepin
2022-04-18 20:02
#3

You need to install spi driver.

 

Try following steps

echo -e "\n# applespi\napplespi\nspi_pxa2xx_platform\nintel_lpss_pci" | sudo tee -a /etc/initramfs-tools/modules
sudo apt install git
sudo git clone https://github.com/PatrickVerner/macbook12-spi-driver.git /usr/src/applespi-0.1
sudo dkms install -m applespi -v 0.1
sudo modprobe intel_lpss_pci spi_pxa2xx_platform applespi apple-ib-tb
sudo shutdown -r now

 

Reply View the author
FairyKid64
deepin
2022-04-19 17:43
#4
Ziggy

I suggest you to change to a 4.19kernel

Thank you for your response. How do I switch kernels?

Reply View the author
FairyKid64
deepin
2022-04-19 17:43
#5
deepinuser17

You need to install spi driver.

 

Try following steps

echo -e "\n# applespi\napplespi\nspi_pxa2xx_platform\nintel_lpss_pci" | sudo tee -a /etc/initramfs-tools/modules
sudo apt install git
sudo git clone https://github.com/PatrickVerner/macbook12-spi-driver.git /usr/src/applespi-0.1
sudo dkms install -m applespi -v 0.1
sudo modprobe intel_lpss_pci spi_pxa2xx_platform applespi apple-ib-tb
sudo shutdown -r now

 

Thank you. I tried this, and after rebooting, it still didn't work correctly - exactly like before.

Reply View the author
Ziggy
deepin
2022-04-19 19:06
#6
FairyKid64

Thank you. I tried this, and after rebooting, it still didn't work correctly - exactly like before.

install the two packages with aptitude(suggest) or apt:linux-headers-4.19.0-6-common linux-image-4.19.0-6-amd64

Reply View the author
FairyKid64
deepin
2022-04-19 19:40
#7
Ziggy

install the two packages with aptitude(suggest) or apt:linux-headers-4.19.0-6-common linux-image-4.19.0-6-amd64

Thank you. So, instead of

sudo dkms install -m applespi -v 0.1

I should do:

sudo apt install -m applespi -v 0.1

right? And keep all the other commands the same? Sorry - I'm a newbie on this stuff.

Reply View the author
Ziggy
deepin
2022-04-19 19:53
#8
FairyKid64

Thank you. So, instead of

sudo dkms install -m applespi -v 0.1

I should do:

sudo apt install -m applespi -v 0.1

right? And keep all the other commands the same? Sorry - I'm a newbie on this stuff.

yes,aptitude install xxx or apt install xxx

Reply View the author
FairyKid64
deepin
2022-04-20 17:20
#9
Ziggy

yes,aptitude install xxx or apt install xxx

Hello Ziggy,

I was able to fix the issue finally. I read in a Deepin GitHub issue that this has actually been a problem for a while now since 2020, but it was fixed in kernel 5.15, so I updated to the stable kernel branch from 5.10 following these instructions:

https://www.deepin.org/en/2021/03/16/instructions-of-dual-kernels/

And now it's working! I also ran a sudo apt-get update before the stable branch installation, but yeah - the trackpad is working on my Mac so far. If I notice anything else broken on the new kernel, then I'll make a new post for questions.

Thank you for your idea to change kernels!

Reply View the author