public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: "Paul Maier" <svn-user@web.de> To: "'cygwin-xfree'" <cygwin-xfree@cygwin.com> Cc: <jon.turney@dronecode.org.uk> Subject: Levovo trackpoint events come delayed (reproducable with xev) Date: Sun, 22 Jul 2012 00:42:00 -0000 [thread overview] Message-ID: <004d01cd67a2$7c0d6d30$74284790$@de> (raw) In-Reply-To: > > - I hold the button down and shift the trackpoint up and down. > > xterm shows no scrolling movement at all. > > - Log in /var/log/xwin/XWin.0.log during this: > > a) still comes at the moment when I shift the trackpoint up and down, > > b) but it doesn't look regular any more: > > There are MUCH more lines > > winMouseButtonsSendEvent: iEventType: 4, iButton: 5, nEvents 2 > > winMouseButtonsSendEvent: iEventType: 5, iButton: 5, nEvents 2 > > and only a few lines > > winWindowProc - WM_MOUSEWHEEL > > in between. > > Looks like this: > > [ 473.447] winMouseButtonsSendEvent: iEventType: 5, iButton: 5, nEvents 2 > > [ 473.447] winMouseButtonsSendEvent: iEventType: 4, iButton: 5, nEvents 2 > > This looks a bit like the trackpoint is sending us a WM_MOUSEWHEEL for a much > larger mouse movement (which we need to break down into multiple button 5 > press/releases) > > > Maybe this is an interesting section, it contains an "EQ overflowing": > > [ 350.612] [mi] EQ overflowing. The server is probably stuck in an infinite loop. > > This means that the events are being generated faster than the server can > process them. > > > - I release the button. At the moment when I release the button, the xterm jumps to a new position. > > During this, there is absolutely no output to /var/log/xwin/XWin.0.log. > > So it sounds almost like the X server is being prevented from processing X > events until the mouse button is released. > > It might be interesting to try as separate test with some application which > constantly draws to it's window (like ico), if that continues drawing when the > trackpoint button is down. Hi Jon, here a log of my recent tests. The most interesting point is the last. 1. I modified file C:\Program Files\Synaptics\SynTP\TP4table.dat according to new FAQ and reboot PC. -> No change of behaviour. 2. Download XWin.20120129-git-45e67e363e19a481.exe.bz2. /bin/startxwin -- /bin/XWin.20120129-git-45e67e363e19a481.exe -logverbose 3 -clipboard -emulate3buttons 100 -nounixkill -nowinkill -xkboptions nbsp:level3 -> Doesn't start. Error message on the console is: giving up. /bin/startxwin: No such file or directory (errno 2): unable to connect to X server /bin/startxwin: No such process (errno 3): Server error. -> No output at all to file /var/log/xwin/XWin.0.log. 3. I took above startxwin command line and replace XWin.20120129-git-45e67e363e19a481.exe by XWin.20110803-git-a493c0465e56ce0b.exe -> Immediately starts. All further tests with (old) XWin.20110803-git-a493c0465e56ce0b.exe. 4. Today I couldn't get to the broken, jumpy behaviour by scrolling a Windows dialog. So this is not the breaking condition as I previously meant. But after some time, the scrolling behaviour breaks and xterm scrolls in jumpy way. Sorry, I have no glue what's the condition that breaks it. After reboot of PC it scrolls fine. Any work of 1 minute or so seems to break smooth scrolling. 5. Then I started ico. -> While ico runs, xterm scrolls fine and smooth. As soon as I stop ico, xterm scrolls jumpy. -> Pressing the trackpoint button has no effect to ico. It keeps painting fine eather way. 6. I started ico with -sleep 1 ico -sleep 1 I constantly hold the trackpoint button down and scroll the xterm. -> I observe jump scrolling movements every second, one jump each second. xterm jump scrolls exactly at the time when ico refreshes 7. close ico, start xpdf -> xpdf and xterm both have broken = jumpy scroll 8. start ico -> both xpdf and xterm both scroll fine and smooth 9. stop ico, start ico -sleep 1 -> ico -sleep 1 starts, but doesn't paint anything. I do several tests. -> ico without sleep option starts fine. close xpdf -> ico -sleep 1 starts, but doesn't paint anything. I do several tests. -> ico without sleep option starts fine. -> ico -sleep 1 starts and repaints in 1 second rhythm. Fine. => an open xpdf seems to break "ico -sleep 1", and "ico -sleep 1" can be repaired by closing xpdf and then once running "ico" without options. Very weird. > > > > 2. Download XWin.20120129-git-45e67e363e19a481.exe.bz2. > > > /bin/startxwin -- /bin/XWin.20120129-git-45e67e363e19a481.exe -logverbose 3 - > clipboard - > > emulate3buttons 100 -nounixkill -nowinkill > > > -xkboptions nbsp:level3 > > > -> Doesn't start. Error message on the console is: > > > > > > giving up. > > > /bin/startxwin: No such file or directory (errno 2): unable to connect to X server > > > /bin/startxwin: No such process (errno 3): Server error. > > > > > > -> No output at all to file /var/log/xwin/XWin.0.log. > > > > Possibly you need to 'chmod +x /bin/XWin.20120129-git-45e67e363e19a481.exe' > > > > -- > > Jon TURNEY > > Volunteer Cygwin/X X Server maintainer > > > Hi Jon, > > x bit was set: > > $ls -lg *.exe > -r-xr-xr-x+ 1 ???????? 13762945 02.02.2012 19.38 XWin.20120129-git-45e67e363e19a481.exe > > What about the other interesting results? [...] Hi Jon, this problem still exists, it makes the Lenovo trackpoint unusable with xterm. Some months ago you provided me XWin.20120129-git-45e67e363e19a481.exe, but it didn't run on my computer. Yesterday I have upgraded my Cygwin, all packages to current (Cygwin 1.7.15). Maybe a debugging .exe would run now on my machine. If you want me to try again, please let me know. Regards, Paul -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
next prev parent reply other threads:[~2012-07-22 0:42 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-22 23:11 Levovo trackpoint " Paul Maier 2012-01-23 13:18 ` Jon TURNEY 2012-01-23 21:57 ` AW: " Paul Maier 2012-01-24 13:17 ` Jon TURNEY 2012-01-24 13:52 ` Ryan Johnson [not found] ` <000001ccde8a$f0fc2010$d2f46030$@de> [not found] ` <4F2A7C93.6080705@dronecode.org.uk> 2012-02-02 19:47 ` AW: QAW: " Paul Maier 2012-02-03 15:49 ` Jon TURNEY 2012-02-03 22:39 ` AW: " Paul Maier 2012-07-22 0:42 ` Paul Maier [this message] 2012-08-06 13:31 ` Levovo trackpoint events " Jon TURNEY [not found] ` <000001cd7a5c$88a929e0$99fb7da0$@de> 2012-08-15 17:52 ` AW: " Jon TURNEY 2012-02-02 20:33 ` AW: QAW: AW: Levovo trackpoint " Paul Maier
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='004d01cd67a2$7c0d6d30$74284790$@de' \ --to=svn-user@web.de \ --cc=cygwin-xfree@cygwin.com \ --cc=jon.turney@dronecode.org.uk \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).