From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934211AbXC0VBg (ORCPT ); Tue, 27 Mar 2007 17:01:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934213AbXC0VBg (ORCPT ); Tue, 27 Mar 2007 17:01:36 -0400 Received: from www17.your-server.de ([213.133.104.17]:4049 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934211AbXC0VBf (ORCPT ); Tue, 27 Mar 2007 17:01:35 -0400 Message-ID: <4609866C.4060602@m3y3r.de> Date: Tue, 27 Mar 2007 23:02:36 +0200 From: Thomas Meyer User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Jiri Kosina CC: Linux Kernel Mailing List , Adrian Bunk , Soeren Sonnenburg , linux-input@atrey.karlin.mff.cuni.cz Subject: Re: appletouch quirk doesn't run at resume References: <200703162134.14265.rjw@sisk.pl> <1174078066.13341.279.camel@localhost.localdomain> <1174087552.13341.332.camel@localhost.localdomain> <45FBBDEA.9060708@m3y3r.de> <20070318004240.GO752@stusta.de> <45FD8CA3.10405@m3y3r.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: thomas@m3y3r.de Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jiri Kosina schrieb: > On Sun, 18 Mar 2007, Thomas Meyer wrote: > > >> Appletouch is bound to the device: >> > > OK, so the quirk actually works fine ... > Yes, it works fine, but... > >> But the X server touchpad driver doesn't work anymore, that means i >> can't emulte a right click by tapping with 3 fingers on the mouse pad. >> after restarting x the mouse driver works again. So i think this is >> maybe a problem in X? >> > > ... but there is something apparently wrong either with the appletouch > driver or X. Could you test via evtest whether the events are properly > generated by the kernel? If they do, I'd say it is almost certainly X bug. > It seems, that after the resume all usb devices gets removed and plug in again (virtually!). This results in a new input device name: before suspend and resume: appletouch Geyser 3 inited. input: appletouch as /class/input/input2 after resume: Restarting tasks ... <6>usb 1-2: USB disconnect, address 3 PM: Removing info for No Bus:usbdev1.3_ep83 PM: Removing info for usb:1-2:1.0 PM: Removing info for No Bus:usbdev1.3_ep81 input: appletouch disconnected [cut] PM: Adding info for No Bus:usbdev1.4_ep83 PM: Adding info for usb:1-2:1.1 appletouch Geyser 3 inited. input: appletouch as /class/input/input15 This change confuses the X synaptics driver: Touchpad no synaptics event device found (checked 11 nodes) Touchpad The /dev/input/event* device nodes seem to be missing (EE) xf86OpenSerial: Cannot open device /dev/input/event2 No such file or directory. (WW) Touchpad: cannot open input device And so X falls back to my second pointer device which is a UsbMouse under /dev/input/mice One could say that the synaptics driver rightly complains about the missing event2 device! So is this a bug in the X synaptics driver? Comments are welcome.