Bug 584593 - n-trig multitouch hid driver causes stuck grabs in X
Summary: n-trig multitouch hid driver causes stuck grabs in X
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
: 575409 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-21 23:39 UTC by John (J5) Palmieri
Modified: 2013-03-13 04:51 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-06-09 11:19:04 UTC
Type: ---

Attachments (Terms of Use)

Description John (J5) Palmieri 2010-04-21 23:39:51 UTC
Description of problem:

The n-trig driver in kernel 2.6.33.x is broken.  If I accidental hit my touchscreen it will cause the left mouse button in X to get stuck due to not emitting button release events.  The only way to fix this is to exit X or float the device off the master pointer using the xinput float command.

I can confirm that the driver from Linus' 2.6.34 tree works much better.  Could we backport this or at least not build the broken driver so I can build it as a module instead of patching and rebuilding my kernel every time?  Even when we move to 2.6.34 it would be nice to have this driver as a module since the multitouch features are in heavy development.  

Version-Release number of selected component (if applicable):

How reproducible:

Every time

Steps to Reproduce:
1. Boot into fedora 13 on a machine with an N-Trig Duosense touchscreen 
2. touch the screen until it grabs the left mouse button (text will be selected or the desktop selection rubber band will activate)
3. Try using the left mouse button
Actual results:

Left mouse button does not work.  Middle and right still work.

Expected results:

Left mouse button is released (Button Release event fires) when your finger is removed from the screen.

Comment 1 Brennan Ashton 2010-06-02 18:26:09 UTC
I have also been seeing a simmilar issue with a n-trig.  Randomly even when I am not using the touch screen the left button will get stuck. I can unstick it by taping the screen with the pen, but this happens so frequently that Fedora is bascially unusable for me. This has been an issue since early in F12 and has not changed in F13.

I basically never use the tablet or touch functions and would like to just be able to remove a module which is what I do on my own kernel build.

Comment 2 Graham Gear 2010-06-07 17:59:45 UTC
I too see this issue with a Lenovo T410s, F13,, occurring frequently between intervals of 5 sec and 30 mins between reboots. Killing X was the only resolution to the issue.

Removing the touchscreen device (N-trig DuoSense) from X seems to resolve the issue, by hacking my rc.local with:

xinput --float "N-trig DuoSense"

Comment 3 Timothy Grondin 2010-06-07 18:16:30 UTC
*** Bug 575409 has been marked as a duplicate of this bug. ***

Comment 4 Timothy Grondin 2010-06-07 18:23:01 UTC
As another temporary workaround I've found that touching the screen right after gdm loads and then running gdm-stop at the console seems to prevent the issue from happening again. Once gdm restarts I can log in and work as normal. 

If I do it then, the touch screen works so far as moving the mouse around with your fingers. Clicking does not work by touch, but is fine as far as the actual mouse buttons go. 

I'm currently on Fedora 13 with kernel 

Please let me know if there is any other information I can provide to help resolve this issue.

Comment 5 Kyle McMartin 2010-06-09 11:19:04 UTC

Let me know if this helps... If the build succeeds that is.


Comment 6 Kyle McMartin 2010-06-09 14:41:38 UTC

Sorry, build failed due to kernel doc. Try this one please.

Comment 7 Timothy Grondin 2010-06-09 17:12:12 UTC
New kernel works for me. Thank you very much.

Comment 8 Kyle McMartin 2010-06-09 17:28:17 UTC
Happy to help.

Comment 9 Brennan Ashton 2010-06-10 00:18:34 UTC
This is also working for me.

Note You need to log in before you can comment on or make changes to this bug.