The Linux Wacom Project
SourceForge.net Logo

Linux Wacom Project HOWTO

3.8 - Building usbmouse.o, evdev.o, mousedev.o, and hid.o (for kernel 2.4)






In the linuxwacom-0.8.0-3.tar.bz2 file, you will find mousedev.c, usbmouse.c, hid-core.c, evdev.c, and input.c files which have special exceptions for wacom. These files are not built by default, so you will need to reconfigure the package and run make again.

If your kernel is older than 2.4.22, the modules will be built using the sources at src/2.4. If your kernel is 2.4.22 or newer, the modules will be built using the sources at src/2.4.22. input.o is only needed for kernels older than 2.4.22.

[jej@ayukawa wacom]$./configure --enable-hid --enable-usbmouse --enable-mousedev --enable-evdev --enable-input --with-kernel=your-kernel-src-dir
...
  BUILD OPTIONS:
              hid.o - yes
         usbmouse.o - yes
            evdev.o - yes
         mousedev.o - yes
            input.o - yes
...
[jej@ayukawa wacom]$ make

First off, if the code does not build, and you cannot chase the problem down yourself, send me a line. If your kernel is much older than 2.4.18, then you may have to resign yourself to the fact that the 2.4.19 drivers are not going to work for you. I would recommend upgrading your kernel.

Before installing the drivers, please backup the originals. Then, use the following steps to install the drivers into the proper directories. Use locate as you did for the wacom.o file if necessary.

For systems with kernel 2.4 and older than kernel 2.4.22:

[jej@ayukawa wacom]$su
[jej@ayukawa wacom]#cd src/2.4
[jej@ayukawa 2.4]#cp hid.o /lib/modules/your-kernel-ver/kernel/drivers/usb
[jej@ayukawa 2.4]#cp usbmouse.o /lib/modules/your-kernel-ver/kernel/drivers/usb
[jej@ayukawa 2.4]#cp evdev.o /lib/modules/your-kernel-ver/kernel/drivers/input
[jej@ayukawa 2.4]#cp mousedev.o /lib/modules/your-kernel-ver/kernel/drivers/input
[jej@ayukawa 2.4]#cp input.o /lib/modules/your-kernel-ver/kernel/drivers/input
[jej@ayukawa 2.4]#reboot

For systems with kernel 2.4.22 or newer:

[jej@ayukawa wacom]$su
[jej@ayukawa wacom]#cd src/2.4.22
[jej@ayukawa 2.4.22]#cp hid.o /lib/modules/your-kernel-ver/kernel/drivers/usb
[jej@ayukawa 2.4.22]#cp usbmouse.o /lib/modules/your-kernel-ver/kernel/drivers/usb
[jej@ayukawa 2.4.22]#cp evdev.o /lib/modules/your-kernel-ver/kernel/drivers/input
[jej@ayukawa 2.4.22]#cp mousedev.o /lib/modules/your-kernel-ver/kernel/drivers/input
[jej@ayukawa 2.4.22]#reboot
As before with some other distributions, if the files in the kernel module directory are compressed, you'll need to run gzip on the .o files to get .o.gz files.






Copyright (C) 2002-2008 - LinuxWacom -Last updated September 1, 2008
This website and its contents are licensed under the GNU FDL.