Bug 31968 - When changing time to backward, it may make touchpad cursor be locked
Summary: When changing time to backward, it may make touchpad cursor be locked
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/synaptics (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 00:25 UTC by lihaofd
Modified: 2011-02-16 16:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
TimeBackwardSetting.patch (788 bytes, patch)
2010-11-29 18:07 UTC, neo
no flags Details | Splinter Review

Description lihaofd 2010-11-29 00:25:53 UTC
We tried below step in several netbook
1.adjust the time to backward and apply
2.move the cursor via touchpad

We found cursor can't be moved, the touchpad is locked. If we restart Xorg, it may work well then.

Do you have any clue about this issue?

thanks!
Comment 1 Keith Packard 2010-11-29 09:01:03 UTC
I cannot reproduce this issue with X server 1.9.99.1, synaptics 1.3.99 and kernel 2.6.37-rc3, so it's likely something that has already been fixed upstream.

Please test with upstream versions of the X server, synaptics driver and kernel before reporting bugs here.
Comment 2 lihaofd 2010-11-29 17:38:36 UTC
We found if kill syndaemon process, this bug will not be reproduced. Keep investigating it
Comment 3 Peter Hutterer 2010-11-29 17:47:41 UTC
oh, that makes sense then. syndaemon has a simple condition: 

  if (current_time > last_activity + idle_time)
    /* Enable touchpad */

if you move the current time backwards, it will not time out as usual and thus keep the touchpad disabled. I wouldn't count this as a bug though.
Comment 4 neo 2010-11-29 18:07:16 UTC
Created attachment 40653 [details] [review]
TimeBackwardSetting.patch
Comment 5 neo 2010-11-29 18:07:26 UTC
In back set time situation, reassgin current_time and last time. Testing in my netbook, this bug has been fixed.
Please check it.
Comment 6 Peter Hutterer 2010-11-29 18:46:11 UTC
ACK, please resubmit as a git-formatted patch with an appropriate commit message and the sign-off-by tag. thanks.
http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches
Comment 7 Peter Hutterer 2011-01-13 16:58:56 UTC
(In reply to comment #6)
> ACK, please resubmit as a git-formatted patch with an appropriate commit
> message and the sign-off-by tag. thanks.
> http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches

ping?
Comment 8 Peter Hutterer 2011-02-16 16:57:57 UTC
commit f34ee8e8ac68c3fdff38d084f175106a3415f3a5
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Feb 8 11:46:46 2011 +1000

    syndaemon: reset idle time if the system time has changed (#31968)


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.