Bug 15607 - mouse button release sent on mouse replug
Summary: mouse button release sent on mouse replug
Status: RESOLVED DUPLICATE of bug 12630
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Zephaniah E. Hull
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 04:57 UTC by Jiri Slaby
Modified: 2008-04-19 05:59 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jiri Slaby 2008-04-19 04:57:24 UTC
When I unplug usb mouse and plug it back, I get

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 1, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 2, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 3, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 4, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 5, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 8, same_screen YES

ButtonRelease event, serial 33, synthetic NO, window 0x4e00001,
    root 0x74, subw 0x0, time 26943984, (62,77), root:(1088,715),
    state 0x10, button 9, same_screen YES

events. This happens also on rmmod and insmod of usbhid.

It's evdev 1.1.5.

Kernel sends (EV_SYN, SYN_REPORT, 1) triple on disconnect and X
seems to treat it as button release or somewhat on reconnect. No other event is
sent. mouse driver seems to work fine.

See also suse bug 381543:
https://bugzilla.novell.com/show_bug.cgi?id=381543
Comment 1 Julien Cristau 2008-04-19 05:59:01 UTC

*** This bug has been marked as a duplicate of bug 12630 ***


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.