linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Maximilien Levesque <maximilien.levesque@gmail.com>,
	Benjamin Tissoires <benjamin.tissoires@gmail.com>,
	linux-input <linux-input@vger.kernel.org>
Subject: Re: Aorus X3+ touchpad not working
Date: Sat, 8 Nov 2014 12:35:51 -0800	[thread overview]
Message-ID: <20141108203551.GA18000@dtor-glaptop> (raw)
In-Reply-To: <545DEC92.10903@redhat.com>

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

  parent reply	other threads:[~2014-11-08 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05  9:37 Aorus X3+ touchpad not working Maximilien Levesque
2014-11-05 15:47 ` Benjamin Tissoires
2014-11-06 13:47   ` Hans de Goede
     [not found]     ` <CAJdy7pL0NMYKtUA5JpxZ8M9kJwfZffaZ1gh-PyC9OY6dRf8Kvw@mail.gmail.com>
     [not found]       ` <545B8B04.8070706@redhat.com>
2014-11-08  8:41         ` Dmitry Torokhov
2014-11-08 10:12           ` Hans de Goede
2014-11-08 13:55             ` Maximilien Levesque
2014-11-08 20:35             ` Dmitry Torokhov [this message]
2014-11-27 10:02               ` Maximilien Levesque

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141108203551.GA18000@dtor-glaptop \
    --to=dmitry.torokhov@gmail.com \
    --cc=benjamin.tissoires@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=maximilien.levesque@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).