GIMP and Tablets ...endless story, I expect.
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 15 Feb 17:05 |
GIMP and Tablets ...endless story, I expect. | gerard82 | 16 Feb 16:39 |
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 22 Feb 22:48 |
GIMP and Tablets ...endless story, I expect. | gerard82 | 23 Feb 12:53 |
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 23 Feb 23:44 |
GIMP and Tablets ...endless story, I expect. | gerard82 | 24 Feb 14:45 |
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 24 Feb 19:37 |
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 24 Feb 19:48 |
GIMP and Tablets ...endless story, I expect. | gerard82 | 25 Feb 19:25 |
GIMP and Tablets ...endless story, I expect. | Jan Kandziora | 25 Feb 21:50 |
GIMP and Tablets ...endless story, I expect.
Hello,
I have an Aiptek6000U tablet, for which I finally got the kernel driver working. "evtest" reports what seems to be correct.
Event: time 1329324589.249332, -------------- Report Sync ------------
Event: time 1329324589.265320, type 3 (Absolute), code 0 (X), value 155
Event: time 1329324589.265326, type 3 (Absolute), code 1 (Y), value 19
Event: time 1329324589.265328, type 3 (Absolute), code 24 (Pressure),
value 511
Event: time 1329324589.265332, type 1 (Key), code 331 (Stylus), value 1
Event: time 1329324589.265334, -------------- Report Sync ------------
Event: time 1329324589.313317, type 3 (Absolute), code 0 (X), value 154
Event: time 1329324589.313325, type 3 (Absolute), code 1 (Y), value 22
Event: time 1329324589.313328, -------------- Report Sync ------------
Event: time 1329324589.321342, type 3 (Absolute), code 1 (Y), value 23
Event: time 1329324589.321352, -------------- Report Sync ------------
Event: time 1329324589.345308, type 3 (Absolute), code 1 (Y), value 24
Event: time 1329324589.345317, -------------- Report Sync ------------
Event: time 1329324589.465290, type 3 (Absolute), code 24 (Pressure),
value 240
Event: time 1329324589.465300, -------------- Report Sync ------------
Event: time 1329324589.473289, type 3 (Absolute), code 24 (Pressure),
value 233
Event: time 1329324589.473297, -------------- Report Sync ------------
Event: time 1329324589.481287, type 3 (Absolute), code 24 (Pressure),
value 222
Event: time 1329324589.481296, type 1 (Key), code 331 (Stylus), value 0
Event: time 1329324589.481299, type 3 (Absolute), code 40 (Misc), value 33
Event: time 1329324589.481301, -------------- Report Sync ------------
X11 is configured as follows:
Section "InputClass"
Identifier "pen"
MatchProduct "Aiptek|AIPTEK|aiptek"
MatchDevicePath "/dev/input/event*"
Driver "aiptek"
Option "USB" "on"
Option "Type" "stylus"
Option "Mode" "absolute"
Option "zMin" "0"
Option "zMax" "511"
EndSection
However, I had a hard time to get GIMP to do what I want. I configured the tablet through Edit->Preferences->Input Devices->Configure Extended Input devices->Device: Aiptek, Mode: Screen, Axes: X-1, Y-2, Pressure-3. Xtilt-none, Ytilt-none. Moving the Stylus cursor and pressure works. Now to the big BUT:
To have the stylus drawing I have to press the lower button on it. This works *sometimes*. And there is no way to stop drawing again. Plus, switching tools is not possible, GIMP doesn't react to the keyboard while the stylus is in use.
What I'm doing wrong? How is it supposed to work?
Kind regards
Jan
- postings
- 40
GIMP and Tablets ...endless story, I expect.
Hello,
I have an Aiptek6000U tablet, for which I finally got the kernel driver working. "evtest" reports what seems to be correct.
Event: time 1329324589.249332, -------------- Report Sync ------------ Event: time 1329324589.265320, type 3 (Absolute), code 0 (X), value 155 Event: time 1329324589.265326, type 3 (Absolute), code 1 (Y), value 19 Event: time 1329324589.265328, type 3 (Absolute), code 24 (Pressure), value 511
Event: time 1329324589.265332, type 1 (Key), code 331 (Stylus), value 1 Event: time 1329324589.265334, -------------- Report Sync ------------ Event: time 1329324589.313317, type 3 (Absolute), code 0 (X), value 154 Event: time 1329324589.313325, type 3 (Absolute), code 1 (Y), value 22 Event: time 1329324589.313328, -------------- Report Sync ------------ Event: time 1329324589.321342, type 3 (Absolute), code 1 (Y), value 23 Event: time 1329324589.321352, -------------- Report Sync ------------ Event: time 1329324589.345308, type 3 (Absolute), code 1 (Y), value 24 Event: time 1329324589.345317, -------------- Report Sync ------------ Event: time 1329324589.465290, type 3 (Absolute), code 24 (Pressure), value 240
Event: time 1329324589.465300, -------------- Report Sync ------------ Event: time 1329324589.473289, type 3 (Absolute), code 24 (Pressure), value 233
Event: time 1329324589.473297, -------------- Report Sync ------------ Event: time 1329324589.481287, type 3 (Absolute), code 24 (Pressure), value 222
Event: time 1329324589.481296, type 1 (Key), code 331 (Stylus), value 0 Event: time 1329324589.481299, type 3 (Absolute), code 40 (Misc), value 33 Event: time 1329324589.481301, -------------- Report Sync ------------
X11 is configured as follows:
Section "InputClass"
Identifier "pen"
MatchProduct "Aiptek|AIPTEK|aiptek" MatchDevicePath "/dev/input/event*" Driver "aiptek"
Option "USB" "on"
Option "Type" "stylus"
Option "Mode" "absolute"
Option "zMin" "0"
Option "zMax" "511"
EndSection
However, I had a hard time to get GIMP to do what I want. I configured the tablet through Edit->Preferences->Input Devices->Configure Extended Input devices->Device: Aiptek, Mode: Screen, Axes: X-1, Y-2, Pressure-3. Xtilt-none, Ytilt-none. Moving the Stylus cursor and pressure works. Now to the big BUT:
To have the stylus drawing I have to press the lower button on it. This works *sometimes*. And there is no way to stop drawing again. Plus, switching tools is not possible, GIMP doesn't react to the keyboard while the stylus is in use.
What I'm doing wrong? How is it supposed to work?
Kind regards
Jan
GIMP and Tablets ...endless story, I expect.
Am 16.02.2012 17:39, schrieb gerard82:
If you use KDE as a desktop you might wanna try kde-misc/wacomtablet. Despite it's name it supports quite a few graphic tablets and some Aiptek models among them.
I looked at the program but it has odd dependencies to build it on openSuSE11.3. Anyway, it just seems to be a GUI.
I'm fine with the command line. Is there a was to setup this correctly for GIMP with a CLI tool?
Kind regards
Jan
- postings
- 40
GIMP and Tablets ...endless story, I expect.
Am 16.02.2012 17:39, schrieb gerard82:
If you use KDE as a desktop you might wanna try kde-misc/wacomtablet. Despite it's name it supports quite a few graphic tablets and some Aiptek models among them.
I looked at the program but it has odd dependencies to build it on openSuSE11.3. Anyway, it just seems to be a GUI.
I'm fine with the command line. Is there a was to setup this correctly for GIMP with a CLI tool?
Kind regards
Jan
Do you have "xf86-input-wacom" installed? And is your kernel configured for wacom? W/o these NO graphic tablet will work,CLI or otherwise. Gerard.
GIMP and Tablets ...endless story, I expect.
Am 23.02.2012 13:53, schrieb gerard82:
Do you have "xf86-input-wacom" installed? And is your kernel configured for wacom? W/o these NO graphic tablet will work,CLI or otherwise.
As said, I have an Aiptek 6000-U tablet, not Wacom. I have the aiptek kernel module installed, loaded and I get the kernel input events from it - See the evtest log in my first post.
There is no "...-input-wacom" package for SuSE11.3, but I think X11 is ok, too, because I get the message in Xorg.0.log that an Aiptek tablet was found and the tablet is working - absolute mode with pressure sensitivity.
My problem starts with GIMP. I have to press, the lift the button on the stylus to start drawing (with sensitity!), but then there is no way to end drawing using the stylus. Sometimes it doesn't work at all, and Gimp globally locks up the left click on my trackball, until I click with the special tablet mouse on Gimp's menus. Switching tools with the keyboard while in "Stylus Mode" doesn't work either.
Kind regards
Jan
- postings
- 40
GIMP and Tablets ...endless story, I expect.
Am 23.02.2012 13:53, schrieb gerard82:
Do you have "xf86-input-wacom" installed? And is your kernel configured for wacom? W/o these NO graphic tablet will work,CLI or otherwise.
As said, I have an Aiptek 6000-U tablet, not Wacom. I have the aiptek kernel module installed, loaded and I get the kernel input events from it - See the evtest log in my first post.
There is no "...-input-wacom" package for SuSE11.3, but I think X11 is ok, too, because I get the message in Xorg.0.log that an Aiptek tablet was found and the tablet is working - absolute mode with pressure sensitivity.
My problem starts with GIMP. I have to press, the lift the button on the stylus to start drawing (with sensitity!), but then there is no way to end drawing using the stylus. Sometimes it doesn't work at all, and Gimp globally locks up the left click on my trackball, until I click with the special tablet mouse on Gimp's menus. Switching tools with the keyboard while in "Stylus Mode" doesn't work either.
Kind regards
Jan
I use Gentoo Linux.
You're right about wacom.
In the Gentoo repository there is "xf86-input-aiptek" available.
The wacomtablet program explicitly supports your tablet.
Before I installed wacomtablet I used bash scripts to change things on my wacom tablet.
CLI will only work when xf86-input-whatever is installed.
You can then issue "xsetaiptek list devices" I think.
Gerard.
GIMP and Tablets ...endless story, I expect.
Am 24.02.2012 15:45, schrieb gerard82:
I use Gentoo Linux.
You're right about wacom.
In the Gentoo repository there is "xf86-input-aiptek" available.
This should be the X11 driver, which is included in the xorg-x11-driver-input package on OpenSUSE11.3
[jan@janskiste ~]$ rpm -ql xorg-x11-driver-input|grep aiptek
/usr/lib/xorg/modules/input/aiptek_drv.la
/usr/lib/xorg/modules/input/aiptek_drv.so
/usr/share/man/man4/aiptek.4.gz
[jan@janskiste ~]$
So this is installed.
The wacomtablet program explicitly supports your tablet.
I saw it, but I don't get it to compile on my distribution. That's not too hard to tackle for me, but as I don't need the GUI anyway, I'm just asking about a CLI program with less tedious dependencies.
Before I installed wacomtablet I used bash scripts to change things on my wacom tablet. CLI will only work when xf86-input-whatever is installed. You can then issue "xsetaiptek list devices" I think.
No tool of that name, sorry. The xsetwacom program is there, but it doesn't seem to recognize my tablet. Bummer!
Maybe the generic xinput could help?
[jan@janskiste ~]$ xinput list
⎡ Virtual core pointer id=2 [master pointer
(3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer
(2)]
⎜ ↳ PS2++ Logitech Wheel Mouse id=10 [slave pointer
(2)]
⎜ ↳ Aiptek id=12 [slave pointer
(2)]
⎣ Virtual core keyboard id=3 [master keyboard
(2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard
(3)]
↳ Power Button id=6 [slave keyboard
(3)]
↳ Video Bus id=7 [slave keyboard
(3)]
↳ Sleep Button id=8 [slave keyboard
(3)]
↳ AT Translated Set 2 keyboard id=9 [slave keyboard
(3)]
↳ ThinkPad Extra Buttons id=11 [slave keyboard
(3)]
[jan@janskiste ~]$ xinput list --long 12
Aiptek id=12 [slave pointer
(2)]
Reporting 6 classes:
Class originated from: 12
Buttons supported: 5
Button labels: Button Left Button Middle Button Right
Button Wheel Up Button Wheel Down
Button state:
Class originated from: 12
Detail for Valuator 0:
Label: Abs X
Range: 0.000000 - 2999.000000
Resolution: 14763 units/m
Mode: relative
Class originated from: 12
Detail for Valuator 1:
Label: Abs Y
Range: 0.000000 - 2249.000000
Resolution: 14763 units/m
Mode: relative
Class originated from: 12
Detail for Valuator 2:
Label: Abs Pressure
Range: 0.000000 - 511.000000
Resolution: 512 units/m
Mode: relative
Class originated from: 12
Detail for Valuator 3:
Label: Abs Tilt X
Range: -128.000000 - 127.000000
Resolution: 256 units/m
Mode: relative
Class originated from: 12
Detail for Valuator 4:
Label: Abs Tilt Y
Range: -128.000000 - 127.000000
Resolution: 256 units/m
Mode: relative
[jan@janskiste ~]$ xinput list-props 12
Device 'Aiptek':
Device Enabled (139): 1
Device Accel Profile (259): 0
Device Accel Constant Deceleration (260): 1.000000
Device Accel Adaptive Deceleration (262): 1.000000
Device Accel Velocity Scaling (263): 10.000000
[jan@janskiste ~]$
Kind regards
Jan
GIMP and Tablets ...endless story, I expect.
Am 24.02.2012 15:45, schrieb gerard82:
[...]
Another observation. When I use the tablet mouse, switching the tools with the keyboard works. The same when I use the stylus while it's not in "drawing mode". As soon I press the lower stylus button to switch on "drawing mode", the tool switch by keyboard is off and the left button on the trackball is disabled. To switch tools or use the menus, I have to put the stylus away, put the tablet mouse onto the tablet, click its middle button, then I get the keyboard shortcuts and the left button of the trackball back.
Actually, it would all be useable if there was a less tedious method to get the stylus out of "drawing mode" so I get back the keyboard tool control and left button of my trackball back.
D'oh!
Kind regards
Jan
- postings
- 40
GIMP and Tablets ...endless story, I expect.
Am 24.02.2012 15:45, schrieb gerard82:
[...]
Another observation. When I use the tablet mouse, switching the tools with the keyboard works. The same when I use the stylus while it's not in "drawing mode". As soon I press the lower stylus button to switch on "drawing mode", the tool switch by keyboard is off and the left button on the trackball is disabled. To switch tools or use the menus, I have to put the stylus away, put the tablet mouse onto the tablet, click its middle button, then I get the keyboard shortcuts and the left button of the trackball back.
Actually, it would all be useable if there was a less tedious method to get the stylus out of "drawing mode" so I get back the keyboard tool control and left button of my trackball back.
D'oh!
Kind regards
I don't think I know how to solve your problem.
Did some googling and found this:
http://askubuntu.com/questions/53442/how-can-i-configure-the-aiptek-t-6000u-graphics-tablet
I have a similar file for my wacom tablet in /etc/X11/xorg.conf.d.
Both /usr/share/X11 and /etc/X11 are ok to put this in.
/etc/X11 is read after /usr/share/X11 during boot.
Wacom being the market leader probably makes support in Linux better.
Good luck.
Gerard.
Jan
GIMP and Tablets ...endless story, I expect.
Am 25.02.2012 20:25, schrieb gerard82:
I don't think I know how to solve your problem.
At least you had some time to answer me. Thanks. Is there another place where I could ask.
Did some googling and found this: http://askubuntu.com/questions/53442/how-can-i-configure-the-aiptek-t-6000u-graphics-tablet
Have the file. Works to the point where I have my problem with GIMP.
Kind regards
Jan