You are not logged in.
Hi everyone, I have an acer C720 Chromebook with the Celeron 2957U processor. This means it has a trackpad that by default is not activated by the kernel, since it is on I2C and I2C is not enumerated by ACPI. However, someone has made a kernel patch to get the linux kernel to activate it anyway, hosted on Github here: https://github.com/GalliumOS/linux-patc … elan.patch. My question is in 2 parts: 1) How can I apply this? I've already read the instructions on the Arch wiki, but I'm having trouble fully understanding them. And my second question is, How can I make this patch be reapplied every time the linux kernel updates? I'd kind of like to not have to manually re-enable my touchpad with every kernel update. Thanks!
Offline
Take the linux PKGBUILD and add this patch to it (there are already a couple of others, so it should be self evident). Change the pkgbase as per the comment and build the new kernel. Then add it to your boot{loader,manager}. Use ABS or Asp for this.
When a new kernel arrives, rinse and repeat.
If you wanted to, you could script this. See the script I use, for example.
Offline
1) https://wiki.archlinux.org/index.php/Ke … ompilation
2) Keep your PKGBUILD. Then when there is a new kernel, just rerun `makepkg -i` or treat it like any other PKGBUILD you wish to update.
(edit: too slow)
To address what I suspect might be a misunderstanding, though: you can't apply a patch to a kernel installed from the binary repos. You must build your own kernel - you can use the ABS to use the repo kernel as a starting point, but you must build it yourself.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks to both of you for the help; I have no clue how I missed the fairly detailed tutorial on the wiki here: https://wiki.archlinux.org/index.php/Ke … ild_System. I guess I didn't read closely enough. I'll go ahead and set up an Arch/Chrome OS dualboot probably tomorrow.
Offline