LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-13-2011, 03:41 PM   #1
Wellesly
LQ Newbie
 
Registered: Jan 2011
Distribution: Arch Linux
Posts: 16

Rep: Reputation: 6
Wacom tablet partially working in Xubuntu


Thanks to the efforts of Favux on the Ubuntu forums, this problem has been solved. See this thread: http://ubuntuforums.org/showthread.php?t=1666249

OS: Xubuntu 10.10
Kernel: 2.6.35-24-generic.
Tablet: Wacom Bamboo Pen & Touch, model no. CTH-460

I'm trying to get my new Wacom tablet running. I compiled and installed xf86-input-wacom-0.10.10 and input-wacom-0.10.10-1, as I have kernel version 2.6.35 and X version 1.9.0.

I did this inside the appropriate directory to install the drivers.

Code:
# ./configure --enable-wacom
# make
# cp src/2.6.30/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet
I have the following in my xorg.conf file.

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "stylus"    "SendCoreEvents"
        InputDevice    "eraser"    "SendCoreEvents"
        InputDevice    "cursor"    "SendCoreEvents"    # For non-LCD tablets only
        InputDevice    "pad"   # For Intuos3/CintiqV5/Graphire4/Bamboo tablets
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dbe"
	Load  "record"
	Load  "dri"
	Load  "dri2"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/input/wacom"    # USB ONLY
  Option        "Type"          "stylus"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/input/wacom"    # USB ONLY
  Option        "Type"          "eraser"
  Option        "USB"           "on"                  # USB ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/input/wacom"    # USB ONLY
  Option        "Type"          "cursor"
  Option        "USB"           "on"                  # USB ONLY
EndSection

# This section is for USB Bamboo with touch
Section "InputDevice"
  Driver        "wacom"
  Identifier    "pad"
  Option        "Device"        "/dev/input/wacom-touch"    # USB ONLY
  Option        "Type"          "pad"
  Option        "USB"           "on"                  # USB ONLY
EndSection


Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	BusID       "PCI:0:13:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Changing Option "Device" "/dev/input/mice" to Option "Device" "/dev/input/mouse0" in xorg.conf makes the tablet's touch stop working, so I expect it might just be recognized as another mouse, but I still don't know why the pen doesn't work.

My /etc/udev/rules.d/10-local.rules file contains the following.

Code:
BUS=="usb", KERNEL=="event*", SYSFS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus"
BUS=="usb", KERNEL=="event*", SYSFS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch"

BUS=="usb", KERNEL=="event*", SYSFS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom"
BUS=="usb", KERNEL=="event*", SYSFS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch"
The touch moves my mouse, but it jumps around sometimes. The pen doesn't work. The tablet seems to be recognized by GIMP version 2.6.10, as it shows the "Wacom BambooPT 2FG 4x5 Pen eraser", "Wacom BambooPT 2FG 4x5 Pen stylus", "Wacom BambooPT 2FG 4x5 Finger pad", "Wacom BambooPT 2FG 4x5 Finger touch", in both "Preferences" -> "Input Devices" -> "Configure extended input devices..." and the "Device Status" dialog, but only the finger touch seems to work.

I also have a USB mouse plugged in. If I keep the tablet plugged in when I boot up, the mouse and touch work fine, but, if I remove the tablet and plug it back in, the mouse stops working.

With the tablet plugged in at boot up...
The lsusb command yields the following.

Code:
Bus 002 Device 004: ID 045e:0023 Microsoft Corp. Trackball Optical
Bus 002 Device 003: ID 056a:00d6 Wacom Co., Ltd 
Bus 002 Device 002: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
more /proc/bus/input/devices yields the following.

Code:
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2 
B: EV=120013
B: KEY=10000 c0200 0 0 0 0 0 700f 2000003 3803078 f830f401 febfffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=056a Product=00d6 Version=0111
N: Name="Wacom BambooPT 2FG 4x5 Pen"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.0/input/input3
U: Uniq=
H: Handlers=mouse0 event3 
B: EV=b
B: KEY=1c03 0 0 0 0 0 0 0 0 0 0
B: ABS=100 1000003

I: Bus=0003 Vendor=056a Product=00d6 Version=0111
N: Name="Wacom BambooPT 2FG 4x5 Finger"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.1/input/input4
U: Uniq=
H: Handlers=mouse1 event4 
B: EV=1b
B: KEY=6420 0 f 0 0 0 0 0 0 0 0
B: ABS=100 100001b
B: MSC=1

I: Bus=0003 Vendor=045e Product=0023 Version=0100
N: Name="Microsoft Microsoft Trackball OpticalŪ"
P: Phys=usb-0000:00:02.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-2/2-2:1.0/input/input5
U: Uniq=
H: Handlers=mouse2 event5 
B: EV=17
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103
B: MSC=10
dmesg | grep [Ww]acom returns the following.

Code:
[   16.132965] usbcore: registered new interface driver wacom
[   16.132969] wacom: v1.52-input-wacom-0.1:USB Wacom tablet driver
[   48.620401] input: Wacom BambooPT 2FG 4x5 Pen as /devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.0/input/input3
[   48.660409] input: Wacom BambooPT 2FG 4x5 Finger as /devices/pci0000:00/0000:00:02.0/usb2/2-6/2-6:1.1/input/input4
Note the "v1.52" version number. Based on what I've read, I think that isn't the right version number. Maybe the correct driver isn't being loaded, but I don't know why that would be.

I'm hoping that I'm not missing something glaringly obvious here. It took me a few hours to realize that I had been using the wrong drivers, so I'm obviously not the most perceptive sort.

Last edited by Wellesly; 01-13-2011 at 07:59 PM. Reason: SOLUTION GIVEN
 
Old 01-16-2011, 11:22 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

Glad you solved the problem.

Kind regards
 
  


Reply



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
Wacom Bamboo tablet not working properly Yaeka Linux - Newbie 5 12-22-2009 03:01 PM
Anyone get a wacom tablet working under Slackware 12.2 exad Slackware 14 01-13-2009 09:26 PM
Configuring a Wacom Graphire Tablet to track like a tablet (not like a mouse) anlace Debian 2 11-07-2006 05:20 AM
Wacom tablet no longer working gymnart SUSE / openSUSE 2 06-28-2006 10:34 AM
Wacom tablet working, Gnome reinstalled Jiawen LinuxQuestions.org Member Success Stories 0 04-27-2004 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:00 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
Open Source Consulting | Domain Registration