Received: by 10.213.65.68 with SMTP id h4csp1399018imn; Wed, 21 Mar 2018 09:43:24 -0700 (PDT) X-Google-Smtp-Source: AG47ELu5+b9vnafEqEb6lOOj3Gnmid5IR5ibh9pJF+Bv9iIlGXQ22bayPLu08WjeB2rZHgiQk1rK X-Received: by 10.98.166.196 with SMTP id r65mr17687283pfl.110.1521650604054; Wed, 21 Mar 2018 09:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521650604; cv=none; d=google.com; s=arc-20160816; b=z5+DfiRIDqtdNE3OgpBLPus96wt+1hlv/Kv/e3U7evJasrz7IKpjFGTUPEQUPZEguy ZsMCAqP8hzmZOirgy9UcsAgyerdQn8shOrENbCvvnWgruBLuN2F+Kh8Hcp+Rmdec0pwq dJGv3GicQWhJkVv8XKaY81rc0YvoxIRqPVRYqOwj7tgarMR29lUU6Vs67LPX1pZqz5bo hxGfoYIN1iv9YfyXrxrZb0c00AyeYrQMttO5sGPeLkL4Eem33pJHDFIG6YYaFuLbG5xh 6bxcCEGEohVNgH5g/4MVXc8odjXcJzk94/kFnxz2DHHl2klC+fZm/GTyQIYN6zh8UL6W yQFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=pd5ZewrVRM01x59/qigNEYAC6RwEitDjeqzPsbONyPU=; b=uZ1PUI1XVqwubPgEhn0RMheFMhvQ2A4qCHrhEk8cKPNk8f5akbJejIxkHG59unQpwR yzJWd23A9syRTBgKMBMwVvjRafbASOeBj/prWnUoaNaEDT/WHkC4Q0OnnAbKs7+uLjW8 sdmdJHJboSZYsaBte4T+4CTwRqxgQNgpg3QvmCNPjNTf81K4SMkE1CHMdV5lAtX7UKRh qn1Qb7VtWa7eeHacU4FhXpD7xpIUM9LWc9XPBdWhE8uSFnGmMwbHzigX1XQBAvS+S/cj 0GYE2udeRePamVOYEi/rXpQjg5t2RD6WLkUt8kWFcxC7ZU93UK+nMGDd7QRBVtwmDyOx aqqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hfNu/3an; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si2227454pgn.792.2018.03.21.09.43.09; Wed, 21 Mar 2018 09:43:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hfNu/3an; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103AbeCUQlk (ORCPT + 99 others); Wed, 21 Mar 2018 12:41:40 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:54774 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbeCUQlb (ORCPT ); Wed, 21 Mar 2018 12:41:31 -0400 Received: by mail-wm0-f49.google.com with SMTP id h76so10949470wme.4; Wed, 21 Mar 2018 09:41:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=pd5ZewrVRM01x59/qigNEYAC6RwEitDjeqzPsbONyPU=; b=hfNu/3an0JA+rGLouCALOuAAwVgmFTQ6G4hFzsoKnQw8WkcDuu8kA04szQTFdnhsAd zUGp6ns1ElNMZ+rxa5Xg5lw6z5Mba7D2hl9w83S5X15Cr4FD9sPd36P3z5H3CS5Tg+KS uB2Qg2AhOhxbIlUHDZNVVRMDwrN48h9DsUlqiegg8yHV114olYieHy897tTo6UHLaeWz d/61oeMAqMxZM0kEuKP2ajNM3SUu8zX4WpxvCn5KqoPgpU8shhSxrGfCRg5lu+NHoIIS YDT6JoEo/MHYfDC0hL0ByV8Iwfvw6letjYQiZNmMnQEcaTrNdv/N/dIq1SjtOgwkvPwx T2CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=pd5ZewrVRM01x59/qigNEYAC6RwEitDjeqzPsbONyPU=; b=fqeN1KIkEpQGtaYIM5cYf16FcTpc9iZf0KKW7aKl39glgK/7yPjV8E+Zzo10I1Hyy1 yKYKeY4QI3vYPxtopcz/clb6q8Jy+biNWEgO26+l9gI3E559hOTk7+Rt+oswS4xVMXaH zU9XgbnP8MCprNCe/bnaQoI8bf9Yresra4sF28KMqyuVOLbCeDsFpKzlwng54RkgEyFG FjPdiMPzDBHfz5SrhOY2mrJcVmuh9zwxnW1n0vQgr8m9aOz4OufVRDR9fYjyvyWRANb6 gW9FcKLI1n+YuPY8II3m+SIzG52Wl1gTXaQF8LusPA/yaokAFgRS67PNwQU4Jodh8RR/ XlHQ== X-Gm-Message-State: AElRT7FyAq7ckQOPVGTQO6vQsO15dltuyJ5dwICPdp2zHToRy5OLg7ve XwkdVm7eTaZ3lsqDjSJocHzEuQ== X-Received: by 10.28.138.6 with SMTP id m6mr3438643wmd.146.1521650489881; Wed, 21 Mar 2018 09:41:29 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id t79sm4282739wmt.46.2018.03.21.09.41.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Mar 2018 09:41:28 -0700 (PDT) Date: Wed, 21 Mar 2018 17:41:26 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Masaki Ota , Dmitry Torokhov Cc: "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization for v3 and v6 protocols Message-ID: <20180321164126.fr4srexf5pxz4pud@pali> References: <20180312230915.26050-1-pali.rohar@gmail.com> <20180312231335.fnfxgenu22utr3z6@pali> <20180314225816.634w64kggycj67ec@pali> <20180316105811.t2nkwowqs66f6ji6@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ou7kqgnkeluwkzru" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ou7kqgnkeluwkzru Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable That is pity, but OK. Anyway, as wrote patch which I sent in the first email matches this documentation. Dmitry, can you review/comment/accept/reject this patch? On Monday 19 March 2018 08:41:19 Masaki Ota wrote: > Hi, Pali, >=20 > v3/v6 devices are T3 type, and it can use only Method 2. > P36 (At this time GLIDEPOINT_T3 uses the Method 2 ....) > T3 has the potential that uses Method2, but I think it needs to change Fi= rmware. >=20 > Best Regards, > Masaki Ota > -----Original Message----- > From: Pali Roh=C3=A1r [mailto:pali.rohar@gmail.com]=20 > Sent: Friday, March 16, 2018 7:58 PM > To: =E5=A4=AA=E7=94=B0 =E7=9C=9F=E5=96=9C Masaki Ota > Cc: Dmitry Torokhov ; linux-input@vger.kernel.= org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization fo= r v3 and v6 protocols >=20 > Great, thank you. Enabling that RAW/extended/SP4 mode is done by sequence= E6, E6, E6, F3, C8, F3, 14 (written in page 35) and it matches what functi= on alps_trackstick_enter_extended_mode_v3_v6() in my patch is doing. So is = correct. >=20 > On page 36 I see that there is described Method 1 for reporting stick dat= a which prevents cursor jumps. Seems that kernel uses Method 2. > Method 1 depends on some prioritization. >=20 > Do you have some information how to activate Method 1? Sometimes I observ= e that problem with "cursor jumps" and from Method 1 could prevent it. So I= would like to try experimenting... >=20 > On Wednesday 14 March 2018 23:56:46 Masaki Ota wrote: > > Hi, Pali, > >=20 > > I have added Appendix. > > According to this spec documents, SP raw mode is SP 4 byte mode. > > I think Extended mode meaning is almost all the same as Raw mode. > > The description of how to set is written in Page 35. > >=20 > > Best Regards, > > Masaki Ota > > -----Original Message----- > > From: Pali Roh=C3=A1r [mailto:pali.rohar@gmail.com] > > Sent: Thursday, March 15, 2018 7:58 AM > > To: =E5=A4=AA=E7=94=B0 =E7=9C=9F=E5=96=9C Masaki Ota > > Cc: Dmitry Torokhov ;=20 > > linux-input@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization= =20 > > for v3 and v6 protocols > >=20 > > Hi! Thank you for information. > >=20 > > Your PS/2 Aux Port Control description seems to really matches. Just th= ere is reverse order of bits. Bit 0 in description is highest, therefore ma= tches BIT(7) macro. > >=20 > > Bit 6 in description (BIT(1) in code) describes SP Extended Mode which = alps.c enabled. And in that description is written: > >=20 > > "If 1 SP is extended packet format (driver must set SP raw mode and GP = absolute mode)." > >=20 > > Do you have any idea what "SP raw mode" is? How to set it? For me it lo= oks like it could be that extended mode of trackstick itself. > >=20 > > "GP absolute mode" I guess is GlidePoint absolute mode, therefore=20 > > enable > > 6 byte absolute mode for touchpad. > >=20 > > And for Bit 7 (BIT(0)) is written: > >=20 > > This bit is used with the PS/2 Aux port to use the Pass-Thru mode ( see= appendix A ). Do you have some information about this appendix A? > >=20 > > On Wednesday 14 March 2018 10:21:43 Masaki Ota wrote: > > > Hi, Pali, > > >=20 > > > I just picked up the spec which relates with trackstic. > > >=20 > > > Best Regards, > > > Masaki Ota > > > -----Original Message----- > > > From: Pali Roh=C3=A1r [mailto:pali.rohar@gmail.com] > > > Sent: Tuesday, March 13, 2018 8:14 AM > > > To: =E5=A4=AA=E7=94=B0 =E7=9C=9F=E5=96=9C Masaki Ota ; Dmitry Torokhov=20 > > > > > > Cc: linux-input@vger.kernel.org; linux-kernel@vger.kernel.org > > > Subject: Re: [PATCH] Input: alps - Demystify trackstick=20 > > > initialization for v3 and v6 protocols > > >=20 > > > Masaki, if you have access to the internal ALPS v3 / Rushmore=20 > > > documentation, I would like to have a review of this patch or=20 > > > confirmation of those information :-) > >=20 > > -- > > Pali Roh=C3=A1r > > pali.rohar@gmail.com >=20 > -- > Pali Roh=C3=A1r > pali.rohar@gmail.com --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --ou7kqgnkeluwkzru Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWrKLNAAKCRCL8Mk9A+RD UhgCAKCbKZp3UgS0Xpk3CLcOHoAsGE8ccwCfdF7CCsOb7PR925/fc903vKxqu6w= =SJFN -----END PGP SIGNATURE----- --ou7kqgnkeluwkzru--