Can't calibrate or create profiles in KDE Wacom Tablet Settings GUI

Asked by lachoneus

I am running Kubuntu 13.04 with a Cintiq 13HD (DTK1300).

Just as the title says, I am unable to create profiles in the Wacom Tablet Settings GUI.

When I right-click on the tablet widget, and select "Wacom Tablet Settings", it brings up the settings window, along with a notification saying "Graphic Tablet error. Profile Default does not exist". Then, when I click on the icon next to the "Select Profile" drop -down bar, enter in a new name, and click "OK", I get the same notification mentioned above. The difference being, "Default" is replaced with whatever I entered in for a new name.

According to this link: http://kde-apps.org/content/show.php?content=114856&forumpage=9&PHPSESSID=99bdb6924e4d2f1b7099572cca65bd21 This bug has been fixed, but I have installed the latest wacomtablet driver (2.0-0ppa1~raring), and I am still having this issue.

Another thing that I noticed that was weird, I can map buttons through the GUI, and also change shortcuts, but any stylus calibration or screen mapping changes I make don't take any noticeable effect. It seems it can save button mappings but not calibration. Also, with multiple monitors, I am unable to map the cintiq to just one monitor.

Pressure sensitivity works, and there doesn't seem to be any lag.

I would like to be able to calibrate the display, because I am experiencing some parallax when I draw towards the edges of the tablet.

Thank you for your feedback in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wacomtablet Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Maret-Huskinson
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Maret-Huskinson (maret) said :
#1

Quote:
"When I right-click on the tablet widget, and select "Wacom Tablet Settings", it brings up the settings window, along with a notification saying "Graphic Tablet error. Profile Default does not exist"."

Hmm, this bug should be fixed. Plase make a backup of your configuration files so we can check what's wrong:

"$HOME/.kde/share/config/tabletprofilesrc"
"$HOME/.kde/share/config/wacomtablet-kderc"

Then stop the wacom daemon and delete those files:

1) Go to the KDE Control Panel
2) Open "Startup & Shutdown" -> "Service Manager"
3) Select the Wacom service and press the "Stop" button.
4) Open a terminal and execute:
5) rm "$HOME/.kde/share/config/tabletprofilesrc"
6) rm "$HOME/.kde/share/config/wacomtablet-kderc"
7) Go back to the service manager and start the Wacom service again.
8) Create a new profile.

Quote:
"It seems it can save button mappings but not calibration. Also, with multiple monitors, I am unable to map the cintiq to just one monitor."

Many monitor mappings are only available if your tablet operates in absolute tracking mode. If you tablet is set to absolute mode then this should definitely work. If it still doesn't, even after deleting your configuration files, then this requires more investigation.

Revision history for this message
lachoneus (7achoneus) said :
#2

Thank you for your response. I went through the steps that you listed above. And I still have the same issue.

A few things that I noticed though. When I was backing up the two files listed above, only "tabletprofilesrc" was in the folder. I did several searches and I was unable to find "wacomtablet-kderc", so I was unable to back that up.

I terminated the daemon and deleted "tabletprofilesrc" (couldn't delete wacomtablet-kderc" because it wasn't there). And after starting the daemon again, I tried creating a new profile with no success. And it is still unable to create the default profile when I open the config GUI.

Something interesting thought. If I go into the Wacom Tablet Settings>Tablet>Stylus Tracking Mode> and select "Map to Screen (Absolute Mode)", then hit "OK". When I go back in to see if it saved the change, it has gone back to the default "Map to Cursor (Relative Mode)", it isn't keeping the change.

Here is the interesting part. I am unable to switch this option in the settings menu, like I mentioned above, but, if I click on the plasma widget and switch it from "Relative" to "Absolute", it works. I can also change the orientation through the plasma widget.
Another thing I noticed about changing it through the widget, if I change the mode through the plasma widget, and use the stylus to control the cursor, the cursor moves smooth. But if I start to use my mouse, the cursor movement is slow and choppy.

Could there be an issue between the widget and the actual configuration GUI? (Two sets of configuration files perhaps?)

Other things to note, but I am not sure if they are related to the problem. In the configuration GUI, there are no options to map keys to tablet buttons. I can only map the stylus buttons, but I noticed that the stylus buttons are switched. Example: If I map "X" to button 2 and "Y" to button 3. When I click button 3 on the stylus, it acts like it is pressing "X" instead of "Y", and if I click button 2, it acts like it is pressing "Y" instead of "X". The mapping is backwards.

Sorry for the lengthy replies, I just want to make sure I can provide as much info as possible. And again, thank you for your help.

Revision history for this message
Alexander Maret-Huskinson (maret) said :
#3

Hmm, this might be a problem with your tablet not being supported properly. We might have a wrong entry for your tablet in our tablet database.

Can you send me the output of

$ lsusb
$ xsetwacom --list
$ xinput --list

Also I would like to see your tabletprofilesrc configuration files. Both versions, the old one you saved and the new one where you tried to change some settings.

Either post the stuff here, or you can just send me an e-mail to alex at maret dot de.

Revision history for this message
lachoneus (7achoneus) said :
#4

Output for "lsusb"

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 059b:0070 Iomega Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8086:0189 Intel Corp.
Bus 002 Device 003: ID 056a:0305 Wacom Co., Ltd
Bus 002 Device 004: ID 0424:b832 Standard Microsystems Corp.
Bus 002 Device 005: ID 064e:e258 Suyin Corp.
Bus 002 Device 006: ID 056a:0304 Wacom Co., Ltd
Bus 002 Device 007: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light

Output of "xsetwacom --list"

Wacom Cintiq 13HD stylus id: 10 type: STYLUS
Wacom Cintiq 13HD eraser id: 16 type: ERASER
Wacom Cintiq 13HD pad id: 17 type: PAD

Output of "xinput --list"

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Wacom Cintiq 13HD stylus id=10 [slave pointer (2)]
⎜ ↳ Standard Microsystems Corp. HP Wireless Audio Adapter id=11 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎜ ↳ Wacom Cintiq 13HD eraser id=16 [slave pointer (2)]
⎜ ↳ Wacom Cintiq 13HD pad id=17 [slave pointer (2)]
⎜ ↳ Bluetooth Optic Mouse id=18 [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)]
    ↳ Video Bus id=8 [slave keyboard (3)]
    ↳ Power Button id=9 [slave keyboard (3)]
    ↳ HP TrueVision HD id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
    ↳ HP WMI hotkeys id=15 [slave keyboard (3)]

Here is the Old "tabletprofilesrc" file:

[eraser]
0ForceProportions=false
0MapToOutput=0
0RotateWithScreen=false
0ScreenMapping=map
0ScreenSpace=0 0 1920 1080
0TabletArea=full
Area=357 297 59149 33550
Button2=3
Button3=2
Mode=absolute
PressureCurve=
Rotate=0
Threshold=0

[pad]
Button1=
Button10=
Button2=
Button3=
Button4=
Button5=
Button6=
Button7=
Button8=
Button9=
StripLeftDown=
StripLeftUp=
StripRightDown=
StripRightUp=

[stylus]
0ForceProportions=false
0MapToOutput=0
0RotateWithScreen=false
0ScreenMapping=map
0ScreenSpace=0 0 1920 1080
0TabletArea=full
Area=357 297 59149 33550
Button2=3
Button3=2
Mode=absolute
PressureCurve=44 9 91 56
Rotate=0
TabletPCButton=off
Threshold=0

[touch]
0ChangeArea=true
0ForceProportions=false
0InvertScroll=off
0RotateWithScreen=false
0ScreenMapping=full
0ScreenSpace=0 0 3840 1080
Area=-2147483648 -2147483648 -2147483648 -2147483648
Button4=4
Button5=5
Gesture=off
Mode=relative
Rotate=0
ScrollDistance=0
TapTime=0
Touch=off
ZoomDistance=0

I don't have a new "tabletprofilesrc" file. Do I have to manually generate a new "tabletprofilesrc" file through a terminal ? I have rebooted my computer twice, and tried to change settings in the configuration GUI, but there isn't a new file in "$HOME/.kde/share/config/".

Revision history for this message
Alexander Maret-Huskinson (maret) said :
#5

Ok, it does not work because your device is not in our database. You found a bug, because normally you should get an error message which tells you that your device is not supported. We have to fix this with the next version.

I can send you the database entry and you can easily add it yourself. However from looking at the output of lsub, I can see you have two Wacom devices. One of them is probably a wireless adapter. Can you tell me which one is which so I can send you the database entry.

Also it's ok that you do no longer have a tabletprofilesrc. After adding the database entry you should delete the tabletprofilesrc (if you have one by then) again to make sure no invalid entries are present.

Revision history for this message
Alexander Maret-Huskinson (maret) said :
#6

Sorry, I forgot something. I also need the correct button mapping of your device.

Please switch to a console and type:

$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 1 "key a"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 2 "key b"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 3 "key c"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 8 "key d"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 9 "key e"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 10 "key f"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 11 "key g"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 12 "key h"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 13 "key i"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 14 "key j"
$ xsetwacom --set "Wacom Cintiq 13HD pad" Button 15 "key k"

Some of these commands might quit with an error message.

Then make sure your terminal is still active (so you can type commands) and press each button. When you press a button, one of the above chars will appear in the console. I need to know which _tablet_ button gets mapped to which character, starting from the top. Just send me the mapping table, which could look like this:

Button 1: a
Button 2: i
Wheel Button: b
Button 3: f
Button 4: j

Revision history for this message
lachoneus (7achoneus) said :
#7

This is a fairly new device, they just released it about a month ago.

I am not sure why it is listing wacom twice. When I unplug my cintiq, both entries in "lsusb" disappear. And when I plug the tablet back in, it seems to pick random device numbers for both entries, every time I plug it in. So, I am not sure which. But if I had to guess it would be the one with the device ID 056a:0305 (device 003 from the list above). The only difference between this device ID and the one for the second entry is that there is a "4" and the end instead of a "5".

If there is a better way to make sure it is the right device, let me know. I will be searching for ways to check myself while I wait for your reply.

Revision history for this message
Alexander Maret-Huskinson (maret) said :
#8

No worries, I will just add both devices to the tablet database. If your device does not have wireless support, then one of these entries might be the monitor. However it does not really matter because "xsetwacom --list" lists only one device.

Just send me the button mappings so I can create a database entry for your device.

Revision history for this message
lachoneus (7achoneus) said :
#9

Here you are sir. Thanks again for your help. Can't wait to have this cintiq working 100% in linux. Working in Windows again has been hard.

Button 1: b
Button 2: c
Wheel Button Center: a
Wheel Button Top: g
Wheel Button Left: h
Wheel Button Right: f
Wheel Button Bottom: i
Button 3:d
Button 4: e

Revision history for this message
Best Alexander Maret-Huskinson (maret) said :
#10

Ok, this is weird. I always thought you would use these wheels by rotating them in one or the other direction. Does this work on your device as well or is just limited to the 4 directions top, left, bottom and right? What happens if you press top-right or bottom-left?

Nevertheless, here are your database entries:
-----------------------
[0304]
model=DTK-1300
layout=unknown
name=Wacom Cintiq 13HD
padbuttons=9
wheel=no
touchring=no
touchstripl=no
touchstripr=no
hwbutton1=2
hwbutton2=3
hwbutton3=1
hwbutton4=11
hwbutton5=12
hwbutton6=10
hwbutton7=13
hwbutton8=8
hwbutton9=9

[0305]
model=DTK-1300
layout=unknown
name=Wacom Cintiq 13HD
padbuttons=9
wheel=no
touchring=no
touchstripl=no
touchstripr=no
hwbutton1=2
hwbutton2=3
hwbutton3=1
hwbutton4=11
hwbutton5=12
hwbutton6=10
hwbutton7=13
hwbutton8=8
hwbutton9=9
-----------------------

Normally the KDE control module would show you a picture of your button layout and which number belongs to which button, but we do not have a button layout for your device yet. Therefore you just have to remember which button is which for now. I used the same button order in which you listed the buttons.

Tablet Button 1 = Button 1
Tablet Button 2 = Button 2
Wheel Center : Button 3
Whee Top : Button 4
Wheel Left : Button 5
Wheel Right : Button 6
Wheel Bottom : Button 7
Tablet Button 3 : Button 8
Tablet Button 4 : Button 9

These are the button numbers (1-9) which you will see in the Wacom KCM. You can change that by adjusting the "hwbuttonX" entries if you do not like that order.

If you can rotate your wheel as well, then you should set "touchring=yes" instead of "touchring=no". This will allow you to assign actions to each rotation.

To install the new database entries do the following:

1) Stop the Wacom service in the KDE control panel
2) As root, edit the file /usr/share/kde4/apps/wacomtablet/data/wacom_devicelist
3) Add the above database entries to the end of the file.
4) Save the file
5) Make sure you do not have a "$HOME/.kde/share/config/tabletprofilesrc" file.
6) Start the wacom service.
7) Try to create a profile or use the default profile which should now be created successfully.

Revision history for this message
lachoneus (7achoneus) said :
#11

Awesome! It seems like everything is working good. I still have a parallax problem, the closer I get to the edges the more out of sync the cursor gets with the stylus. I tried to do the calibration through the configuration GUI, but it doesn't seem to be doing much. I know that Cintiq will always have a bit of this, but it isn't this bad in Windows.

Anyways, I can search around for some alternate calibration methods. If you have any suggestions let me know. Thank you again. If you need more info for this device just pm me.

Revision history for this message
lachoneus (7achoneus) said :
#12

Thanks Alexander Maret-Huskinson, that solved my question.

Revision history for this message
Alexander Maret-Huskinson (maret) said :
#13

I don't think there is an alternate calibration method. Afaik the only way to callibrate wacom tablets on Linux is by mapping the screen area to a tablet area. So it is not possible to have a non-linear callibration which compensates for a bigger offset at the edges. Still, I might be wrong. You should better ask on the linuxwacom developer mailing list.

Have fun with your tablet :-)

Revision history for this message
lukyluke (luca-tagliacozzo) said :
#14

I have the same problem, I do not have the file $HOME/.kde/share/config/wacomtablet-kderc.
I have a Latitute XT3 with kubuntu 12.11 on it, the tablet is a N-trig that uses the wacom driver
I paste the output of the commands
outuput of lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 413c:8187 Dell Computer Corp. DW375 Bluetooth Module
Bus 001 Device 004: ID 0c45:6437 Microdia
Bus 001 Device 005: ID 1b96:0006 N-Trig
Bus 002 Device 003: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor

output of xsetwacom --list
N-Trig Pen stylus id: 11 type: STYLUS
N-Trig Pen eraser id: 18 type: ERASER
N-Trig Pen pad id: 19 type: PAD

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ N-Trig Pen stylus id=11 [slave pointer (2)]
⎜ ↳ DualPoint Stick id=15 [slave pointer (2)]
⎜ ↳ AlpsPS/2 ALPS DualPoint TouchPad id=16 [slave pointer (2)]
⎜ ↳ N-Trig Pen eraser id=18 [slave pointer (2)]
⎜ ↳ N-Trig Pen pad id=19 [slave pointer (2)]
⎜ ↳ N-Trig Touchscreen id=13 [slave pointer (2)]
⎜ ↳ N-Trig MultiTouch 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)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)]
    ↳ Dell WMI hotkeys id=17 [slave keyboard (3)]

My main problem is that I would like to use the laptop to take notes but Xournal treat the pen inconsistently, sometimes it writes even if I do not touch the screen,

Regards
Luca

Revision history for this message
Harlan Wilkerson (harlanlwilkerson) said :
#15

I have the same problem creating a default profile with an n-trig HP Tx2-1025dx and two Wacom HP Tx2500 Pavilion laptops with the latest Raring Kububtu packages.

Revision history for this message
David (david-oreshok) said :
#16

Have the same problem in Dell Latitude xt2 with touchscreen:
- same notification "Graphic Tablet error. Profile Default does not exist"
- can't save properties. Its important for me because if i rotate screen - pen is inverting. In Your driver i see this option but can’t use it because properties not saves.
- can’t have files tabletprofilesrc & wacomtablet-kderc.

Use kubuntu 13.04 x64

Revision history for this message
David (david-oreshok) said :
#17

have not nice but working decision(see screenshot - https://lh5.googleusercontent.com/-DUMD8esIEP0/Uk4E6xkrlsI/AAAAAAAABv8/Bz4k3ZlldE0/w476-h309-no/%D1%81%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA2.png):
- install plasma wacom widget
- press 2 for portrait mode
- press 1 to default landscape mode
- it works! But not very usefull: must press 2 in this position - https://lh4.googleusercontent.com/-4x_7A8rWRwI/Uk4FQt_6cVI/AAAAAAAABwc/fQ-wwc5grMU/w702-h395-no/20131004_001.jpg )

Revision history for this message
Vangelis Tasoulas (cyberang3l) said :
#18

I just bought a Wacom Intuos Pro Medium and I had the same problem because the kde file "wacom_devicelist" is outdated in Kubuntu 14.04 that I use.

In order to fix the issue and after I read the instructions from Alexander, I looked for a latest version of the file in the KDE GIT repository, and I saw that the device is already added there.

So a few simple steps that enabled the support for my device are the following:

1. Get the latest "wacom_devicelist" from KDE trunk
wget https://projects.kde.org/projects/extragear/base/wacomtablet/repository/revisions/master/raw/data/wacom_devicelist -O ~/wacom_devicelist

2. Copy the file to the proper directory
sudo cp wacom_devicelist /usr/share/kde4/apps/wacomtablet/data/wacom_devicelist

3. Add the permissions that default file had
sudo chmod 644 /usr/share/kde4/apps/wacomtablet/data/wacom_devicelist

4. Restart the wacomtablet kde service
qdbus org.kde.kded /kded org.kde.kded.unloadModule wacomtablet
qdbus org.kde.kded /kded org.kde.kded.loadModule wacomtablet

Revision history for this message
iLugo (isra) said :
#19

This bug has been closed on 2013-05-20 and yet the problem is still happening in 2015 Kubuntu 15.04, with Intuos Pro.

The issue has been well described by Vangelis: the /usr/share/kde4/apps/wacomtablet/data/wacom_devicelist is obsolete, once again.

The file in Kubuntu 115.04 is from 08-05-2013: more than two years old! Comparing it with the current version (as of today, 17-07-2015) in the KDE trunk link (kindly posted by Vangelis, thanks a lot, mate!), one can see that there have been several additions in the last two years, including several Intuos models.

The bug does not seem to be, therefore, a mistake in the code, but a very simple fact: using old and obsolete files. Surely Kubuntu 15.04 (and I suppose Ubuntu 15.04 too?) was not really finished in April 2015. But... using a more than two years old "wacom_devicelist" file looks like something that should be avoided.

But whatever the cause for not having used an updated version like Vangelis discovered, this bug is still alive and should be reopened, and only closed when the package kde-config-tablet (the one that includes the wacom_devicelist) is kept up to date at least reasonably.

Thanks a lot Vangelis for this very useful information, even when this thread has been quiet for long time.

Revision history for this message
yu sheng lin (johnjohnlys) said :
#20

In my computer wacom_devicelist is outdated as well (14.04) and Vangelis's link is very helpful.
After overwriting the file and restarting the kde service, everything works fine!