HOWTO: Wacom Bamboo CTH301K in Debian

This is a short documentation on getting Wacom Bamboo CTH301K working in Debian. I use Debian Sid with Linux kernel 3.16 at the time of writing this. But this should work with latest Ubuntu(14.04 or 14.10) and new kernels.

Wacom Bamboo CTH301K is an entry level touch pad with stylus – you can use it as a mouse, or drawing pad with stylus. It has multitouch features like pinch zoom and all. I got all working.

Eventhough wacom has drivers for their many models in linux kernel, this particular model with device id: 056a:0318 does not have a driver in kernel. When you connect it, you will see it is listed in the lsusb output as
Bus 003 Device 016: ID 056a:0318 Wacom Co., Ltd

But touch or stylus wont work because of missing driver. First step to get stylus working is adding usbhid.quirks=0x056a:0x0318:0x40000000 to the grub boot cmdline. For this, edit /etc/default/grub. Append the above string to GRUB_CMDLINE_LINUX_DEFAULT. In my system it looked like as follows:

GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd usbhid.quirks=0x056a:0x0318:0x40000000"

You need to save this file and run update-grub command to get this updated in grub. There are alternate ways to pass this string to modprob, but this method make sure it works always in every system restart. Once done, you will see the stylus getting detected and working. Touch will not work still-This is because the default wacom driver picked up does not know about this device.

To get touch working, open /usr/share/X11/xorg.conf.d/50-wacom.conf and add MatchIsTablet "on" to the first section of that file. In my machine it looked like

Section "InputClass"
        Identifier "Wacom USB device class"
        MatchUSBID "056a:*"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

With this the “evdev” driver will be managing the device’s touch part. Restart your X – like restrarting KDM or GDM. Or just restart the machine.

You will see stylus and touch working now. You may need to use xsetwacom command to adjust the preferences, but you can find documentation of that elsewhere.

The above method also works with wireless model, just replace the device id 0x056a:0x0318 with 0x056a:0x0319

 Update

  • 24/04/2015: Bamboo Pad pen support accepted into Linus’ repository on the “master” branch (commit 61e9e7e). Expected release: Linux 4.0.
  • Bamboo Pad touch support accepted into Jiri’s HID repository on the “for-4.1/wacom” branch (commit 8c97a76). Expected release: Linux 4.1.

12 thoughts on “HOWTO: Wacom Bamboo CTH301K in Debian”

  1. Hi, I could not get working my Bamboo CTH-301/K on my Debian GNU/Linux Wheezy with some backports. You should have Testing or Unstable (systemd).

    do not appears at:
    xinput list
    xsetwacom –list devices

    uname -a
    Linux lt 3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.12-1~bpo70+1 (2014-07-13) x86_64 GNU/Linux

    The leds seems to be operating, but is not detected.
    I’m very interested in make working the stylus. So I started trying with the Grub option at /etc/default/grub

    By default, I do not get activated the wacom module. But If I start it, continue not working

    Thanks for reading,
    and helps for writing this article,
    Pedro

  2. thanks for the guide

    I tried using it on my debian wheezy, but it appears that the grub configuration did not work: when plugging the pad usbhid would not pick it up.

    I had to create a file /etc/modprobe.d/wacom.conf containing
    options usbhid quirks=0x056a:0x0318:0x40000000

    then
    rmmod usbhid && modprobe usbhid
    (caution, might disable usb keyboard, better to have a physical keyboard (laptop) or a remote shell.
    or just reboot)

  3. worked in 14.04 but i have upgraed to 14.10 as bluetooth an other things were giving trouble in 14.10 ad now wacom not working in ubuntu 14.10 please help me out as i m regular user of wacom and i do not want to use win for that and i have to make digital notes etc

  4. I’m using 4.1.2 and I can confirm that touch is working now for the CTH301K. Unfortunately the finger pad portion is still not working (not detected by the kernel). Any idea when they’re going to add the finger pad so we can get one finger left click, 2 finger middle click, 3 finger right click, etc?

    1. Strangely it shows up in xinput:

      xinput | grep -i Wacom
      ⎜ ↳ Wacom USB Bamboo PAD Finger id=16 [slave pointer (2)]
      ⎜ ↳ Wacom USB Bamboo PAD Pen stylus id=17 [slave pointer (2)]
      ⎜ ↳ Wacom USB Bamboo PAD Pen eraser id=18 [slave pointer (2)]
      ⎜ ↳ Wacom USB Bamboo PAD Pen touch id=19 [slave pointer (2)]

      but not xsetwacom –list

      Wacom USB Bamboo PAD Pen stylus id: 17 type: STYLUS
      Wacom USB Bamboo PAD Pen eraser id: 18 type: ERASER
      Wacom USB Bamboo PAD Pen touch id: 19 type: TOUCH

      1. Nevermind. It works. It turns out that two touchpads plugged in at the same time (using a laptop with a touchpad with wacom pad) does not work correctly. A warning when kde starts up was displayed saying this configure (two touchpads) does not work correctly.

        1. Although I think there might be a bug in xf86-input-wacom anyway since if it’s detected by xinput, then it’s detected by the kernel but since it’s not detected by xf86-input-wacom, then then xsetwacom can’t change the button settings.

          1. I guess perhaps xsetwacom doesn’t need to detect it then since it would be configured as a KDE touchpad instead. So perhaps KDE touchpad should have the ability to configure more than one touchpad at a time. In the mean time, if you’re using a laptop with a touchpad, you should disable the touchpad with xinput and use the wacom tablet instead so you can get all the normal touchpad functionality out of it.

  5. I have a wacom bamboo drawing tablet and I was wondering that if any of you do, how did you get it working on debian? With ubuntu it was just adding a ppa and installing some stuff; but with a debian base I m not sure how to go about that. Any help would be appreciated.

Leave a Reply to pedro Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.