[other] Wacom Bamboo Pen and Touch Series Development

view story

http://ubuntuforums.org – This thread is the development thread for the Wacom Bamboo Pen and Touch series tablets. We are trying to develop the patches to submit to the linuxwacom source. We currently have the pen portion working for the device and if you would like to try it out, please follow the instructions in post 541 from this thread. If you want to help in the testing of the device, please continue. We are going to try a different approach on getting the driver installed. To make sure that you have all the development tools: Code: sudo apt-get update sudo apt-get install wacom-tools xserver-xorg-input-wacom sudo apt-get install libhal-dev Do the following if you are NOT using Karmic: Code: sudo apt-get purge wacom-tools xserver-xorg-input-wacom sudo apt-get build-dep xserver-xorg-input-wacom If you are using Karmic also include the following: Code: wget http://kernel.ubuntu.com/git-repos/ubuntu/linux-2.6/drivers/hid/hid-ids.h sudo cp ./hid-ids.h /lib/modules/`uname -r`/build/drivers/hid/hid-ids.h We are going to start using the 0.8.5-1 version at this point. It looks like there is going to be another release soon so this will be updated shortly after that occurs. You can retrieve this version from here. Attached at the bottom of this post is the current set of patches for the source. Prepare the source for patching: Code: tar -xvjf linuxwacom-0.8.5-1.tar.bz2 tar -xvjf wcm_patch-0.8.5-1.tar.bz2 cp wcm_patch-0.8.5-1/* linuxwacom-0.8.5-1 cd linuxwacom-0.8.5-1 Patch the source: Code: patch -p1 < fdi.patch patch -p1 < wacom_sys.c.patch patch -p1 < wacom_wac.h.patch patch -p1 < wactablet.h.patch patch -p1 < wcmUSB.c.patch patch -p1 < wacom.rules.patch patch -p1 < wacom_wac.c.patch patch -p1 < wacomcpl-exec.patch patch -p1 < wcmConfig.c.patch Compile and install: Code: make clean make distclean ./configure --enable-wacom --prefix=/usr make sudo make install sudo cp src/2.6.28/wacom.ko /lib/modules/$(uname -r)/kernel/drivers/input/tablet/ sudo depmod -a To reload the module: Code: sudo modprobe -r wacom sudo modprobe wacom NOTE: The 'make clean' and 'make distclean' will produce an error message if you have not done a ./configure before. This is because the source has never been compiled yet and the Makefiles have not been created yet (the Makefile gets built with the ./configure command). Therefore there is nothing to clean up. The new experimental stuff is that I have added the .fdi and udev rules as a patch. So when the source is installed (in the sudo make install command above) they should automatically go to the correct place. The files are labled as 10-linuxwacom.fdi (It is Favux's modified version--test3) and should go to /usr/share/hal/fdi/policy/20thirdparty. There is also a 60-wacom.rules file in src/util but it does not look like it is automatically installed (I could be wrong about this) that has the devices listed. You can try to copy that to /lib/udev/rules.d/40-xserver-xorg-input-wacom.rules: Code: sudo cp src/util/60-wacom.rules /lib/udev/rules.d/40-xserver-xorg-input-wacom.rules If there are any corrections that need to be made, please let me know. Attached Files wcm_patch.0.8.5-1.tar.bz2 (4.0 KB) (Hardware)