How to Add N-Trig Touch Capability to Ubuntu Jaunty’s Current Kernel (2.6.28-16.55)
The following is a guide on how to download the source code for the Ubuntu kernel, adding the necessary N-Trig patches, compiling the kernel and installing it. This guide is based on the Kernel Compile guide in the Ubuntu Community Documentation.
Preparation
Step 1:
Install the missing dependencies
Step 2:
Install any missing kernel development tools
Step 3:
Install any missing dependencies needed for the source code
Building the kernel deb files
Step 1:
Download the Ubuntu kernel source code
Step 2:
Download the patches tarball
Step 3:
Unpack the tarball
Step 4:
Change to the linux-2.6.28 source code directory
Step 5:
Copy the hid-ntrig.c source into the Ubuntu linux source
Step 6:
Patch the source
Step 7:
Make splitconfig.pl executable so that we can update the configuration files
Step 8:
Update the configuration files
Step 9:
During the update, it will ask you the following four times:
Answer m all four times so it will create the hid_ntrig.ko module.
Step 10:
Compile the source
This will take a long time to compile (a little over an hour for me).
Step 11:
The .deb files are in the parent directory so change to it
Step 12:
Install the .deb files
32-bit generic version
64-bit generic version
Verify that /boot/grub/menu.lst reflects the correct linux version (2.6.28-16-generic) and reboot!
Note: For those of you who want to use Red_Lion’s rotate script from this link, you will need to change this:
to this:
[...] oleh Repo Ubuntu 2.6.28-15-generic #52. Dengan mengikuti cara patching kernel untuk n-trig touch di sini , akhirnya saya berhasil meng-generate paket kernel terbaru yakni : [...]