Thread (26 messages) 26 messages, 8 authors, 2007-12-07

Re: 2.6.24: false double-clicks from USB mouse

From: Mark Lord <hidden>
Date: 2007-12-02 22:46:58
Also in: lkml

Jiri Kosina wrote:
[ linux-usb-devel added to CC ]

On Sun, 2 Dec 2007, Mark Lord wrote:
quoted
Okay.  I've got to leave the computer for a while now, so I'll post 
again whenever I have something new here.
Thanks. To sum up this longish thread:

- 2.6.24-rcX exposes the problem with sometimes multiple clicks being 
  generated as a response for one click on USB mouse (evtest shows that 
  really mutliple LeftBtn events arrive). 2.6.23 behaves correctly
- reverting the state of drivers/hid to 2.6.23 state doesn't make the 
  problem go away, so the problem is elsewhere (Input? USB?)
- Mark seems to be able to reproduce the problem quite easily; I was not 
  successful reproducing this no matter how hard I tried, and I also 
  didn't receive any similar bugreports from anyone else
- we are currently waiting for Mark to provide HID_DEBUG (and preferably
  also usbmon) output from the situation where multiple clicks are 
  being generated incorrectly
..

Well, I've rebuilt the kernel with HID_DEBUG, DEBUG_FS, and USBMON.
And I've written a nifty script to make usbmon tracing effortless for this.

And now I'm waiting.. things are currently behaving perfectly.
Go figure.  It did seem to arrive in bursts before.

So, don't beat yourselves over this one for now.
I'll track it down here and post again next time it starts happening.

Mmmm...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help