Bug 408718 - kcm_touch does not respect xinput or synclient configuration changes
Summary: kcm_touch does not respect xinput or synclient configuration changes
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_touchpad (show other bugs)
Version: 5.17.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-15 01:14 UTC by gregory.david.martinez
Modified: 2020-01-22 21:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gregory.david.martinez 2019-06-15 01:14:24 UTC
SUMMARY
If I change my touchpad setting with xinput or synclient, it has no effect on the kcm_touchpad settings.  But, in any other desktop I have tried, it works fine.

STEPS TO REPRODUCE
1. change setting in xinput or synclient
2. 
3. 

OBSERVED RESULT
nothing happends

EXPECTED RESULT
settings changes

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 gregory.david.martinez 2019-06-16 18:08:39 UTC
After a little investigation.  It appears I was changing the wrong device using xinput (i2c_hid make duplicates of my touchpad device and I was using the wrong one).  So, using xinput to change setting works.  But synclient does not work (even after blacklisting the i2c_hid module).
Comment 2 Nate Graham 2019-06-16 22:23:48 UTC
Are you using the Synaptic driver, or Libinput? If you're unsure, please attach a picture of what the Touchpad settings page looks like and I'll figure it out. :)
Comment 3 gregory.david.martinez 2019-06-16 22:38:53 UTC
I'm using the Synaptic driver.  Here is the output of the Xorg.0.log output (grep synaptics Xorg.0.log):

[ 24839.643] (II) LoadModule: "synaptics"
[ 24839.643] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[ 24839.644] (II) Module synaptics: vendor="X.Org Foundation"
[ 24839.644] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 24839.646] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[ 24839.646] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1276 - 5666 (res 0)
[ 24839.646] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1118 - 4734 (res 0)
[ 24839.646] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 24839.646] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 24839.646] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[ 24839.647] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 24839.648] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 24839.648] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 24839.648] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 24839.648] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[ 24839.649] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found


Here is xinput output:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ELAN Touchscreen                          id=10   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=17   [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)]
    ↳ Integrated_Webcam_HD: Integrate           id=11   [slave  keyboard (3)]
    ↳ Intel Virtual Button driver               id=12   [slave  keyboard (3)]
    ↳ Intel HID events                          id=13   [slave  keyboard (3)]
    ↳ Intel HID 5 button array                  id=14   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=15   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=16   [slave  keyboard (3)]
Comment 4 Nate Graham 2019-06-16 22:45:11 UTC
Thanks! And which Plasma version do you have?
Comment 5 gregory.david.martinez 2019-06-16 22:55:10 UTC
well, after some more investigation, it seems I have been fooling myself, and wasting your time (sorry :/).  So, originally, the i2c_hid driver had made duplicates of my touchpad device making synclient not work properly, so I blacklisted i2c_hid.  Afterwards, I tested synclient with "synclient TouchpadOff=1" expecting the touchpad to be disabled (it wasn't) -- It didn't occur to me to test the other settings.  But, changing the other settings via synclient, with i2c_hid blacklisted, seem to work fine.  So, both synclient (with the exception of TouchpadOff) and xinput seem to work.
Comment 6 Nate Graham 2019-06-16 22:57:28 UTC
Glad to hear it! :) No worries, it's why we do bug triaging. On that subject, you seem like a very technically knowledgeable fellow. Would you like to do a bit of bug triaging yourself? Our resources are stretched quite thin and we'd love the help. If you're interested, check out https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Or if development is more your thing, check out https://community.kde.org/Get_Involved/development