Originally Posted by
TheguywholikesLINUX
I am guessing that I am probably in the same situation as ehfortin.
You both are most likely are going to have the same issues because of the touch.
For now, I have created the two patches. This is for the 2.6.28 kernel only (Jaunty) and should cover the CTH-460, CTH-661, and the CTL-460 models. The wcm_working_patch is the current mostly stable version that should get the stylus and eraser to work. The wcm2_patch is the current testing version. Unfortunately, I am unable to test it because I don't have a device to test it with.
To use it, you will need to use the linuxwacom-0.8.4-3 version from the sourceforge site. I chose this one only because it was the most recent stable version.
One of the prerequisites is that we need to make sure that libhal-dev is installed so that it will build hal-setup-wacom (needed for .fdi file configuration):
Code:
sudo apt-get install libhal-dev
Attached is the tarball that contains the patches. To extract it:
Code:
tar -xvjf wcm_working_patch.tar.bz2
Once you have downloaded the linuxwacom source, you can extract it and then go into the directory
Code:
tar -xvjf linuxwacom-0.8.4-3.tar.bz2
cd linuxwacom-0.8.4-3
From there, copy the patches into the directory (there is an intentional period at the end of the line:
Code:
cp ../wcm_working_patch/*.patch .
Next patch the source:
Code:
patch -p1 < wacom_wac.c.patch
patch -p1 < wcmUSB.c.patch
patch -p1 < wacom_wac.h.patch
If you are using the wcm2_patch, you will need to also do the following:
Code:
patch -p1 < wacusb.c.patch
patch -p1 < wactablet.h.patch
patch -p1 < wacom_sys.c.patch
patch -p1 < wacomcpl-exec.patch
You can then compile as usual:
Code:
make clean
./configure --enable-wacom --prefix=/usr
make
If there are no errors:
Code:
sudo make install
sudo cp src/2.6.28/wacom.ko /lib/modules/$(uname -r)/kernel/drivers/input/tablet/
After that, you can restart and hopefully we will have some information in /var/log/messages.
To configure the device, people have started with using the 10-linuxwacom.fdi file from this post.
wcm2_patch udpate: This current version might fix the scrolling problem when the pen is close to the pad.
It now also contains a maxTouchX and Y setting to see if we can activate the wacom-touch event.
Initialized the abs parameter for touch.
Corrected maxTouchX typo.
The Bamboo Pen is now set to 1023 for pressure.
The 0xD<n> series have been added for wacdump. It currently is set with one channel because I am not for sure what the channels do.
wacomcpl should now be configured for these devices.
I have reverted line 174 in wacom_wac.c to be != instead of & to reset the eraser.
The 0x80 code has been added back into data to see if it helps the eraser.
Fixed the resolution for Wacom Pen and Touch device.
I have removed the pad data again just to verify that it will not crash and hopefully isolate the issue with the eraser.
Bookmarks