How to set up a Wacom Tablet

How to do things, solutions, recipes, tutorials
Message
Author
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.
___________________________________________

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

precise 5.6.4

#336 Post by sjsrikanth »

Can I use the above wacom input pet for precise puppy with 3.2.48 kernel (prcise 5.6.4)?

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

#337 Post by don570 »

I'll check the other versions of Precise this weekend.
There's no harm in trying.

Here's how to check:

1) Install pet package
2) restart X
3) launch mtpaint and look under preferences --->
if wacom tools like 'stylus' are listed then the driver has properly
loaded

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

#338 Post by don570 »

I tested the new precise kernel and the old package(3.2.44) works
for the new kernel 3.2.48. :lol:

Also I noticed a problem in the packaging of the precise package
----> a desktop file was put in by petget program. I have fixed that.


Image

____________________________________________

User avatar
sjsrikanth
Posts: 114
Joined: Mon 28 Mar 2011, 06:24
Location: Chennai, India

#339 Post by sjsrikanth »

Thank you don570!

Scotchialoo
Posts: 50
Joined: Fri 25 Oct 2013, 14:58
Location: Poland
Contact:

X11 Tablet Graphic Input - GIT Version

#340 Post by Scotchialoo »

GIT Version .PET Form is Avadible at mydrive.ch -> http://murga-linux.com/puppy/viewtopic.php?t=90046 [For FatDog64-630rc1]
1/11/2013
[UPDATED Post: 11/11/2013]

Post Reply