Bug 333819 - Adding Wacom Cintiq Companion Hybrid to devices
Summary: Adding Wacom Cintiq Companion Hybrid to devices
Status: RESOLVED FIXED
Alias: None
Product: wacomtablet
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jörg Ehrichs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 12:07 UTC by Larpon
Modified: 2018-05-19 16:38 UTC (History)
1 user (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 Larpon 2014-04-24 12:07:43 UTC
KDE on Kubuntu 14.04 tablet settings can't recognize Cintiq Companion Hybrid device and it's not possible to add any profiles. I'd like to add the entry myself but I can't figure out how to get all the information that's needed in wacom_devicelist. Specifically the [<hex digits>] section headers. The device almost works - it works as a monitor - and the stylus input works - but calibration and Display settings are somewhat buggy. If two screens are put on top of eachother in Display settings the tablet settings only allows settings for one screen.
Comment 1 Larpon 2014-04-24 20:24:56 UTC
Ok progress..

I added the following to /usr/share/kde4/apps/wacomtablet/data/wacom_devicelist :

[0309]
model=DHT-A1300
layout=unknown
name=Wacom Cintiq Companion Hybrid 13HD touch
padbuttons=16
wheel=no
touchring=no
touchstripl=no
touchstripr=no

[0307]
model=DHT-A1300
layout=unknown
name=Wacom Cintiq Companion Hybrid 13HD
padbuttons=18
wheel=no
touchring=no
touchstripl=no
touchstripr=no

I can now add profiles but I'm missing a "Touch" tab and the calibrating is way off/not working correctly.
Comment 2 Jörg Ehrichs 2014-04-24 21:00:06 UTC
I think the problem is, that the wacom kde settings currently only support one tablet at a time.

Your setup seems to have 2 tablets in one? Never new this would exist, but is another good reason to add support for more than one tablet.

For the moment, this is broken :/
Comment 3 Larpon 2014-04-24 21:20:49 UTC
Hi Jörg,

It's only one tablet (I can see via dmesg the registering of two inputs:
one pen and one touch) - the tablet however also acts as a monitor (so you
can draw directly on the screen just like paper) - so when connected it
becomes a two monitor setup with a pen surface and a touch surface.

I got it somewhat calibrated for the second screen and have tried it with
Gimp, Inkscape and Krita but the calibration tool is kind of broken in the
dual monitor setup. I also need to figure out the exact button mappings.
Everything else seems to work (pressure, tilt etc.)
On 24 Apr 2014 23:00, "Jörg Ehrichs" <Joerg.Ehrichs@gmx.de> wrote:

> https://bugs.kde.org/show_bug.cgi?id=333819
>
> Jörg Ehrichs <Joerg.Ehrichs@gmx.de> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |CONFIRMED
>      Ever confirmed|0                           |1
>
> --- Comment #2 from Jörg Ehrichs <Joerg.Ehrichs@gmx.de> ---
> I think the problem is, that the wacom kde settings currently only support
> one
> tablet at a time.
>
> Your setup seems to have 2 tablets in one? Never new this would exist, but
> is
> another good reason to add support for more than one tablet.
>
> For the moment, this is broken :/
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 4 Valerii Malov 2018-05-19 16:38:30 UTC
Git commit e70dd80f5e362323f2c11dd5aeb9e542f4cf8778 by Valeriy Malov.
Committed on 19/05/2018 at 16:37.
Pushed by valeriymalov into branch 'master'.

Merge devices that have different USB ID for touch in the KCM

Some tablets report different USB IDs for their touch part (e.g. Cintiq
Companion Hybrid reports 0x0307 for pen and 0x0309 for touch). Huge
amount of wacomtablet code expects that single tablet has single USB ID.
This caused settings for the pen/pad devices display and apply
separately.

Add two additional tablet properties for tablet databases:
* TouchSensorID - the product ID for the touch sensor
* IsTouchSensor - the device is a touch sensor and to be hidden from KCM
Add support for the first property in libwacomwrapper (seems like there's
no support for second one in libwacom, for now we'll have to rely on
built-in database)
Extend DBus api with them
Hide touch sensor devices from KCM and applet device list
ProfileManagement makes use of TouchSensorID property and saves/reads to/
from corresponding device profile files
setProfile now calls another setProfile for touch sensor devices
Add Wacom Cintiq Hybrid Companion and Wacom 24HD touch sensor devices to
database
Other sensor devices need to be manually specified in device database

Fixed a bug where kded module ignores vendor ID when creating default
profiles for unknown devices

M  +10   -16   data/wacom_devicelist
M  +15   -1    src/common/libwacomwrapper.cpp
M  +70   -45   src/common/profilemanagement.cpp
M  +1    -2    src/common/profilemanagement.h
M  +2    -0    src/common/tabletdatabase.cpp
M  +2    -1    src/common/tabletinfo.cpp
M  +2    -0    src/common/tabletinfo.h
M  +5    -0    src/dataengine/wacomtabletengine.cpp
M  +32   -17   src/kcmodule/kcmwacomtabletwidget.cpp
M  +2    -0    src/kcmodule/kcmwacomtabletwidget.h
M  +12   -0    src/kded/dbustabletservice.cpp
M  +22   -0    src/kded/dbustabletservice.h
M  +11   -0    src/kded/org.kde.Wacom.xml
M  +10   -2    src/kded/tablethandler.cpp

https://commits.kde.org/wacomtablet/e70dd80f5e362323f2c11dd5aeb9e542f4cf8778