linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: linux-input@vger.kernel.org
Cc: Martin <madstitz@gmail.com>
Subject: Re: Fwd: ALPS v7 TrackStick detected wrongly
Date: Thu, 14 Jan 2016 21:07:26 +0100	[thread overview]
Message-ID: <20160114200726.GW11560@pali> (raw)
In-Reply-To: <20160114121118.GU11560@pali>

On Thursday 14 January 2016 13:04:43 Martin <madstitz@gmail.com> wrote:
> Is your patch intended to solve this or should I open a bug ticket?

Hi! That my patch hides Track Stick input device when ALPS touchpad
report that Track Stick is not present. Before my patch was applied
kernel created "AlpsPS/2 ALPS DualPoint Stick" input device for V7
protocol always, even if there was no Track Stick device.

But as Dmitry said, you replaced Synaptics touchpad with ALPS which is
working differently. Synaptics touchpad export PS/2 bus via its own
pass-though protocol and this bus then available on kernel which do
normal PS/2 mouse detection it. So kernel bind thinkpad TPPS2 driver to
that bus.

ALPS is working differently. There is no pass-though mode and all data
(touchpad, track stick) are exported in ALPS packets. Kernel ALPS driver
has special parser which can decide if packet comes from touchpad or
trackstick (based on received data). So via ALPS touchpad kernel cannot
communicate directly with trackpoint.

So I guess... in case you have thinkpad trackpoint HW and ALPS touchpad
which cannot work with that trackpoint you just do not get trackpoint
data. Here kernel cannot do anything.

I suspect that if you apply my patch (which check presence of
trackstick) then kernel probably do not export this track stick device
"AlpsPS/2 ALPS DualPoint Stick" anymore...

> I: Bus=0011 Vendor=0002 Product=0008 Version=0700
> N: Name="AlpsPS/2 ALPS DualPoint Stick"
> P: Phys=isa0060/serio1/input1
> S: Sysfs=/devices/platform/i8042/serio1/input/input8
> U: Uniq=
> H: Handlers=mouse0 event6
> B: PROP=21
> B: EV=7
> B: KEY=70000 0 0 0 0
> B: REL=3

-- 
Pali Rohár
pali.rohar@gmail.com
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-01-14 20:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1452773083.4165.0@smtp.gmail.com>
2016-01-14 12:11 ` Fwd: ALPS v7 TrackStick detected wrongly Pali Rohár
2016-01-14 19:34   ` Dmitry Torokhov
2016-01-15 11:50     ` Pali Rohár
2016-01-14 20:07   ` Pali Rohár [this message]
2016-01-15 11:27     ` Fwd: " Martin
2016-01-15 11:42       ` Pali Rohár

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=20160114200726.GW11560@pali \
    --to=pali.rohar@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=madstitz@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).