Comment 27 for bug 990260

Revision history for this message
In , kernel-bugzilla.3.atliang (kernel-bugzilla.3.atliang-linux-kernel-bugs) wrote :

(In reply to comment #12)
> :~$ cat /lib/modules/`uname -r`/kernel/drivers/input/mouse/sentelic.c
> cat: /lib/modules/3.2.0-24-generic/kernel/drivers/input/mouse/sentelic.c:
> File
> not found
> :~$ cd /lib/modules/`uname -r`/kernel/drivers/input/mouse/
> :/lib/modules/3.2.0-24-generic/kernel/drivers/input/mouse$ ls
> appletouch.ko gpio_mouse.ko logibm.ko psmouse.ko synaptics_i2c.ko
> bcm5974.ko inport.ko pc110pad.ko sermouse.ko vsxxxaa.ko
>
> I do not know what to do. Simply create a new file sentelic.c? And then
> what?

  You'll need to get the full kernel source code to rebuild kernel. https://help.ubuntu.com/community/Kernel/Compile should give you some hints. For example:

 $ apt-get source linux-image-3.2.0-24-generic
 $ sudo apt-get build-dep linux-image-3.2.0-24-generic
 $ cd linux-3.2.0
 $ chmod +x debian/scripts/misc/* debian/scripts/*
 $ debian/rules updateconfigs
 $ vi drivers/input/mouse/sentelic.c # add #define FSP_DEBUG and #define DEBUG
 $ env skipabi=true fakeroot debian/rules binary-generic

 If nothing goes wrong, you should see a installable package such like ../linux-image-3.2.0-24-generic_3.2.0-24.37_i386.deb in the parent directory.