Bug 347022 - Unable to setup wacom tablet - widget missing
Summary: Unable to setup wacom tablet - widget missing
Status: RESOLVED FIXED
Alias: None
Product: wacomtablet
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Jörg Ehrichs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 18:36 UTC by Thorsten Rochelmeyer
Modified: 2018-05-14 14:35 UTC (History)
19 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Rochelmeyer 2015-05-01 18:36:19 UTC
Kubuntu 15.04, KDE 5.2.2 / Qt 5.4.1, basic functionality of the tablet is there, but the widget for defining tablet properties is missing (pressure, rotation, keys etc.). Tablet is shown as joystick within the input-devices tab. 

Reproducible: Always




Tablet is a wacom intuos 5M touch, works flawless with Kubuntu 14.04 LTS
Comment 1 Jörg Ehrichs 2015-05-01 20:27:40 UTC
The wacom tablet kcm is not released for KDE5.

There does exist a nearly finished port,but the tablet mapping screen has some bugs which I had no time to fix yet.
Comment 2 Thorsten Rochelmeyer 2015-05-12 14:27:01 UTC
Any idea when to expect it?
Comment 3 Thorsten Rochelmeyer 2015-06-21 11:46:36 UTC
Hallo Jörg,

ich muss leider nochmal auf das fehlende Setup-Widget zurückkommen. 
Kannst Du mir sagen, ob es in absehbarer Zeit ein Widget für Plasma 5
geben wird? Hintergrund meiner Frage ist, dass ich für eine
Veranstaltung Ende nächsten Monats die Tablet-Funktionalität mitsamt der
Einstellmöglicheiten bräuchte. Wenn da noch nichts in Aussucht ist,
müsste ich vorher noch zurück zu 14.04 bzw Plasma 4 wechseln (womit ich
leben könnte). Ich würde mir nur gerne unnötiges Hin- und
her-installieren ersparen.

Vielen Dank für eine kurze Info.

Thorsten


Am 01.05.2015 um 22:27 schrieb Jörg Ehrichs :
> https://bugs.kde.org/show_bug.cgi?id=347022
>
> Jörg Ehrichs <Joerg.Ehrichs@gmx.de> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>      Ever confirmed|0                           |1
>              Status|UNCONFIRMED                 |CONFIRMED
>
> --- Comment #1 from Jörg Ehrichs <Joerg.Ehrichs@gmx.de> ---
> The wacom tablet kcm is not released for KDE5.
>
> There does exist a nearly finished port,but the tablet mapping screen has some
> bugs which I had no time to fix yet.
>
Comment 4 Takiro Ryo 2015-07-23 09:47:20 UTC
I have the same Problem with my Intuos3 9x12 Tablet. Didn't even notice the wacom tablet kcm is missing until I attached a second display and wanted to configure the screen mapping.

Is there a way to manually edit some config files to map the tablet to just one screen as a workaround untill the kcm is ported?
Comment 5 Michael 2015-07-28 01:00:45 UTC
Takiro: You can use the command line program xsetwacom. Its documentation is pretty good, and there is a nice overview on the Arch wiki.  https://wiki.archlinux.org/index.php/Wacom_Tablet
Comment 6 Juan Palacios 2015-08-17 12:43:19 UTC
Jörg,
Back in July, I fixed some bugs related to tablet area and screen mapping on kf5-port branch (plus some other port related things). If you can test it it would be great.
I think that the only thing that remains to do is to rename the .desktop files to the new org.kde. schema.
Comment 7 Thorsten Rochelmeyer 2015-11-04 09:15:19 UTC
Any progress? 

I would really appreciate being able to use the tablet without fiddling around with xsetwacom, which in fact is a P-I-T-A unless you have developer skills.
Comment 8 Michael Kostrzewa 2015-12-08 16:34:50 UTC
Hi guys,

I had the very same problem as the author or this thread and managed to compile the plugin myself and it's usable for me. I needed to do couple of unobvious tweaks though, here they are (I apologize the info below is very rough, also there probably is a better way to do at least some of these steps):

My kubuntu version is 15.10 

1) download the code https://projects.kde.org/projects/extragear/base/wacomtablet/repository/show?rev=kf5-port

append -b kf5-port flag to the git clone command

2) read readme and install all the -dev packages it mentions. Additionally the cmake will complain about plenty of missing cmake files - locate them with 

apt-file search file-it-complains-about.cmake

then install the package with 

apt-get install package-found-in-previous-step



3) libxcb on my kubuntu is configured without xinput and even if you install all the dependencies from the packages the kdewacom cmake will complain about this. You'll need to recompile libxcb. Download it from here

http://xcb.freedesktop.org/dist/

(find the proper version, for my ubuntu it was version 1.11)

and compile with

./configure --enable-xinput --prefix=/usr

I needed to also download and compile xcb-proto because original ubuntu package doesn't seem to have all python scripts needed

3) compile wacomtablet as the readme says, install it

4) I needed to modify file 

/usr/share/kservices5/kded/wacomtablet.desktop

and modify X-KDE-Kded-phase=0 to 1. (see http://askubuntu.com/questions/462158/kde-config-tablet-on-ubuntu where I found this hint)

5) restart kded4 

6) You should be able to see the tablet in system-settings now. My tablet wasn't recognized even if it was listed in /usr/share/wacomtablet/data/wacom_devicelist. I ended up just copying section with my tablet (intuos5 m) to ~/.config/tabletdblocalrc. BTW I found a nice tool /usr/bin/kde_wacom_tabletfinder with which you can edid such local tablet database file.
Comment 9 Michael 2015-12-09 19:56:34 UTC
Hi Michael - as an alternative to using xcb-xinput (which is unstable API currently) there is a new branch releng3.0 and tag v3.0.0-beta1 which can be built without xcb-xinput.
Comment 10 Michael Kostrzewa 2015-12-09 20:10:10 UTC
Cool, thank you for letting me know I'm going to try this.

Also - I found problems with mapping pad/stylus buttons to mouse clicks, my xsetwacom (v 0.30.0) didn't like the way it was invoked by the wacomtablet. I needed to patch it a bit to get it working (basically to set Button 2 parameter to "Button +2" rather just "2". Did you experience such issues? Should I post this patch somewhere (or maybe it's fixed in that other branch)?
Comment 11 office 2016-01-03 16:15:37 UTC
same here.. its like button 2 and 3 are mapped to left click, xsetwacom only works with a plus infornt of the button. resolved it with this....
#!/bin/bash
xsetwacom --set "Wacom Intuos3 4x6 Pen stylus" Button +1
xsetwacom --set "Wacom Intuos3 4x6 Pen stylus" Button +2
xsetwacom --set "Wacom Intuos3 4x6 Pen stylus" Button +3
#switching left with middle mouse button
xsetwacom --set "Wacom Intuos3 4x6 Pen stylus" Button 2 "button +3"
xsetwacom --set "Wacom Intuos3 4x6 Pen stylus" Button 3 "button +2"
Comment 12 Thorsten Rochelmeyer 2016-01-03 18:24:10 UTC
(In reply to Michael Kostrzewa from comment #8)
> Hi guys,
> 
> I had the very same problem as the author or this thread and managed to
> compile the plugin myself and it's usable for me. [...]

Michael, do you think you could fix this issue in a way that would allow KDE to have this in the distro by default again? This would also help those who don't want / can't fiddle around with building stuff.
Comment 13 Michael 2016-01-05 05:56:29 UTC
(In reply to Thorsten Rochelmeyer from comment #12)
> Michael, do you think you could fix this issue in a way that would allow KDE
> to have this in the distro by default again? This would also help those who
> don't want / can't fiddle around with building stuff.


Different MIchael but - the releng3.0 version should be possible to package on Debian distros. The maintainer of the old PPA needs to do this, or someone else needs to re-package and set up a new PPA.
Comment 14 Michael Kostrzewa 2016-01-05 08:54:20 UTC
To office@3demo.info:

Yes, you're right. The wacomtablet KDE applet invokes xsetwacom internally and my changes add the '+' switches so the button mapping works for me without any manual xsetwacom invocations (maybe the releng3.0 version does this too).

Additionally another change  I made was to make the 'switch profile' LED to actually work. The kernel I have (4.2.0-22) doesn't have the kernel device files needed by the original wacom tablet to control the LED while switching between profiles.


To Thorsten:
As another Michael said - making it work under your distro is not so much of a KDE issue but more about packaging it for the distro. 

I need to check the releng3.0 version for compilation problems and to see if the 2 other things (xsetwacom and LED problems) are maybe fixed in this version. If not - Michael - can I just attach the patches here to this ticket?

I can also try to investigate how to make it work under the distro I use (kubuntu) as soon as I find some time.
Comment 15 Jörg Ehrichs 2016-01-05 09:46:37 UTC
(In reply to Michael Kostrzewa from comment #14)
> To office@3demo.info:
> 
> Yes, you're right. The wacomtablet KDE applet invokes xsetwacom internally
> and my changes add the '+' switches so the button mapping works for me
> without any manual xsetwacom invocations (maybe the releng3.0 version does
> this too).

Seems the xsetwacom parameters got chanegd again. Good to know :)

> 
> Additionally another change  I made was to make the 'switch profile' LED to
> actually work. The kernel I have (4.2.0-22) doesn't have the kernel device
> files needed by the original wacom tablet to control the LED while switching
> between profiles.
>

Is this something that changed in the kernel driver recently or just different for your tablet?
Or did I made a mistake and it never should have worked and noone complained before? 

 
> 
> To Thorsten:
> As another Michael said - making it work under your distro is not so much of
> a KDE issue but more about packaging it for the distro. 

Packaging should work again in releng 3.0 but someone should create a new PPA.

> 
> I need to check the releng3.0 version for compilation problems and to see if
> the 2 other things (xsetwacom and LED problems) are maybe fixed in this
> version. If not - Michael - can I just attach the patches here to this
> ticket?

Please attach the patches here, or send them to me.
While I'm a lousy maintainer that is not to activa anymore, I always try to apply patches I get send :)
Comment 16 Valorie Zimmerman 2016-01-07 23:27:56 UTC
Hello Jörg Ehrichs,

You say that you are no longer actively maintaining this valuable bit of KDE software. How about writing up a small description and posting it on the Mission forum? That is one of the reasons we set it up; to post "maintainer wanted" notices along with other jobs that need doing.

https://forum.kde.org/viewforum.php?f=291&sid=b238ab88922632d2d40e7c929449cc71

Valorie
Comment 17 Richard Raimund 2016-04-13 11:02:27 UTC
Is it possible that these settings will be back in the near future? I really want to jump on the Plasma 5 wagon, but I can't, xsetwacom is too much of a hustle. I have not seen such convenient way to set graphic tablets in any other DE.
Comment 18 Valerii Malov 2018-05-13 00:21:59 UTC
I'm going to close this bug because 3.0.0 has been released around a month ago and it made it into a handful of distributions. KDE Neon should have it in main repos, Kubuntu seems to have it in Kubuntu Experimental PPA.

If the package is missing in your distribution then you should report it to the distribution's bugtracker.
Comment 19 britalmeida 2018-05-14 14:02:43 UTC
Hello Valeriy!
What is 3.0.0 ? I have just checked that I am running KDE '4.14.38', which is even not that recent, so the numbers don't seem to match.
I have the possibility to update to KDE 5_18.04 for Slackware, consisting of the KDE Frameworks 5.45.0, Plasma 5.12.4 and Applications 18.04.0 on top of Qt 5.9.5.
(none of those seem to have version numbers matching yours, though)
If I update to that, I would finally be able to configure my tablet?
Comment 20 Valerii Malov 2018-05-14 14:28:29 UTC
(In reply to britalmeida from comment #19)
> Hello Valeriy!
> What is 3.0.0 ? I have just checked that I am running KDE '4.14.38', which
> is even not that recent, so the numbers don't seem to match.
> I have the possibility to update to KDE 5_18.04 for Slackware, consisting of
> the KDE Frameworks 5.45.0, Plasma 5.12.4 and Applications 18.04.0 on top of
> Qt 5.9.5.
> (none of those seem to have version numbers matching yours, though)
> If I update to that, I would finally be able to configure my tablet?

wacom support isn't really a part of KDE Applications (which are just core applications) or Plasma, it's a separate package that usually goes by the name wacomtablet (or kcm-wacomtablet) and it's versioned separately too (3.0.0 is the latest stable release, compatible with Plasma 5).

You need to manually install it from your distro's repository if it's present there. If it's not, you should report this to people responsible for packaging KDE for your distribution.
Comment 21 Thorsten Rochelmeyer 2018-05-14 14:35:48 UTC
try "sudo apt install kde-config-tablet"


On 14.05.2018 16:28, Valeriy Malov wrote:
> https://bugs.kde.org/show_bug.cgi?id=347022
>
> --- Comment #20 from Valeriy Malov <jazzvoid@gmail.com> ---
> (In reply to britalmeida from comment #19)
>> Hello Valeriy!
>> What is 3.0.0 ? I have just checked that I am running KDE '4.14.38', which
>> is even not that recent, so the numbers don't seem to match.
>> I have the possibility to update to KDE 5_18.04 for Slackware, consisting of
>> the KDE Frameworks 5.45.0, Plasma 5.12.4 and Applications 18.04.0 on top of
>> Qt 5.9.5.
>> (none of those seem to have version numbers matching yours, though)
>> If I update to that, I would finally be able to configure my tablet?
> wacom support isn't really a part of KDE Applications (which are just core
> applications) or Plasma, it's a separate package that usually goes by the name
> wacomtablet (or kcm-wacomtablet) and it's versioned separately too (3.0.0 is
> the latest stable release, compatible with Plasma 5).
>
> You need to manually install it from your distro's repository if it's present
> there. If it's not, you should report this to people responsible for packaging
> KDE for your distribution.
>