Your message dated Sat, 08 Nov 2008 13:10:49 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#504656: xserver-xorg-input-synaptics: Stops working
after logoff
has caused the Debian Bug report #504656,
regarding xserver-xorg-input-synaptics: Stops working after logoff
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
504656: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504656
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: xserver-xorg-input-synaptics
Version: 0.14.7~git20070706-4~dmitrmax.1
Severity: grave
Tags: patch
Justification: renders package unusable
Driver forgets to ungrab the event device so the next time it is grabbed EBUSY
is returned.
This happens e.g. when I logoff from KDE session and return to KDM screen. Only
restarting
the X server helps.
Bellow patch that fixes the problem.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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-15 GNU C Library: Shared libraries
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.1.3-1 X11 Input extension library
ii xserver-xorg-core 2:1.4.2-7 Xorg X server - core server
xserver-xorg-input-synaptics recommends no packages.
Versions of packages xserver-xorg-input-synaptics suggests:
pn gsynaptics | ksynaptics | qsy <none> (no description available)
-- no debconf information
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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-15 GNU C Library: Shared libraries
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.1.3-1 X11 Input extension library
ii xserver-xorg-core 2:1.4.2-7 Xorg X server - core server
xserver-xorg-input-synaptics recommends no packages.
Versions of packages xserver-xorg-input-synaptics suggests:
pn gsynaptics | ksynaptics | qsy <none> (no description available)
-- no debconf information
--- xfree86-driver-synaptics-0.14.7~git20070706.orig/eventcomm.c
+++ xfree86-driver-synaptics-0.14.7~git20070706/eventcomm.c
@@ -58,6 +58,16 @@
static void
EventDeviceOffHook(LocalDevicePtr local)
{
+ SynapticsPrivate *priv = (SynapticsPrivate *) (local->private);
+
+ if (priv->synpara->grab_event_device) {
+ int ret;
+ SYSCALL(ret = ioctl(local->fd, EVIOCGRAB, (pointer)0));
+ if (ret < 0) {
+ xf86Msg(X_WARNING, "%s can't ungrab event device, errno=%d\n",
+ local->name, errno);
+ }
+ }
}
static void
--- End Message ---
--- Begin Message ---
Max Dmitrichenko wrote:
> 2008/11/6, Julien Cristau <[EMAIL PROTECTED]>:
>
>> Actually, it works just fine here, so that justification seems wrong.
>> You didn't send your config or log, though, so it's hard to tell.
>>
>
> Indeed. It works. This behavior seems to be linked with similar evdev
> bug because now with new evdev driver synaptics works well.
>
> I think bug can be closed now.
>
Ok, closing.
Brice
--- End Message ---