matthewwardrop / linux-surfacepro3

Arch Linux package to compile the Linux kernel with patches designed to improve user experience on the Surface Pro 3.
98 stars 19 forks source link

Cannot apply patches on kernel 4.10.0 (Ubuntu) #20

Closed hacker1024 closed 7 years ago

hacker1024 commented 7 years ago

I'm getting an error message when I try to apply the multitouch patch. I'm a complete noob when it comes to kernel development, so I'm following this video: https://www.youtube.com/watch?v=oXuYg5P4EHo

Error:

$ sudo patch -p1 < ../linux-surfacepro3-master/multitouch.patch 

patching file drivers/hid/hid-core.c
Hunk #1 FAILED at 724.
Hunk #2 FAILED at 1927.
2 out of 2 hunks FAILED -- saving rejects to file drivers/hid/hid-core.c.rej
patching file drivers/hid/hid-ids.h
Hunk #1 FAILED at 688.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/hid-ids.h.rej
patching file drivers/hid/hid-microsoft.c
Hunk #1 FAILED at 276.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/hid-microsoft.c.rej
patching file drivers/hid/hid-multitouch.c
Hunk #1 succeeded at 1398 (offset 68 lines).
patching file drivers/hid/usbhid/hid-quirks.c
Hunk #1 FAILED at 95.
1 out of 1 hunk FAILED -- saving rejects to file drivers/hid/usbhid/hid-quirks.c.rej