Fix for Debian 3.13
rofellos51 opened this issue · 2 comments
rofellos51 commented
In the latest kernel, chromeos_laptop.c was moved from drivers/platform/x86 to drivers/platform/chrome. To fix this, here's the diff that I used:
21c21
< wget -O - https://patchwork.kernel.org/patch/$patch/raw/ | patch -p1
---
> wget -O - https://patchwork.kernel.org/patch/$patch/raw/ | sed 's/x86/chrome/g' | patch -p1
35c35
< make SUBDIRS=drivers/platform/x86 modules
---
> make SUBDIRS=drivers/platform/chrome modules
40,41c40,41
< sudo mv /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko.orig
< sudo cp drivers/platform/x86/chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/
---
> sudo mv /lib/modules/$mykern/kernel/drivers/platform/chrome/chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/chromeos_laptop.ko.orig
> sudo cp drivers/platform/chrome/chromeos_laptop.ko /lib/modules/$mykern/kernel/drivers/platform/x86/
my mouse works. horray!
chislon commented
Confirmed working
liangcj commented
Thanks for the note and the confirmation - I will add this to the guide