LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2005, 03:58 PM   #1
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 35
Question How to make WacomPressure work with GIMP


I have a graphire2 wacom tablet
My distro is slackware 10.1 with kernel 2.6.12.1 compiled with Wacom drive support.
I have already load wacom driver (#modprobe wacom).
My tablet is USB and I have all usb modules working.
I use Gimp 2.2

I just want if some one that have already done this working could give me the step-by-step, I try somethings I heard on google but nothing work and one is different from the other....

Wacom works like a regular mouse, the pressure function isnt working.. I just want the pressure works
 
Old 07-25-2005, 09:36 AM   #2
IamSpOOk
LQ Newbie
 
Registered: Jul 2005
Posts: 15

Rep: Reputation: 1
I got it working under SuSE 9.2 and then upgraded to 9.3 and it broke. The same steps don't seem to work in 9.3 as they did in 9.2. I am still experimenting. (see last but one para below)

However. There is a linux wacom howto that is very comprehensive. 'fraid you will have to read it all.
http://linuxwacom.sourceforge.net/index.php/howto/main
This includes XF86Config setup.

If you have a serial mouse, then life is easier (read the above doc).

For me - on 9.2 SuSE with a USB mouse, I had to experiment to find out which device was getting input from the
keyboard, mouse (mice) and tablet. It was trial and error, and I got different results on different
machines with the same O/S loaded.

go to /dev/input

cat -vet mouse0

{try the keyboard, the mouse, and the tablet in turn. Note which gives you chars on the screen}
Hit ^C to end

Try again with mouse1 mouse 2 mouse3 event0 event1 event2 event3
Note which does what.

Data read from mouseX is processed differently than it's equivalent on eventX, although they
are the same stream, your mouse will only work with mouseX data. Data read from eventX is what
potentially contains the tilt, and pressure sensitive stuff. Now here is the rub. Most times, the
graphire (and other wacoms) are recognised as a USB mouse. The drivers involved are likely
for USB mouse to actually combine the data from all detected mice. This is why your tablet seems
to work (as a mouse). However, even if you set up /etc/X11/XF86config as the above link says, it
won't work properly until you separate the mouse from the tablet data. For my system, I chose to
download and install the precompiled updated driver, and set up XF86Config to use /dev/input/mouse2
instead of /dev/mice. This meant that I could then set up the wacom using /dev/input/event2.

Finally, you have to set up GIMP to use those features. Look in preferences ^ Input Devices ^
Confgure Extended devices

If it says "No extended devices" then you have not got it installed properly.

Otherwise, there will be drop-down options that you set for using special features. (excludes
tilt on Gimp anyway)

Most wacom driver doc talks about event0, but on my systems it was not happening there.
So I had to add /dev/input/event2 as a device.

This is the new stuff that I put in my config:

# in the files section...
Load "wacom"

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

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

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


# and you put these lines in the ServerLayout section


InputDevice "cursor" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"


If you stuff up the XF86Config - then restore the original file when logged in from console. (I make
copies of config files before editing them) Start up graphics again with
> startx

ok. That got me up and running - however, I think it was a rough hack as there should not be a
dependence on machine to machine with the same OS for a device like a mouse and different
entry points if it is a clean solution. So I am not surprised that it broke on upgrade to 9.3. The link
above talks about replacement mouse driver that ignores wacom data. I think that's a cleaner
way to go so that my XF86Config can continue to use /dev/mice (all MICE from one entry point)
and then I just use event<whatever> for the wacom setup.

BTW - YaST on Suse creates XF86Config each time the mouse module (and probably other stuff)
is manipulated and the resulting config file is not supposed to be edited directly. I have not worked
out how you are supposed to make custom changes. I tried the wacom setup in YaST but it didn't
seem to work. Can't find it in 9.3 !
 
Old 07-25-2005, 09:38 PM   #3
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Original Poster
Rep: Reputation: 35
yeah, thanks!
I had read already this link, but I forgot to put the ServerLayout lines, so this is why I think the think didnt work right...

I will try and say what the result
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a template file in GIMP for Dreamweaver mx? arctic123 Linux - Software 2 01-27-2005 08:15 AM
Gimp-how to make an effect Boby Linux - Software 2 11-29-2004 01:52 PM
Gimp Plasma2 plugin make?? Bagpuss Linux - Software 0 10-04-2004 02:29 PM
how to make a 4x6 crop in gimp? webazoid Linux - Software 0 07-30-2004 02:33 PM
Gimp-1.2.3 'make' reports syntax errors GabeF Linux - Software 2 06-11-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:08 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