Lighthouse logoHow to compile a kernel module for Lighthouse 64

If you want to rebuild a kernel module because you need to add a patch to it, or maybe it was not built with the rest of the modules, this is how to do it. Here is an example. Let's say I found a patch for the kernel module named appletouch that fixes some problem I have.
  1. You need to have the current Devx-L64_nnn.sfs file installed*

  2. From a terminal, cd to /usr/src/linux-3.7.10/drivers/input/mouse

  3. Apply the patch.

  4. make -C /lib/modules/`uname -r`/build M=`pwd` appletouch.ko

  5. Replace  /lib/modules/3.3.2/kernel/drivers/input/mouse/appletouch.ko  with the one just built.

If you just need to compile a driver that you downloaded, all you need to do is have the devx sfs file installed and follow the directions that came with that driver.

*) The complete configured kernel source is in the Devx-L64_nnn.sfs file at /usr/src/linux-3.7.10 so that sfs file must be installed. To do that place the Devx-L64_nnn.sfs in /mnt/home, then use the BootManager in the Setup menu to load it and reboot. Note that the kernel version mentioned here (3.7.10) is correct for Lighthouse 64 602, it may differ for a different version of Lighthouse.


Back to FAQs Index