Received: by 10.192.165.148 with SMTP id m20csp4547500imm; Tue, 24 Apr 2018 04:45:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ic5RgbmjVFb2daxPcmbGkh62ooki2lEBMaP/9BUF3BQ0i+WBZZGW4vWf9SdaT7APsz4yp X-Received: by 10.99.145.196 with SMTP id l187mr19992911pge.261.1524570339220; Tue, 24 Apr 2018 04:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524570339; cv=none; d=google.com; s=arc-20160816; b=UhpJ932Dle0ykILgppa+CvyDtHVN4mmdlnwTA3zFIbDYvqwD0AyWImUPgwcFpamlGH J5uNMawzemFrrQn3JCqtR4ArhJCyS+6y4/mUJkQlQGxJ3gHdrLvzETRuJMKgM1HCy6zz 4w0wqa+udWtx1yyxYEGWfl1fzMUxHKPk9aHZaO3Y8lTM7kuzxsEtg0kPE2+GyQDrBAXH RXcuHTheY8XpmWOkPDoIBwdfhupMSkDBY26AbZwkzhq+Q3ZvQqmLmfkX6P5BNGLKzFad X0Hi3Su3AFn6mrs7EgRwY2WCDk9JCmY7E7ik0mw4LecU3ePY5XqavZsZu6sQWmGpdkbk cFxg== 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=uCRAMiFsRnLwZZeg5qmpZkLm63y/2FAkUEqPp314tGg=; b=HFN+X8viU2R5lZeGO0pEBMX7WiuqLKk17DjODW1L7CbK3zkOIaH/s9tIaZkzx5rYV1 j7MDefaOzib/0bY3YrwzvusxUY7A4dVmUFcgxNhrqaip4KSmvF/ZCTfofe/CE094sh9C ukhBF8RdGysPAL+wPR165r0TMvaCnma/k8F7R8jf37Ep/QDkbg6l1f764AmCOOmorWMp OQwxVv3oKVoVoACAFEJ/sKZJCzpSzWxbedDHITddGqeWMIZYLWBePH6DdHHfg1PXkonN hOnsx/R20wKKsmdj6BXkmWAENHUUTLyXDTWtgqILsA2SUixvGSjL7F0trn3XjfLcm6AX 2RAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=COp61fF2; 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 k139si1631327pfd.97.2018.04.24.04.45.23; Tue, 24 Apr 2018 04:45:39 -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=COp61fF2; 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 S1757001AbeDXLO3 (ORCPT + 99 others); Tue, 24 Apr 2018 07:14:29 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:33863 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756941AbeDXLO0 (ORCPT ); Tue, 24 Apr 2018 07:14:26 -0400 Received: by mail-wr0-f176.google.com with SMTP id p18-v6so30323556wrm.1; Tue, 24 Apr 2018 04:14:25 -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=uCRAMiFsRnLwZZeg5qmpZkLm63y/2FAkUEqPp314tGg=; b=COp61fF2G+x2X6RXyn7XqWpQyOnugnrSi3SuJV9KcLsg4SZb5rmn1gTRXu14dcDNV1 lTYZCEU/TxcIi+S8jw95C3QtFbEzzxbLSU4MYbygNGlWyFay6NUfEO0KWd3WkruwWMIn iazGwcCw5E9pvPAzZ7VpFlP3OXkLX/kzEuRFEdOUqAupS5Bv7HWAj2jUPO7KJ6bH4yEy CuTnyJ9W/dx7lZoG26Q1AV1Dogojcf0timzE3g9jfOJdDydDUbKEh/GhbGO6hlcXuc39 j0KOAKekNybNCDNbvg2kBACa21TNSePUtUChPaUJVOi8RI9PNuEMJoyMJxmLWjP89Fid vOYQ== 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=uCRAMiFsRnLwZZeg5qmpZkLm63y/2FAkUEqPp314tGg=; b=cxnzlfck4evUHwmMsr6U1Y3slnFfVnbIthifSz/pmt9McsfBiY31mEpE0ac57WeZSe Zhak3y/bOQmIoI8o3V593dlqRp4vAuU++sempkcpJ9I7JycNQVssYyPBxxR8eB55CdxF UDYXnd30veODOcLv3WGOYfDpCGHNJcrHrlfZa8Wxt7d5KW/2g5LW36vb+UOUjVZCs0Rh v4L9XzEtoDkRAjQjB0i2wCXeMkqX+2NxtrYG9ko07UKdWpSREE1ph/nnNZ1hz9LAVpur fbnTWRnrPfI6DC4GQh3IWRb+skc0dU44K9FdQgzx/7q6I+2uPmvP19m7p33dj80ckMBj v63Q== X-Gm-Message-State: ALQs6tDRFYy+OPBCXlc+E5xsNFBgyPKFhpNAKizaIS0BYWuRmhFEXxSg kkjnleKTnj0cv45M5DHC0t0= X-Received: by 2002:adf:db85:: with SMTP id u5-v6mr10218565wri.278.1524568465237; Tue, 24 Apr 2018 04:14:25 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id w62sm9597451wmb.6.2018.04.24.04.14.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 04:14:23 -0700 (PDT) Date: Tue, 24 Apr 2018 13:14:22 +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: <20180424111422.pys2aijiock3cfvt@pali> References: <20180312230915.26050-1-pali.rohar@gmail.com> <20180312231335.fnfxgenu22utr3z6@pali> <20180314225816.634w64kggycj67ec@pali> <20180316105811.t2nkwowqs66f6ji6@pali> <20180321164126.fr4srexf5pxz4pud@pali> <20180418114030.5xkvynzeqf63ir7j@pali> <20180423234026.GI66646@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180423234026.GI66646@dtor-ws> 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 On Monday 23 April 2018 16:40:26 Dmitry Torokhov wrote: > On Wed, Apr 18, 2018 at 01:40:30PM +0200, Pali Rohár wrote: > > Dmitry, ping > > Applied, thank you. Can you tell me if I am missing anything else for > ALPS? Hi! All remaining ALPS patches should be already processed. > > Thanks! > > > > > 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 > -- Pali Rohár pali.rohar@gmail.com