Summary: | kded_wacomtablet does detect when a tablet is disconnected/reconnected | ||
---|---|---|---|
Product: | [Plasma] wacomtablet | Reporter: | onitake |
Component: | general | Assignee: | Valerii Malov <jazzvoid> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabian |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/wacomtablet/17d5878d56da3384b29cc5aa13f11af8576776dc | Version Fixed In: |
Description
onitake
2016-04-14 00:31:26 UTC
I just hit the same issue. Unloading and loading the kded module again causes the tablet to be detected. This was indeed due to libxcb being built without --enable-xinput (although I could swear it was in the past...). However, as xcb-input is apparently not widely available, re-enabling the Xlib detection is probably the best option - it looks like the keyboard kded module has a workaround: https://github.com/KDE/plasma-desktop/blob/44051d03232e11ceb7e2b0567662a638caf16156/kcms/keyboard/xinput_helper.cpp Git commit 17d5878d56da3384b29cc5aa13f11af8576776dc by Fabian Vogt. Committed on 02/01/2018 at 19:11. Pushed by fvogt into branch 'master'. Implement hotplugging on Xlib Summary: Register for events using Xlib and read them using Xcb. This is a mixture of the method used in qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp and plasma-desktop's ca7618dd6173db8a8f0e36d91a38a1d4ac7d0706 Test Plan: Restarted kded after make install, plugging and unplugging causes notifications. Reviewers: valeriymalov Reviewed By: valeriymalov Subscribers: valeriymalov Differential Revision: https://phabricator.kde.org/D9576 M +1 -1 CMakeLists.txt M +75 -27 src/kded/x11eventnotifier-xlib.cpp https://commits.kde.org/wacomtablet/17d5878d56da3384b29cc5aa13f11af8576776dc |