From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: Aorus X3+ touchpad not working Date: Sat, 8 Nov 2014 12:35:51 -0800 Message-ID: <20141108203551.GA18000@dtor-glaptop> References: <545B7C0D.8020401@redhat.com> <545B8B04.8070706@redhat.com> <20141108084125.GF21475@dtor-ws> <545DEC92.10903@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ig0-f178.google.com ([209.85.213.178]:36452 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751231AbaKHUfz (ORCPT ); Sat, 8 Nov 2014 15:35:55 -0500 Received: by mail-ig0-f178.google.com with SMTP id a13so7203692igq.11 for ; Sat, 08 Nov 2014 12:35:54 -0800 (PST) Content-Disposition: inline In-Reply-To: <545DEC92.10903@redhat.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Hans de Goede Cc: Maximilien Levesque , Benjamin Tissoires , linux-input On Sat, Nov 08, 2014 at 11:12:34AM +0100, Hans de Goede wrote: > Hi, > > On 11/08/2014 09:41 AM, Dmitry Torokhov wrote: > > On Thu, Nov 06, 2014 at 03:51:48PM +0100, Hans de Goede wrote: > >> Hi, > >> > >> On 11/06/2014 03:13 PM, Maximilien Levesque wrote: > >>> Hi, > >>> Thanks for your time! > >>> Below is the output of dmesg with kernel boot parameter i8042.debug=1 > >>> All the best, > >> > >> Thanks, I'm afraid reading raw i8042 is not my forte though, Dmitry, can > >> you take a look, and do you see why no ps/2 mouse (or touchpad) is seen ? > > > > ... > > > >>> [ 1.901600] input: AT Translated Set 2 keyboard as > >>> /devices/platform/i8042/serio0/input/input4 > >>> [ 1.901749] i8042: [3] d4 -> i8042 (command) > >>> [ 1.901809] i8042: [3] f2 -> i8042 (parameter) > > > > ... > > No ACK to GET_ID > > > >>> [ 2.101556] i8042: [53] d4 -> i8042 (command) > >>> [ 2.101622] i8042: [53] ed -> i8042 (parameter) > > > > Trying LEDs - no response - not a keyboard, atkbd signs out > > > >>> [ 2.165646] usb 1-2: new low-speed USB device number 2 using xhci_hcd > >>> [ 2.185660] usb 3-1: new high-speed USB device number 2 using ehci-pci > >>> [ 2.205674] usb 4-1: new high-speed USB device number 2 using ehci-pci > >>> [ 2.301725] i8042: [103] 60 -> i8042 (command) > >>> [ 2.301796] i8042: [103] 45 -> i8042 (parameter) > > > > Close AUX port > > > >>> [ 2.301911] i8042: [103] 60 -> i8042 (command) > >>> [ 2.302025] i8042: [103] 47 -> i8042 (parameter) > > > > Enables AUX port again (to clear state - needed on some boxes) > > > >>> [ 2.302094] i8042: [103] d4 -> i8042 (command) > >>> [ 2.302212] i8042: [103] f2 -> i8042 (parameter) > > > > psmouse - GET_ID - silence. So we decide there is no mouse. > > Dmitry, thanks for the analysis. > > So if I understand things correctly, then the aux port also gets > probed for it having a second keyboard attached ? Basically every "free" serio port is tried by every serio driver, so, depending on link order and other factors psmouse driver can try both KBD and AUX port and atkbd can do the same. > I did not know > that, could it be that this confuses the touchpad? It should not as the first thing we try is GET_ID command which is the same for keyboard and mouse and we did not get any response. > > > Have we tried i8042.reset? > > No not yet. Maximilien, can you try booting with > i8042.reset=1 on the kernel commandline ? OK, so it looks like it did not work. I wonder if we could try resetting the mouse by sticking psmouse_reset before trying to isse the GETID command. Thanks. -- Dmitry