Wacom CTL-460 and kernel 2.6.36 (patch)

I’m a custom kernel user, more precisely I use zen kernel and my own config, based on one provided by kernel-seeds. It doesn’t matter, the point is I’ve got Wacom Bamboo Pen CTL-460, which works pretty good with my Debian GNU/Linux. I used this particular howto and it went smoothly, without issues. Till today, when I found out, that this step, doesn’t work anymore:

./configure --enable-wacom --with-kernel=/usr/src/linux-headers-`uname -r`

Didn’t had to be genius to find out, that the only thing that changed was my kernel — it is today, when new 2.6.36-zen1 was released, compiled and installed on my OS. Little googling reassured me that my new kernel is the issue. Downgrading kernel is not an option and Linux Wacom Project haven’t updated support for 2.6.36, so it’s pretty broken situation. Then, I found this topic on Ubuntu Forums and those two posts are the most important: one & two. These steps are pretty easy and universal, that’s why I prepared a small patch.

Here you have small and fast instructions how to use it (based on howto mentioned earlier):

wget -c http://downloads.sourceforge.net/project/linuxwacom/linuxwacom/0.8.8-10/linuxwacom-0.8.8-10.tar.bz2
wget -c http://fchabik.com/stuff/wacom/wacom-bamboo-pen.patch.lzma
unp linuxwacom-0.8.8-10.tar.bz2
cd linuxwacom-0.8.8-10
lzcat ../wacom-bamboo-pen.patch.lzma | patch -p1
./configure --enable-wacom --with-kernel=/usr/src/linux-headers-`uname -r`
sudo cp src/2.6.30/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
sudo depmod -a
sudo rmmod wacom
sudo modprobe wacom

It did the trick and now I can use my CTL-460 with 2.6.36 kernel.