How to set up a Wacom Tablet

How to do things, solutions, recipes, tutorials
Message
Author
darrenforster99
Posts: 8
Joined: Tue 25 Sep 2007, 22:54

Doesn't seem to work with Wacom Bamboo Pen CTL-470

#316 Post by darrenforster99 »

I currently have two versions of Linux on my laptop - Slackware and Puppy.

Puppy runs from the Live CD, but Slackware runs from the hard drive. I prefer to use Puppy at the moment as there seems to be some kind of fault with my hard drive (it goes through a stage where it will constantly be accessing the hard drive for about 10 minutes, and during that time it just slows the computer down to a crawl - I don't know whether it's because I'm using Ext4 on the HDD, or because it's Slackware 64-bit or whether it's a fault on the hard drive - the laptop is about 8 years old!)

Anyway so because of this I'm trying mainly to run Puppy rather than Slackware.

In Slackware when I first plugged in the Wacom the drivers appeared to be there as Modprobe Wacom worked fine and when moving the pen over the tablet the blue light lit up a bit brighter to indicate it had detected movement, however on screen the mouse had no movement what so ever.

For Slackware I downloaded the files to compile and install the latest Wacom project and after that the tablet started working fine. It created a file in xorg.conf.d and everything.

Now I've followed your instructions for Puppy, installing both Pet files.

I went into the xorg folder, however I had no directory there called xorg.conf.d, so I just created it, and for the wacom file I just copied it from Slackware (well if it works fine in Slackware on the same machine I presume it will work fine in Puppy?)

Restarted the X Server

Nothing,

Restarted the computer

Nothing

What am I doing wrong?

One thing I did notice was that the configuration files for drivers in this version of Puppy don't appear to be in the xorg.conf.d folder (as there wasn't one there at all), the other device information all seems to be contained within one file called xorg.conf - including information about the Synaptics touchpad on this laptop. Is that where I need to copy the information about Wacom to?

I'd really like to use this tablet in Puppy, please can you let me know if this is possible

The tablet is a Wacom Bamboo Pen CTL-470/K and I'm running Puppy Linux Lucid 5.28, running Kernel 2.6.33.2

X version is

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-25-server i686 Ubuntu
Current Operating System: Linux puppypc 2.6.33.2 #1 SMP Thu May 27 10:56:32 EST 2010 i686
Kernel command line: initrd=initrd.gz pmedia=cd BOOT_IMAGE=vmlinuz
Build Date: 23 April 2010 05:11:50PM
xorg-server 2:1.7.6-2ubuntu7 (Bryce Harrington <bryce@ubuntu.com>)
Current version of pixman: 0.16.4

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#317 Post by charlie6 »

@darrenforster99,
Hi !
for lucid 5.28 you need:
- the input-wacom kernel driver (i.e. wacom.ko ... is already present in the lucid-5.28 iso --> so nothing to do ...! 8) )
- the Xorg wacom driver xf86-input_k.2.6.33_lucid-wacom-0.17.0.pet to be downloaded here (see page 19 this thread)
http://www.murga-linux.com/puppy/viewto ... &start=270

- to run xorgwizard to create a xorg.conf file that is specific to your system (so you will get have a new xorg.conf file containing the needed sections for wacom use --> see below);
- edit the /etc/X11/xorg.conf to get it adequately configured (there are a lot of literature in this thread about that)
just copy and paste the following codes in xorg.conf
http://www.murga-linux.com/puppy/viewto ... &start=255

Do not forget to restart X to activate the xorg.conf settings once edited ... :wink: (if X does not display as expected, there might be some syntax error while editing xorg.conf ....so making a back-up copy (called xorg.confcopy for instance) of the working xorg.conf file should be advised... :wink: :wink: ...that can be reactivated once in command line mode using

Code: Select all

#cd /etc/X11
#pwd
/etc/X11
#cp xorg.confcopy xorg.conf
#xwin
)

hope this helps
charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#318 Post by don570 »

While using the new French language edition
ToOpPy "Precise" 5.4.3 bêta - 2PDE

http://murga-linux.com/puppy/viewtopic.php?t=83566

I discovered that it is important to not exchange xorg.conf files
between distros. I foolishly tried to drag an xorg.conf file from
Racy into this Precise clone and found that the file was reformed
each time I restarted XWindow.

So the advice of Charlie6 above should be take seriously.

_____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#319 Post by don570 »

I was able to compile the wacom driver for Pemasu's Raring distro.
Kernel 3.8.4

You can check the kernel number by typing

Code: Select all

uname -r
Here's how I did it...

1)I downloaded the latest wacom source from
http://sourceforge.net/projects/linuxwa ... put-wacom/
Extracted source archive in /root

2) Created an empty folder ---> /root/xf86-input-k.3.8.4-wacom

3) Typed in terminal

Code: Select all

./configure --prefix=/usr
make
make DESTDIR=/root/xf86-input-k.3.8.4-wacom
4) I added two files ---> pinstall.sh and /etc/rules.d/65-wacom.rules
which I pinched out of one of Charlie6's pet packages. :lol:

5) I deleted one application to get the size down to 250k
(Allowable limit on Murga forum now)

6) typed following to make pet package

Code: Select all

dir2pet  xf86-input-k.3.8.4-wacom 
7) It installs the usual way. i.e. Modify the xorg.conf file, install
pet package and restart X windows and test with mtpaint
(ie set the various tools to 'Screen' in mtpaint preferences)

_____________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#320 Post by don570 »

I compiled a Wacom driver for Wheezy by Pemasu

I used strippkg to make the applications smaller.

Edited: corrected rules location ---> doesn't seem to matter

Warning: set up for mtpaint ----> set 'stylus' as last tool

_______________________________________________________________
Last edited by don570 on Thu 23 May 2013, 00:28, edited 3 times in total.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#321 Post by charlie6 »

Hi don570,
many thanks for keeping this driver up to date ! :D
I'll get a try.
Charlie

last edited:
:( ... got a try ...here on wheezy-3.5.2.5 (having wacom-0.15.0 version driver in it)
i cannot get this version 20.0 running (have restarted X etc...):
-lsmod reports wacom driver loaded
-xsetwacom --list lists all wacom device are identified;
-Xorg.0.log reports
[ 2566.192] (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
[ 2566.192] (II) Module wacom: vendor="X.Org Foundation"
[ 2566.192] compiled for 1.12.4, module version = 0.20.0
[ 2566.192] Module class: X.Org XInput Driver
[ 2566.192] ABI class: X.Org XInput driver, version 16.0
but:
- the mouse cursor does not move as expected: when stylus is moved far away from tablet pad, then the mouse cursor moves to the upper-left display corner;
- and although the tablet tools are identified in mtpaints tablets settings, and pressure is working (pressure test displays values changing with stylus applied pressure accordingly) i cannot get for instance variable width strips...???

I maybe missed something trivial... :?

So back to version 0.15.0 wacom_drv.so
(which i had renamed wacom_drvdotsoOLD before installing the new pet)
just doing (= without uninstalling the above pet)
#cd /usr/lib/xorg/modules/input
#cp -f wacom_drvdotsoOLD wacom_drv.so
and everything went back OK using the version 0.15.0 wacom driver.

BTW: i found /etc/rules.d in the pet instead of the original /etc/udev/rules.d coming with wheezy-3.5.2.5; but switching between both folders does not fix above issue.

any idea?
Charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#322 Post by don570 »

I'll check tonite. I must have rushed making the package if I selected the
wrong place for the rules.

The only thing different was using 'strippkg' to make the apps smaller
to get to 250k.

_____________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#323 Post by don570 »

I've spotted a bug in the most recent Wheezy and latest Precise by
Barry Kauler as well. The last tool that is set must be the 'stylus'
(See image) As long as it is the last tool that is set then everything
is fine with mtpaint. (the version of mtpaint doesn't matter).

You can see in image that the last tool set is noted at the top of window.
It should actually say the device is a Wacom tablet. So something
is wrong.

Image

You spotted the error in my package rules location
but it doesn't seem to matter anyway.
I put together the package the right way and got same
result.

Another thing I noticed is that the kernel number doesn't seem to matter.
That is once a driver for Precise is compiled it will run on the various
kernel versions of Precise that are available. So I was able to
get your dpup version to run on Barry Kauler's latest beta precise.

__________________________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#324 Post by charlie6 »

Hi don570,
i retried that new xf86-input driver and here i get again the same behaviour.
Except that now i get it working in mtpaint.

But:

1. the mouse cursor does not move as expected: when stylus is lifted far away from tablet pad, then the mouse cursor moves to the upper-left display corner or upper-up side of the corner; here cannot get the cursor to stay were it was before lifting the stylus...
2. i am using a bamboo-pen MTE-450; rhight and left click are integrated in the pens -or stylus - button. Now, with 0.20.0 driver, i have no right-click function. Only the left-click.

I tried with another setting in xorg.conf (i.e. CursorProx set to 100; as also setting to Absolute mode) but no change.
I even compiled 0.21.0 ... same behaviour ..! :(

So i keep running version 0.15.0 here (maybe depends on my hardware ...i should report to linuxwacomproject).

Do you get something else?
Charlie

last edited:
i went to compile xf86-input-wacom versions 0.15.0 (which gives a 457KB wacom_drv.so), 0.16.0, 0.17.0; 0.18.0 is reported as buggy on linuxwacom website; and 0.21.0.
Versions above 0.17.0 on my "trunk" present the above described behaviours 1. and 2.

last last edited: i posted this description on linuxwacomproject ...

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

attempt-script to automatize xf86-input-wacom's pet make

#325 Post by charlie6 »

Hi don570,
i have made the present script a few month ago (maybe one year ago ...don't remind anymore);
it is aimed to automatize the population of the xf86-input_k.x.x.x-YYYY-wacom-0.VV.0 folder that will be dir2pet'ed.
About 30minutes here to get a pet ...and maybe even less ... 8)
It is not 100% finished, but it allows populating the folder and avoiding some trivials errors.

The how-to-use-comments are inside the script.

Given ...of course . :shock: .. without any warranty nor after sales support ... :D ...
Feel free to improve it the way you want !
note: remove the fake .tar.gz extension to get the script
Attachments
makewacompet_EXIST_2_NEW_01.tar.gz
remove the fake .tar.gz extension to get the script
(3.18 KiB) Downloaded 678 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#326 Post by don570 »

Version .15 of driver worked well for me. The same results as version .20

I'll try compiling version .21

Gimp 2.8.4 is a bit buggy when using 'file save' dialog boxes.
They freeze up and I have to close the box and try again.

I don't know if I should blame gimp or wacom or kernel
for that problem. :cry:

... but the dialog boxes work more consistently if I use a mouse
when I want to save an image.

_______________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

version 0.21.0 to be tested

#327 Post by charlie6 »

Hi don570,
would you mind trying the following version 0.21.0?

WARNING: this has neen xz compressed just for size fitting: DOWNLOAD AND RENAME THE FAKE .tar.gz extension to .txz. Then click on it to install it. One might also use the right-click txz2pet conversion to get a classical .pet file.

thanks for feedbacks
charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#328 Post by don570 »

To Charlie .... I'll try your new version on wheezy.
I think I have same
model of Bamboo as you (450).

Did you strip the apps with strippkg found in
Iguleder's tools. I was able to get the size of my package
down to the acceptable minimum. It's found in Wheezy as well.
______________________________________________________

I have found that the suggestions for xorg.conf that wacom provides
in that mysterious file (wacom_xorgdotconf_bits) that appears now in
/etc/X11 are confusing and perhaps wrong.

They comment out the 'touch' section and don't include touch in
the server section.

When I tried to use it I either got no pressure at all or
my stylus wouldn't go to certain areas of screen'
such as the top part of screen. :cry:

So I have gone back to old xorg.conf method I described here and gotten good results.

The official wacom website has different suggestions for xorg.conf

https://wiki.archlinux.org/index.php/Wa ... figuration

They suggest using a file named /etc/X11/xorg.conf.d to experiment
with different settings.

_________________________________________________


I have found a new method to draw better with the wacom tablet.
I put a thin, tight cotton glove on my drawing hand. This makes
my hand glide over tablet surface. I get much better results. 8)

Before my sweaty hand would stop the gliding motion of my hand.

____________________________________________






______________________________________________

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#329 Post by charlie6 »

Hi don570,
thanks
1.
Did you strip the apps with strippkg
No, i did'nt. Just txz'ed.

2.
So I have gone back to old xorg.conf method I described here and gotten good results.
I tested that «old xorg.conf method» using the above xf86-input-wacom 0.20.0. Nothings better.
The cursor moves as i described above. I noticed that it moves a bit better when on the bottom of the display.
No right click (using the Bamboos MTE-450 pen-2ways-button).

2.1.
When I tried to use it I either got no pressure at all or
my stylus wouldn't go to certain areas of screen such as the top part of screen
in that xorg.conf you have extra settings as Threshold, Speed, Relative mode,... which are not present in the «old xorg.conf method». Those settings may differ according to the tablets type. For instance, settings for my Graphire1 slightly differ the ones for my Volito.

3.
They comment out the 'touch' section and don't include touch in
the server section.
...just because my tablet do not haveany «touch» path. Just need to be uncommented if the case.

4.
The official wacom website has different suggestions for xorg.conf
I gave it a quick try 2 weeks ago without having noticed any change. I maybe have surely missed something. We also miss /etc/X11/xorg.conf.d folder in Puppy. So i wonder if this apply to Puppy...?
We perhaps had better to dig a bit deeper in those suggestions.

5. Something unusual and not to be suspected reading the wacoms changelogs: all is OK up to and with version 0.17.0. Things are going wrong here from 0.18.0 ... :?

cheers, charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#330 Post by don570 »

I forgot that strippkg needs the devx file to be loaded.
I simply click on devx file to quickly load it.


I used 'strippkg' and was able to save enough space
to make your package into an attachment.

It worked well for me using my older 'xorg.conf'

...but I still found that that the last tool (or maybe only) tool
to be configured MUST be the stylus.

My tablet has a 'touch ring' so it needs ' touch' to be defined
but all I have gotten it to do is scroll in a browser.
I will have to read those wacom documents some day and
find out how to define the tools. :roll:

I also tried changing the mouse section in 'xorg.conf' to see
if I could get the mouse to act like the mouse in a Windows or Mac
computer, since I find the mouse too lively in Barry's
recent Puppies, but no success.

The best thing I have found is to get rid of 'single click navigation'
in the Rox options.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#331 Post by charlie6 »

Hi don570,
i have this wacom tablet MTE-450 for now
Image
Here using the wacom_drv.so 0.15.0 that comes with wheezy-3.5.2.5:
I have no «touch» Input Section, and the touchring works as yours without it ... :?
I have the upper left and right buttons acting as go backwards or go forwards in Firefox;
Bottom right button acts as a right click where the cursor is poistionned.
Bottom left button acts a bit like a left click where the cursor is poistionned.

This is my xorg.conf wacom relevant section:
(i havn't done anything special to set it up...)
....
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
#Screen 1 "Screen1" RightOf "Screen0"
#Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
#from kernel 2.6.35 and later the "SendCoreEvents" after InputDevice is no longer required
InputDevice "stylus"
InputDevice "eraser"
InputDevice "cursor"
InputDevice "pad"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
....

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
# Option "Mode" "Absolute"
Option "Mode" "Relative"
# Option "AlwaysCore" "on"
Option "Speed" "1.0"
Option "Threshold" "5"
Option "CursorProx" "5"
# Option "Speed" "5"
# # Option "ForceDevice" "ISDV4" # Serial Tablet PC ONLY
EndSection

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

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "Mode" "Relative"
Option "USB" "on"
Option "CursorProx" "5"
Option "Speed" "1.0"
EndSection

Section "InputDevice"
Identifier "pad"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "pad"
Option "USB" "on"
# Option "SendCoreEvents" "false"
Option "ButtonsOnly" "on"
# Option "Button9" "2"
# Option "Button13" "3"
Option "Mode" "Absolute"
EndSection

Section "InputDevice"
Identifier "Mouse0"
....
Cheers, Charlie

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#332 Post by don570 »

To Charlie

I found that I could use your xorg.conf if I made one change...
I commented out one line. ---> relative


Image

_______________________________________________________

I also found that I can make a pinstall.sh script that will change the
text in xorg.conf file to use tablet tools .

This makes installation a lot simpler and faster.

See if you can use this pinstall.sh file in your pet packages.

I've made packages that will work with my Bamboo tablet
Slacko Wheezy and Precise distros. I've put 'mod' in package name
to show that the new pinstall.sh file is inside.
Last edited by don570 on Fri 19 Dec 2014, 00:51, edited 6 times in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

pinstall.sh script for wacom driver package

#333 Post by don570 »

This is the final version of pinstall.sh script. It won't modify xorg.conf file
if it already has wacom tools listed in the xorg.conf file.

The benefits are a quick and easy installation of wacom driver in
most puppy distros. Note that screen and mouse section of
xorg.conf is not touched!!

So here is what it does ....

1) It gives xdialog warning to restart X windows

2) /etc/rc.d/MODULESCONFIG is modified by shinobar's method.
This lists the 'wacom' driver so that the puppy operating system
will load the wacom driver automatically when the desktop is formed.


3) It will check to see if the xorg.conf file has previously been changed
to recognize the wacom tools. If it hasn't been changed then
changes are made to make it look like Charlie6's xorg.conf
(shown above). I made one change however ---> option mode "relative"
is commented out.

4) delete my temporary work files in /tmp

Note: that pet packages that use this pinstall.sh file should
have 'mod' in filename so that users will know that this driver package
modifies their xorg.conf file. This is important information to know!!!

______________________________________________________
Attachments
pinstall.sh.gz
remove fake .gz extension
(3.67 KiB) Downloaded 841 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#334 Post by don570 »

I worked on a new driver for Wary 5 (or the French version Wolx)

I posted it on the list above. 'mod' is in file name because I put
my pinstall.sh script in the package. The installation is simple,
because the xorg.conf file is automatically changed. Just a
restart of X is required.

However I had to change four lines in xorg.conf because an older
kernel is used in Wary 5.

I changed the lines

Code: Select all

#from kernel 2.6.35 and later the \"SendCoreEvents\" after InputDevice is no longer required
InputDevice \"stylus\"
InputDevice \"eraser\"
InputDevice \"cursor\"
InputDevice \"pad\"  
to

Code: Select all

#from kernel 2.6.35 and later the \"SendCoreEvents\" after InputDevice is no longer required
InputDevice \"stylus\" \"SendCoreEvents\"
InputDevice \"eraser\" \"SendCoreEvents\"
InputDevice \"cursor\"  \"SendCoreEvents\"
InputDevice \"pad\"  \"SendCoreEvents\"

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#335 Post by don570 »

I made a driver for Pemasu's Raring and posted it in the list
above.
___________________________________________

Post Reply