Bug 101886 - Cannot fully disable touchpad
Summary: Cannot fully disable touchpad
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/synaptics (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Peter Hutterer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 18:33 UTC by phaoost
Modified: 2018-08-10 20:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xinput log (1.13 KB, text/plain)
2017-07-24 04:59 UTC, phaoost
no flags Details
xinput list (1.11 KB, text/plain)
2017-07-25 04:17 UTC, phaoost
no flags Details
evemu-record output (7.76 KB, text/plain)
2017-07-25 04:18 UTC, phaoost
no flags Details
xinput log (5.28 KB, text/x-log)
2017-07-25 15:15 UTC, phaoost
no flags Details
evemu-record log (16.68 KB, text/x-log)
2017-07-25 15:15 UTC, phaoost
no flags Details
xinput list props touchpad (1.69 KB, text/plain)
2017-07-25 15:26 UTC, phaoost
no flags Details
attachment-26012-0.html (2.43 KB, text/html)
2017-07-28 09:51 UTC, phaoost
no flags Details

Description phaoost 2017-07-23 18:33:29 UTC
Hello,

I am unable to fully disable touchpad.
I disable the device with xinput and it shows as disabled:

$ xinput list-props 12|grep Enabled
        Device Enabled (130):   0

However, when I use trackpoint and doing selection with left button, occasionally I can touch it with my hand and selection becomes sticky! So even I release left button, the pointer is still in selection mode.

I can reproduce the same always with two finger tap.

Steps are:

1. Press and hold left button for trackpoint.
2. Touch touchpad with two fingers
3. Release left button.
5. Remove two fingers from touchpad
5. Moving pointer and observe selection continues

I am unable to turn it off.
Comment 1 phaoost 2017-07-23 18:38:13 UTC
Just a clarification.

Turning off the selection is possible with clicking left button again.

I am unable to turn off sticky behavior of two finger tap on disabled touchpad.
Comment 2 Peter Hutterer 2017-07-23 22:37:53 UTC
run xinput test-xi2 after disabling the touchpad and see if you can reproduce it. Make a note of the touchpad's device ID in the list at the stop, then look out for events from that device.

Most events will have a 'device' line similar to this:
    device: 3 (9)

Where the number in the brackets, 9 in this example, indicates which device the event came from. Do you still get events from the touchpad when it's disabled?

What laptop model and touchpad model are we talking about here anyway?
Comment 3 phaoost 2017-07-24 04:58:46 UTC
Hi,

no I don't get event from 2-finger tap in xinput. I attach log. The 2-finger tap should be after raw button press.

I am able to reproduce this issue on both of my laptops: Lenovo Thinkpad X260 (model ID 20F6) and Lenovo Helix 2 (model ID 20CG) with Thindpad Helix Ultrabook Pro keyboard .

Both touchpads are showing as SyncPS/2 in xinput output. I am not aware of how to get further touchpad model details
Comment 4 phaoost 2017-07-24 04:59:18 UTC
Created attachment 132859 [details]
xinput log
Comment 5 Peter Hutterer 2017-07-24 05:31:41 UTC
Attach the full output of sudo evemu-record for a tap sequence, and the xinput list output as well please. The xinput log is cut short, so it's a bit hard to figure out which device is which.
Comment 6 phaoost 2017-07-25 04:17:07 UTC
Created attachment 132942 [details]
xinput list
Comment 7 phaoost 2017-07-25 04:18:57 UTC
Created attachment 132943 [details]
evemu-record output

Here is evemu-record output just for 2-finger tap.
Let me know if I need to fully reproduce the issue and provide full output from all commands
Comment 8 Peter Hutterer 2017-07-25 08:24:25 UTC
If the device list hasn't changed since the last incarnation, it looks like the device that's sending events (id 12) is the trackpoint. that's a bit strange, you might want to verify this, i.e. run xinput test-xi2 again, note the device IDs for your touchpad and trackpoint, disable the device, then reproduce it. Do you really see the trackpoint id when the ghost events happen? if so, we likely have some kernel issue.

do you have any other non-standard configuration? what touchpad driver do you use? libinput or synaptics? what's the output of xinput list-props <device name> for the touchpad
Comment 9 phaoost 2017-07-25 15:15:08 UTC
Created attachment 132965 [details]
xinput log

I have reproduced the issue and collected both logs here uncut.
Comment 10 phaoost 2017-07-25 15:15:50 UTC
Created attachment 132966 [details]
evemu-record log
Comment 11 phaoost 2017-07-25 15:26:43 UTC
Created attachment 132967 [details]
xinput list props touchpad

in xinput output I don't see any events from touchpad. I use synaptics driver and touchpad is always disabled. Trackpoint is my working device, e.g. I am always using only it.
I don't use libinput.
Comment 12 Peter Hutterer 2017-07-28 09:07:28 UTC
judging by the xinput output, you're using evdev as touchpad driver. That's unusual, especially since you say you use the synaptics driver. Either you're missing the package or you have some configuration to override synaptics with evdev.

the xinput log shows that all the events are coming from the trackpoint only, there are none from the touchpad. I'm a bit stuck now, i really don't know what to do here. The only explanation I have here is that using the touchpad can sometimes generate events on the traackpoint kenel device. Not sure how to fix that, tbh.
Comment 13 phaoost 2017-07-28 09:51:18 UTC
Created attachment 133093 [details]
attachment-26012-0.html

Hello,

I've found that synaptics xorg driver package is not installed on my system.
I was judging that it was synaptics from xinput output however I did check
and found it's actually absent.
Sorry for wrong information.
I have touchpad disabled in cmos setup also.


On 28 July 2017 at 17:07, <bugzilla-daemon@freedesktop.org> wrote:

> *Comment # 12 <https://bugs.freedesktop.org/show_bug.cgi?id=101886#c12> on
> bug 101886 <https://bugs.freedesktop.org/show_bug.cgi?id=101886> from Peter
> Hutterer <peter.hutterer@who-t.net> *
>
> judging by the xinput output, you're using evdev as touchpad driver. That's
> unusual, especially since you say you use the synaptics driver. Either you're
> missing the package or you have some configuration to override synaptics with
> evdev.
>
> the xinput log shows that all the events are coming from the trackpoint only,
> there are none from the touchpad. I'm a bit stuck now, i really don't know what
> to do here. The only explanation I have here is that using the touchpad can
> sometimes generate events on the traackpoint kenel device. Not sure how to fix
> that, tbh.
>
> ------------------------------
> You are receiving this mail because:
>
>    - You reported the bug.
>
>
Comment 14 GitLab Migration User 2018-08-10 20:59:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/issues/7.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.