linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Manoj <manoj.iyer@canonical.com>
Cc: linux-input@vger.kernel.org
Subject: Re: Lenovo X220 Touchpad + Trackpoint BIOS issue workaround ?
Date: Wed, 6 Apr 2011 10:12:41 -0700	[thread overview]
Message-ID: <20110406171241.GB5025@core.coreip.homeip.net> (raw)
In-Reply-To: <4D9C9CE5.9070109@canonical.com>

Hi Manoj,

On Wed, Apr 06, 2011 at 12:03:33PM -0500, Manoj wrote:
> Dmitry,
> 
> Did you get a chance to look at this message? Can you pls nudge me
> in the right direction?
> 
> Manoj Iyer
> Ubuntu/Canonical
> Hardware Enablement
> 
> On 04/05/2011 05:02 PM, Manoj wrote:
> >Dmitry,
> >
> >I turned on i8042.debug and it produced a lot of noise, and I couldint
> >make out what it was trying to tell me. So I put some debug prints in
> >synaptic.c and psmouse-base.c. In the case where both touchpad and
> >trackpoint are enabled in the BIOS I get the following failure in
> >psmouse_probe(). I have attached the psmouse-base.c and synaptic.c for
> >you reference as to where the prints are coming from. Dont know why
> >psmouse_probe() PSMOUSE_CMD_GETID would fail on the pass-through device.
> >
> >[ 726.431405] DEBUG: psmouse_probe:931 probing for isa0060/serio1
> >[ 726.436949] DEBUG: psmouse_probe:937 got PSMOUSE_CMD_GETID 00
> >[ 727.349407] Synaptics Touchpad, model: 1, fw: 8.0, id: 0x1e2b1, caps:
> >0xd001a3/0x940300/0x120c00
> >[ 727.349415] Synaptics: Clickpad mode enabled
> >[ 727.349423] serio: Synaptics pass-through port at isa0060/serio1/input0
> >[ 727.349438] DEBUG: Synaptics: synaptics_init:828: psmouse->rate = 0x64
> >[ 727.349444] DEBUG: psmouse_switch_protocol:1266 selected_proto->type = 7
> >[ 727.407740] input: SynPS/2 Synaptics TouchPad as
> >/devices/platform/i8042/serio1/input/input9
> >[ 727.419607] DEBUG: psmouse_connect:1318 pass-though device detected
> >[ 727.425287] DEBUG: psmouse_deactivate:1028 deacivating isa0060/serio1
> >[ 727.425307] DEBUG: psmouse_probe:931 probing for synaptics-pt/serio0
> >[ 727.672729] DEBUG: psmouse_probe:934 failed to get PSMOUSE_CMD_GETID a5

Seeing the "noise" would be interesting here as it might give us an idea why
we are seeing a5 instead of the proper ID.

Also, adding psmouse_reset() before issuing GET_ID command is not the
best idea since the device connected might not be a mouse/keyboard at
all but some other device.

Thanks.

-- 
Dmitry

      reply	other threads:[~2011-04-06 17:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 14:53 Lenovo X220 Touchpad + Trackpoint BIOS issue workaround ? Manoj
2011-04-05 17:32 ` Manoj
2011-04-05 17:39   ` Dmitry Torokhov
2011-04-05 17:57     ` Manoj
2011-04-05 18:30       ` Dmitry Torokhov
2011-04-05 22:02         ` Manoj
2011-04-05 22:19           ` Manoj
2011-04-05 22:40             ` Manoj
2011-04-06 17:03           ` Manoj
2011-04-06 17:12             ` Dmitry Torokhov [this message]

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=20110406171241.GB5025@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=manoj.iyer@canonical.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).