[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#453522: xserver-xorg-input-synaptics: emits spurious clicks when waking up from sleep



Package: xserver-xorg-input-synaptics
Version: 0.14.7~git20070706-1
Severity: normal


When I wake my laptop up from sleep (cat mem > /sys/power/state) , it
emits spurious clicks from each mouse button, causing problems like
pasting the cutbuffer in whatever window the mouse is in at the moment
the computer wakes up.  This also makes it impossible to create a
"sleep" button on screen because the sleep button will be clicked
again on wake up, causing the computer to immediately go to sleep
again.

Here's an xev log of what happens:

==================================================================
I briefly press the power button on my laptop here. (It's mapped through acpi
to put the computer to sleep when pressed for short periods of time,
and it's wired into hardware to shut off the computer when pressed for
greater than 5 seconds)
==================================================================

KeyPress event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2617061, (35,99), root:(36,153),
    state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2617061, (35,99), root:(36,153),
    state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False


===================================================================
The KeyRelease event is the last event I see before the computer goes
to sleep. When it wakes up, the following events occcur.
===================================================================

VisibilityNotify event, serial 32, synthetic NO, window 0x1e00001,
    state VisibilityFullyObscured

VisibilityNotify event, serial 32, synthetic NO, window 0x1e00001,
    state VisibilityUnobscured

Expose event, serial 32, synthetic NO, window 0x1e00001,
    (0,0), width 178, height 10, count 3

Expose event, serial 32, synthetic NO, window 0x1e00001,
    (0,10), width 10, height 58, count 2

Expose event, serial 32, synthetic NO, window 0x1e00001,
    (68,10), width 110, height 58, count 1

Expose event, serial 32, synthetic NO, window 0x1e00001,
    (0,68), width 178, height 110, count 0

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2626255, (35,99), root:(36,153),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2626255, (35,99), root:(36,153),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2626255, (35,99), root:(36,153),
    state 0x0, button 3, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2626255, (35,99), root:(36,153),
    state 0x0, button 4, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0x59, subw 0x0, time 2626255, (35,99), root:(36,153),
    state 0x0, button 5, same_screen YES



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc3-1ken (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-input-synaptics depends on:
ii  libc6              2.7-2                 GNU C Library: Shared libraries
ii  libx11-6           2:1.0.3-7             X11 client-side library
ii  libxext6           1:1.0.3-2             X11 miscellaneous extension librar
ii  libxi6             2:1.1.3-1             X11 Input extension library
ii  xserver-xorg-core  2:1.4.1~git20071119-1 Xorg X server - core server

xserver-xorg-input-synaptics recommends no packages.

-- no debconf information





Reply to: