Received: by 10.192.165.156 with SMTP id m28csp1126526imm; Wed, 18 Apr 2018 04:43:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dyjCOvjYLECxg2Kw7JjAje9gdIW8OoQWYpevzVfm3NErh+2B5jD6wH3WOysGaMKD4g6aY X-Received: by 10.99.189.26 with SMTP id a26mr1493954pgf.157.1524051793872; Wed, 18 Apr 2018 04:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524051793; cv=none; d=google.com; s=arc-20160816; b=m2CDzrjhDuxWZLyvPzM6Yo0Co9D4tVqOvZtWuVfawZ5fW02fxjDg57TzwiN94Yj1z2 LHV98i9zJYTaDsT4hrKiXSDYmjgh1+Jobh0PUFiFqt1uZNrGzhVO+REwSM/YBSpdD3ZJ Z5PZM2qeKTtRBXmr+IYRlutrQ41ofAwz7XXW9pYvvCi1W3e2T8+d+O+OVt8cktFSTyDY SsmgTXb/URtxtx1cFR3gy7gB5ManklPLF0dDMtAJ63oEG9KS4hoRFwVKldS6AEJQnXlv 46q8q373LREIUxPwsQkcSewhKPZXRdX8jo/oSmHIksUi/0je4shU0uFs2BWCfGt9hLy7 CKeg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=WMPt9zbQxdB3lhEeUekuoE3S9omz5U+qd7sbWa5bJFg=; b=cIyDVdig8J3yun7RC55gsVDOhOUSC3YK2tKm/VtLb9L8YPm4pMtXpAUJ0X8972/bDP eMKri8Oyt+u9Ub5SsfmxRDXdxlNkxIchaEnWTGvmrxclwT4aElNoueYI2zQ3IXqux9Lp oA9JcsRVJgv7h0fjDKtEwD81+80KGmzlQGDAFMcKhuViep0pof74S/CiWlPQZIVEYkBi h1IjbnNU9AAUepsiBzs1r0TV8nyfROq2+m+6KaKvaBh9pszPRapbrdlAl5vdMLDuM/oa Yt9byLeizHb0DHYZekILEEYP51pBtgc6QQdo/eO3kQh1xgX149YYEqYaGxmqhnjyTJnf o0SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j+ja0Wfm; 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 s3si1014896pfg.175.2018.04.18.04.42.59; Wed, 18 Apr 2018 04:43:13 -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=j+ja0Wfm; 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 S1753847AbeDRLki (ORCPT + 99 others); Wed, 18 Apr 2018 07:40:38 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:34227 "EHLO mail-wr0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753813AbeDRLke (ORCPT ); Wed, 18 Apr 2018 07:40:34 -0400 Received: by mail-wr0-f181.google.com with SMTP id d19-v6so3948802wre.1; Wed, 18 Apr 2018 04:40:34 -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:content-transfer-encoding:in-reply-to :user-agent; bh=WMPt9zbQxdB3lhEeUekuoE3S9omz5U+qd7sbWa5bJFg=; b=j+ja0WfmcUd2XLtKzDEu3DqNQbu4FU9WLFxBazopAp3btTrMzRLfj4/idqIW5HWmzg eSStS5muuijGQcJRKHem7e1IjSa9J5jPCLAJ1lpa2Po8Tp+48Bc/vgAvHK9SosSrIq81 OgImHQofo+TXtzyt7FmmS5XrPiRuf0ZW2kJdxQ+timnE7u13rxqBBgskzS0l9H8C+bH8 BZ15/3qM/j2FblOtET+sPul2hbCHFxLEkwl5O4uo9TvdsWIPrlyJH/AzjhUlYxUFLLHj Eb2PCrJ6u3fLAn6mYhiXh45TOnYKOvmcoVbc6YslfMOWfXzeqbAc08q5/o12SHy7E2GY K0Hg== 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:content-transfer-encoding :in-reply-to:user-agent; bh=WMPt9zbQxdB3lhEeUekuoE3S9omz5U+qd7sbWa5bJFg=; b=oJ602GFh9rGai7p1fLe+W4C3DNFBajyFbDfZ9M+mlSKvATdls0sz2/qtWlrGVF77S2 G0GUENwgAa/i/c9Pp0QeAdSToE9QpzNR+45yfMMUGrBqTvt4bpGn1QuWtQFEcdJE/A70 79SOqI3/e2VYOnZhx1Wp+loxlEAotjdxXWzlFN/4ZfGRUz8e9T1COLzL+SDTamnppc11 KeEC+lQiHn/ylGKh3OSVV74KPssqBo58lHZwA3bcjcaTugtZx5qPxkjL8pOKSCzshjiS +kZG8qtexve8OOtnL7/QvgNfCLfI2qAo+q7sLjBToXg7ZQMPSVYXIkNHd4x3KA/YXW5h DLhQ== X-Gm-Message-State: ALQs6tD/TY2Pq0lFObNGRKVGoXfjtKxHgP7s8PflDex73ZatP+df62Vp xIWRdENHMqT/GUS5PVrs4Eg= X-Received: by 2002:adf:8827:: with SMTP id d36-v6mr1415663wrd.41.1524051633493; Wed, 18 Apr 2018 04:40:33 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id d28-v6sm987648wra.37.2018.04.18.04.40.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Apr 2018 04:40:31 -0700 (PDT) Date: Wed, 18 Apr 2018 13:40:30 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Dmitry Torokhov Cc: "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Masaki Ota Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization for v3 and v6 protocols Message-ID: <20180418114030.5xkvynzeqf63ir7j@pali> References: <20180312230915.26050-1-pali.rohar@gmail.com> <20180312231335.fnfxgenu22utr3z6@pali> <20180314225816.634w64kggycj67ec@pali> <20180316105811.t2nkwowqs66f6ji6@pali> <20180321164126.fr4srexf5pxz4pud@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180321164126.fr4srexf5pxz4pud@pali> 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 Dmitry, ping On Wednesday 21 March 2018 17:41:26 Pali Rohár wrote: > 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, > > > > 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 Firmware. > > > > Best Regards, > > Masaki Ota > > -----Original Message----- > > From: Pali Rohár [mailto:pali.rohar@gmail.com] > > Sent: Friday, March 16, 2018 7:58 PM > > To: 太田 真喜 Masaki Ota > > Cc: Dmitry Torokhov ; linux-input@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization for v3 and v6 protocols > > > > 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 function alps_trackstick_enter_extended_mode_v3_v6() in my patch is doing. So is correct. > > > > On page 36 I see that there is described Method 1 for reporting stick data which prevents cursor jumps. Seems that kernel uses Method 2. > > Method 1 depends on some prioritization. > > > > Do you have some information how to activate Method 1? Sometimes I observe that problem with "cursor jumps" and from Method 1 could prevent it. So I would like to try experimenting... > > > > On Wednesday 14 March 2018 23:56:46 Masaki Ota wrote: > > > Hi, Pali, > > > > > > 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. > > > > > > Best Regards, > > > Masaki Ota > > > -----Original Message----- > > > From: Pali Rohár [mailto:pali.rohar@gmail.com] > > > Sent: Thursday, March 15, 2018 7:58 AM > > > To: 太田 真喜 Masaki Ota > > > Cc: Dmitry Torokhov ; > > > linux-input@vger.kernel.org; linux-kernel@vger.kernel.org > > > Subject: Re: [PATCH] Input: alps - Demystify trackstick initialization > > > for v3 and v6 protocols > > > > > > Hi! Thank you for information. > > > > > > Your PS/2 Aux Port Control description seems to really matches. Just there is reverse order of bits. Bit 0 in description is highest, therefore matches BIT(7) macro. > > > > > > Bit 6 in description (BIT(1) in code) describes SP Extended Mode which alps.c enabled. And in that description is written: > > > > > > "If 1 SP is extended packet format (driver must set SP raw mode and GP absolute mode)." > > > > > > Do you have any idea what "SP raw mode" is? How to set it? For me it looks like it could be that extended mode of trackstick itself. > > > > > > "GP absolute mode" I guess is GlidePoint absolute mode, therefore > > > enable > > > 6 byte absolute mode for touchpad. > > > > > > And for Bit 7 (BIT(0)) is written: > > > > > > 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? > > > > > > On Wednesday 14 March 2018 10:21:43 Masaki Ota wrote: > > > > Hi, Pali, > > > > > > > > I just picked up the spec which relates with trackstic. > > > > > > > > Best Regards, > > > > Masaki Ota > > > > -----Original Message----- > > > > From: Pali Rohár [mailto:pali.rohar@gmail.com] > > > > Sent: Tuesday, March 13, 2018 8:14 AM > > > > 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 > > > > > > > > Masaki, if you have access to the internal ALPS v3 / Rushmore > > > > documentation, I would like to have a review of this patch or > > > > confirmation of those information :-) > > > > > > -- > > > Pali Rohár > > > pali.rohar@gmail.com > > > > -- > > Pali Rohár > > pali.rohar@gmail.com > -- Pali Rohár pali.rohar@gmail.com