LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-11-2006, 03:43 PM   #1
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
wacom volito2 not working


I've recently bought a volito2 graphics tablet and I'm trying to get it working with Slackware 11, without success so far. The wacom module comes with the 2.6.18 kernel and lsmod shows that it is loaded. I've created a udev rule to map the event to /dev/input/wacom and that also seems to be working:

Quote:
steve@slack:~$ ls /dev/input
event0 event1 event2 event3 mice mouse0 mouse1 wacom@
I've made the following changes to my xorg.conf:

Quote:
Section "ServerLayout"

Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"

EndSection
and

Quote:
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "USB" "on"
Option "Mode" "Relative"
EndSection

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

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "USB" "on"
Option "Mode" "Relative"
EndSection
Note: I've tried relative and absolute modes, but no difference.

After looking to see if the device is using the right driver I can't see a problem:

Quote:
steve@slack:~$ more /proc/bus/usb/devices

T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=056a ProdID=0062 Rev= 2.00
S: Manufacturer=WACOM
S: Product=CTF-420 V2.0-0
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 40mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=wacom
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
Quote:
steve@slack:~$ more /proc/bus/input/devices

I: Bus=0003 Vendor=056a Product=0062 Version=0200
N: Name="Wacom Volito2 4x5"
P: Phys=
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2
B: EV=f
B: KEY=1c43 0 70000 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 3000003
Quote:
steve@slack:~$ cat /etc/udev/rules.d/10-wacom.rules
# udev rule to create /dev/input/wacom for wacom tablets

KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k",
SYMLINK="input/wacom"
Anybody have any ideas?

Last edited by Steve50; 10-11-2006 at 03:48 PM.
 
Old 10-11-2006, 05:06 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
I couldn't get it to work properly with the driver in the vanilla kernel. What worked for me was to download http://prdownloads.sourceforge.net/l....7.4-3.tar.bz2 , untar it and copy the wacom.c file from linuxwacom-0.7.4-3/src/2.6.16/wacom.c into the kernel source, use it to replace the file linux-2.6.18/drivers/usb/input/wacom.c then recompile the kernel.
For X windows, copy the file linuxwacom-0.7.4-3/prebuilt/wacom_drv.so to /usr/X11R6/lib/modules/input/wacom_drv.so then reboot into your new kernel and see if it's helped
 
Old 10-11-2006, 05:16 PM   #3
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Andrew Benton
I couldn't get it to work properly with the driver in the vanilla kernel. What worked for me was to download http://prdownloads.sourceforge.net/l....7.4-3.tar.bz2 , untar it and copy the wacom.c file from linuxwacom-0.7.4-3/src/2.6.16/wacom.c into the kernel source, use it to replace the file linux-2.6.18/drivers/usb/input/wacom.c then recompile the kernel.
For X windows, copy the file linuxwacom-0.7.4-3/prebuilt/wacom_drv.so to /usr/X11R6/lib/modules/input/wacom_drv.so then reboot into your new kernel and see if it's helped
Thanks Andrew, I'll give it a try.
 
Old 10-12-2006, 11:54 AM   #4
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Original Poster
Rep: Reputation: 15
OK, I tried the instructions you gave Andrew. I compiled a new 2.6.18-ck1 and when running make I got this error and the kernel refused to build:
Quote:
drivers/usb/input/wacom.c:80:29: linux/usb_input.h: No such file or directory
drivers/usb/input/wacom.c: In function `wacom_probe':
drivers/usb/input/wacom.c:907: warning: implicit declaration of function `usb_to_input_id'
make[3]: *** [drivers/usb/input/wacom.o] Error 1
make[2]: *** [drivers/usb/input] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

I double-checked that the new driver was in the source and it was. Looks like I might have to build teh driver from the linux wacom pages. Thanks anyway.
 
Old 10-12-2006, 12:13 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Sorry, change the _ to a / so it reads linux/usb/input.h
Code:
sed -i 's:usb_input:usb/input:' drivers/usb/input/wacom.c
 
Old 10-12-2006, 12:22 PM   #6
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Andrew Benton
Sorry, change the _ to a / so it reads linux/usb/input.h
Code:
sed -i 's:usb_input:usb/input:' drivers/usb/input/wacom.c

Sorry, but you've lost me here. Can you just go over that again?
 
Old 10-12-2006, 04:21 PM   #7
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Original Poster
Rep: Reputation: 15
OK, figured it out. Just run that command in the kernel directory before running make. I did that and this time the kernel built cleanly. But the best news is my wacom now works perfectly! Many thanks for this, I would never have guessed that was the solution. However, it seems strange that the kernel developers haven't addressed this issue.
 
  


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 tablet no longer working gymnart SUSE / openSUSE 2 06-28-2006 10:34 AM
Wacom Volito2 lifetime? MasterOfTheWind Linux - Hardware 1 06-19-2006 05:37 AM
Trying to get my Wacom Intuos3 working, problem with input devices/events. Ancient_Blade Slackware 17 02-18-2006 03:55 PM
wacom not working properly spotty spot Linux - Hardware 0 11-14-2005 04:32 PM
Wacom tablet working, Gnome reinstalled Jiawen LinuxQuestions.org Member Success Stories 0 04-27-2004 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:03 PM.

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