linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas Bächler" <thomas@archlinux.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] input: alps: Add support for the touchpad of the Toshiba Tecra A11-11L
Date: Tue, 09 Mar 2010 20:17:02 +0100	[thread overview]
Message-ID: <4B969EAE.3030903@archlinux.org> (raw)
In-Reply-To: <20100309190135.GB28000@core.coreip.homeip.net>

[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

Am 09.03.2010 20:01, schrieb Dmitry Torokhov:
> Hi Thomas,
> 
> On Tue, Mar 09, 2010 at 07:56:07PM +0100, Thomas Bächler wrote:
>>
>> Signed-off-by: Thomas Bächler <thomas@archlinux.org>
>> ---
>> This patch was made by trial-and-error, I copied the byte0 and
>> mask0 value from another model, tried different flags settings
>> and it seems to work. I have no idea if there might be side-
>> effects due to incorrect settings. Please tell me if I can do
>> anything to verify or correct these values.
>>
>>  drivers/input/mouse/alps.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
>> index f93c2c0..f6dad83 100644
>> --- a/drivers/input/mouse/alps.c
>> +++ b/drivers/input/mouse/alps.c
>> @@ -63,6 +63,8 @@ static const struct alps_model_info alps_model_data[] = {
>>  	{ { 0x62, 0x02, 0x14 }, 0xcf, 0xcf,
>>  		ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED },
>>  	{ { 0x73, 0x02, 0x50 }, 0xcf, 0xcf, ALPS_FOUR_BUTTONS },	  /* Dell Vostro 1400 */
>> +	{ { 0x52, 0x01, 0x14 }, 0xff, 0xff,
>> +		ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED },	  /* Toshiba Tecra A11-11L */
>>  };
>>  
> 
> Looking at the picture it appears to have a touchpad only, not a
> touchpad/trackpoint combo. So I am wondering if ALPS_DUALPOINT and
> ALPS_PS2_INTERLEAVED flags are needed here. What happens if you remove
> them? Also, does it have external PS/2 post?

The model I have here does have a trackpoint, thus I put ALPS_DUALPOINT
in. Also, I had problems without ALPS_PS2_INTERLEAVED ([...] lost sync
at byte 1). I did not try without ALPS_PASS though, only with.

The device does not seem to have an external PS/2 port, but there is a
connector for a docking station (which I don't own).

I am more concerned about the two 0xff values here, because they are
actually guesses.

Thanks for the quick response.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2010-03-09 19:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-09 18:56 [PATCH] input: alps: Add support for the touchpad of the Toshiba Tecra A11-11L Thomas Bächler
2010-03-09 19:01 ` Dmitry Torokhov
2010-03-09 19:17   ` Thomas Bächler [this message]
2010-03-09 19:26     ` Dmitry Torokhov
2010-03-09 19:30       ` Thomas Bächler

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=4B969EAE.3030903@archlinux.org \
    --to=thomas@archlinux.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    /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).