çå: çå: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

From: Xiaoxiao Liu
Date: Mon Jun 10 2019 - 06:08:19 EST


++ Saito-san.

-----éäåä-----
åää: å ææ Xiaoxiao Liu
åéæé: Monday, June 10, 2019 5:20 PM
æää: Pali RohÃr <pali.rohar@xxxxxxxxx>
æé: XiaoXiao Liu <sliuuxiaonxiao@xxxxxxxxx>; dmitry.torokhov@xxxxxxxxx; peter.hutterer@xxxxxxxxx; hui.wang@xxxxxxxxxxxxx; linux-input@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; æ æå Xiaojian Cao <xiaojian.cao@xxxxxxxxxxx>; zhangfp1@xxxxxxxxxx; æè çæ Naoki Saito <naoki.saito@xxxxxxxxxxxxxx>; åç èå Hideo Kawase <hideo.kawase@xxxxxxxxxxxxxx>
äé: çå: çå: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

Hi Pali,

We register our CS19 device as ALPS_ONLY_TRACKSTICK device.
And let the V8 protocol function support the process of ALPS_ONLY_TRACKSTICK device.

I want to confirm if this solution OK?

Xiaoxiao.Liu
-----éäåä-----
åää: å ææ Xiaoxiao Liu
åéæé: Tuesday, May 28, 2019 3:55 PM
æää: Pali RohÃr <pali.rohar@xxxxxxxxx>
æé: XiaoXiao Liu <sliuuxiaonxiao@xxxxxxxxx>; dmitry.torokhov@xxxxxxxxx; peter.hutterer@xxxxxxxxx; hui.wang@xxxxxxxxxxxxx; linux-input@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; æ æå Xiaojian Cao <xiaojian.cao@xxxxxxxxxxx>; zhangfp1@xxxxxxxxxx; æè çæ Naoki Saito <naoki.saito@xxxxxxxxxxxxxx>; åç èå Hideo Kawase <hideo.kawase@xxxxxxxxxxxxxx>
äé: çå: çå: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

Add Kawase-san.

-----éäåä-----
åää: Pali RohÃr <pali.rohar@xxxxxxxxx>
åéæé: Tuesday, May 28, 2019 3:18 PM
æää: å ææ Xiaoxiao Liu <xiaoxiao.liu-1@xxxxxxxxxxx>
æé: XiaoXiao Liu <sliuuxiaonxiao@xxxxxxxxx>; dmitry.torokhov@xxxxxxxxx; peter.hutterer@xxxxxxxxx; hui.wang@xxxxxxxxxxxxx; linux-input@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; æ æå Xiaojian Cao <xiaojian.cao@xxxxxxxxxxx>; zhangfp1@xxxxxxxxxx; æè çæ Naoki Saito <naoki.saito@xxxxxxxxxxxxxx>
äé: Re: çå: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

On Tuesday 28 May 2019 01:37:14 Xiaoxiao Liu wrote:
> Add Saito-san.
>
> Hi Hui,
> Does it mean that your device (reported to kernel) sends only trackstick packets and not touchpad?
> -> Yes.

Ok, I think this answers all questions.

So your patch is not correct as it registers "fake" touchpad device even there is no touchpad at all.

You should fix your patch to not register touchpad input device, in your case it should register only trackstick device. I suggest to add some flag which would indicate such device (e.g. ALPS_ONLY_TRACKSTICK).

Also currently kernel exports following names when device has both trackstick and touchpad: "DualPoint Stick" and "DualPoint TouchPad".
And it exports name "GlidePoint" for touchpad-only device. So to be consistent you need to also modify this code for trackstick-only device.

--
Pali RohÃr
pali.rohar@xxxxxxxxx