LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-18-2013, 12:55 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Rep: Reputation: 102Reputation: 102
Wacom tablets in 14.1


I recently bought a Wacom tablet (intuos, model CTH680), and I'm having a tough time getting it to work. Everything I've found online has been distro-specific stuff for Debian or Arch, so I thought I'd see if anyone has any ideas for how to make it work.

Using KDE, when I go to Graphics Tablet under input devices, it says no tablets found, ensure kded is started, etc (can't remember exact wording). dmesg and lsusb both show the tablet as being connected (at least, there's a Wacom line for it).

Beyond this I'm not really sure what to do. I've never used a Wacom tablet with Linux but I've always heard that support is great, so I'm sort of at a loss now.
 
Old 11-18-2013, 05:32 PM   #2
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
I'm looking into it right now. I remember getting my wacom bamboo working was interesting. I'm looking at the kernel driver details right now, and then will look at the X11 driver after.
 
1 members found this post helpful.
Old 11-18-2013, 05:46 PM   #3
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
OK. To be of help, I need to see output of 'lsusb -v'. From there I can check the driver code for support.

EDIT:
Really, all I need is the idProduct line.

Last edited by j_v; 11-18-2013 at 05:49 PM.
 
Old 11-18-2013, 06:10 PM   #4
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by j_v View Post
OK. To be of help, I need to see output of 'lsusb -v'. From there I can check the driver code for support.

EDIT:
Really, all I need is the idProduct line.
Thanks, this bit is beyond me.

The lsusb -v output concerning the tablet:
http://pastebin.com/jbL2LQcG
 
Old 11-18-2013, 06:43 PM   #5
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
OK, I found what I was looking for. Support is very new. There is some discussion on backporting a few patches for kernel and x11 drivers. I'll sort out the details and be back later with help.

EDIT:
Also, I will provide links for you to follow up in case you have further questions.

Last edited by j_v; 11-18-2013 at 06:45 PM.
 
1 members found this post helpful.
Old 11-18-2013, 07:05 PM   #6
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
One other thing I forgot: are you using the stock kernel (3.10.17) from installation? This is so that I can make sure driver patches apply cleanly.
 
Old 11-18-2013, 07:06 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
Thanks. I might just end up returning this one since I can't easily use it right now.

edit: yeah, I'm all stock aside from using Nvidia instead of nouveau. You don't have to go to any extra trouble like that though, it isn't a really big deal.

Last edited by Cultist; 11-18-2013 at 07:07 PM.
 
Old 11-18-2013, 07:10 PM   #8
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
It's up to you. Should be able to have you up and going tonight, but it's your tablet. I don't mind either way.
 
Old 11-18-2013, 07:19 PM   #9
Cultist
Member
 
Registered: Feb 2010
Location: Chicago, IL
Distribution: Slackware64 14.1
Posts: 777

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by j_v View Post
It's up to you. Should be able to have you up and going tonight, but it's your tablet. I don't mind either way.
No worries. Probably going to hold off for now, but definitely thanks anyway.
 
Old 11-18-2013, 07:26 PM   #10
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
OK. Well, I'm going to finish porting the patches to 3.10.17 kernel. Also, there is the linuxwacom site: http://sourceforge.net/apps/mediawik...itle=Main_Page

Good luck.
 
1 members found this post helpful.
Old 12-25-2013, 10:21 AM   #11
jsdevel
LQ Newbie
 
Registered: Dec 2013
Posts: 3

Rep: Reputation: Disabled
@j_v, can we pick this back up? I just bought a CTH-680 for my wife and am having trouble getting it to work as well. I'm comfortable compiling drivers etc. and applying patches. Can you guide me in the right direction?
 
Old 12-25-2013, 05:32 PM   #12
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]X{.0|.1|.2|-current} ::X>=12<=14, FreeBSD_10{.0|.1}
Posts: 2,200

Rep: Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863Reputation: 863
Quote:
Originally Posted by jsdevel View Post
@j_v, can we pick this back up? I just bought a CTH-680 for my wife and am having trouble getting it to work as well. I'm comfortable compiling drivers etc. and applying patches. Can you guide me in the right direction?
I bought a Wacom Intuos for my daughter a year ago and after a little confusion setting it up she has been VERY happy with it! It is a different model than the CTH-680 discussed in this thread, but I would be surprised if the configuration were significantly different. So, assuming you have the driver working, and patched if necessary, here is what we did...

First, for reference, hers is an Intuos-4 4x6 device. We originally installed it to Slackware 13.37, then she used it since about February 2013 under Slackware 14.0, and under Slackware 14.1 since mid-November.

She uses it intensively, almost every day, usually with the Gimp, but sometimes for other things and often as her desktop pointer input device. Hers is USB, not wireless. If you have the USB device, plug it in and look at the output of dmesg to see that it was detected. I can't help with wireless devices.

The key for me/us was to explore the options available via the xsetwacom utility, so first thing I would recommend is:

Code:
man xsetwacom
We then experimented with the various options to figure out what they actually do. Apparently the button numbers are not consistent across the devices, so we had to figure out the mappings for those, not too bad.

Then, in the Gimp we had to specify a number of options (I don't know them well enough but will ask her for pointers if that would be helpful).

We then wrote our own scripts to configure the device for our own environments. Mine looks like this (with my reminder comments included...):

Code:
#!/bin/bash

# See man xsetwacom for all details
# xsetwacom [options] [command [arguments]]
# options: -d, -h, -v, -V
# commands: list, get, set
# Example useful commands (space is signifigant in commands):
# xsetwacom get 'Wacom Intuos4 4x6 pad' all
# xsetwacom get 'Wacom Intuos4 4x6 pad' Button 11
#       (ex. return) key +Control_L +z -z

# xsetwacom set "Wacom Intuos4 4x6 pad" Device "Action"
# Device must one from following list, Action must include 'key' if key
# Example: xsetwacom set "Wacom Intuos4 4x6 pad" Button 11 "key ctrl z"
# Complex actions may be scripted using + or - prefix before key actions

#Button order (Device) top to bottom:
# Button 2
# Button 3
# Button 8
# AbsWheelDown (Ring CW)
# Button 1 (in ring)
# AbsWheelUP (Ring CCW)
# Button 9
# Button 10
# Button 11

# Gimp key codes may be mapped to buttons (not case sensitive)
# a = airbrush
# n = pencil
# p = paintbrush
# ctrl +z = Undo
# ctrl +y = Redo
# ctrl +j = Shrink wrap
# shift b = bucket fill
# shift plus = '+' key
# minus = '-' key
# shift = shift key
# ctrl = ctrl key
# alt = alt key
# backspace = backspace key
# ctrl alt shift o = brush down
# ctrl alt shift p = brush up
#
  
# Top buttons
xsetwacom set "Wacom Intuos4 4x6 pad" Button 2 "key n"
xsetwacom set "Wacom Intuos4 4x6 pad" Button 3 "key p"
xsetwacom set "Wacom Intuos4 4x6 pad" Button 8 "key shift"
#Ring
xsetwacom set "Wacom Intuos4 4x6 pad" AbsWheelDown "key shift +plus"
xsetwacom set "Wacom Intuos4 4x6 pad" Button 1 "key ctrl +shift +a -a -shift -ctrl +1"  # button inside touchring, zoom 100%
xsetwacom set "Wacom Intuos4 4x6 pad" AbsWheelUp "key minus"
#Bottom buttons
xsetwacom set "Wacom Intuos4 4x6 pad" Button 9 "key ctrl +j"
xsetwacom set "Wacom Intuos4 4x6 pad" Button 10 "key ctrl +y"
xsetwacom set "Wacom Intuos4 4x6 pad" Button 11 "key ctrl +z"

Last edited by astrogeek; 12-25-2013 at 06:25 PM.
 
1 members found this post helpful.
Old 12-26-2013, 05:54 PM   #13
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
I'm working on some slackbuilds that will have the support for the intuos cth680 and some other recent models. If they test out ok, I will post them to my github account and leave a post here with a link. Be aware that I can't test the cth680 itself, only that the module and driver work generally (I have a ctl470).

Update:
I've tested builds of most recent module and xorg driver, and these work fine here. I have to finish writing the actual slackbuilds, but these should be ready within the hour.

Last edited by j_v; 12-26-2013 at 08:03 PM. Reason: update
 
Old 12-26-2013, 08:30 PM   #14
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
Ok, took me longer to write up than I anticipated, but here is the kernel module slackbuild: https://github.com/jvvv/slackbuilds/...er/input-wacom.
And the xorg driver: https://github.com/jvvv/slackbuilds/...86-input-wacom.

Last edited by j_v; 12-26-2013 at 09:10 PM. Reason: Update
 
1 members found this post helpful.
Old 12-26-2013, 09:16 PM   #15
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 210

Rep: Reputation: 32
Also, I think that you should look at astrogeek's setup script. While I suspect your model is slightly newer, his script should be straight forward to edit for your hardware, if needed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*nix distros supporting non-wacom tablets fitzov Linux - Hardware 1 03-20-2008 12:36 AM
Wacom tablets dive Linux - Hardware 1 06-15-2007 04:05 AM
How to use Wacom tablets in Linux Michaelclow Linux - Hardware 1 11-27-2005 09:25 AM
Wacom tablets on FC2 SilverXXX Fedora 1 07-28-2004 05:33 AM
Wacom Tablets on Mandrake 9 navel_lint Linux - Hardware 8 01-13-2004 03:43 PM


All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration