Received: by 10.213.65.68 with SMTP id h4csp1294080imn; Wed, 14 Mar 2018 16:00:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELvR4NSvAsccIhbENd/RtXRUgxraVGsbcuPHOX5TgsIdQ9rss7qaRwe1e9PaUUj5a4RCiAwY X-Received: by 2002:a17:902:158b:: with SMTP id m11-v6mr5077163pla.300.1521068414794; Wed, 14 Mar 2018 16:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521068414; cv=none; d=google.com; s=arc-20160816; b=JY0Vn1z/5MW8pjnmorT8mYUEuPuDF1yYFqLldEHGw8+apwTPeHMZYbT5wxxiRncU4F yuMlb17GZaCXpwGEnhe+BG7f9T1SvhpoQk6sDpWwjsQSv1jLFm8htBlQvEp8GmXd6Avl 5tcOWk1iZ6EyoQGHmrrrkpv64yv7uFi8HRW7Asn0q0HYISUvgBCkpwyfToYmxUYIVAx5 vup8SlW6enVVCfzMTgg7bW3mUXmYsBtqQtA2DB1AdoL+1aYkOHaFhzBhxiVvmaD2tyWx 5pTZFVDK6LyTbAhWu2NkjsxI+RUjGtXCves0UhXfg9bndDer16Q/earCxgHvLNokYqvO TT5w== 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=pjejmVTbRNvdXq9+Z31vQRT3hs+KWbuqZ8FRp11FbmU=; b=cYEYKO9Lc8r/k6M4ul18AWDqv1zVx+nDOfT2JNWTgshSFKjg74WoHVpHp7/I6iuGLT r7CP3eHMrSsc8WUZOiiSfB9MmqfkMWXjXF8ASNWXQ5FNv3VRvE/XgPdPucvW88qnnqDN HTHnDnHj6Umbj+8N0YwKXEUUi12fNaKpWVqvc7fA6GGwui7Vt0on8rj5y6c97S1W9vHa r8lS5apCCkkSoSrBALKD4u2ymlJEccXCjvYo6vh/2LejPkPmnVW4A8O/uVPndSbocfzx 6KMXyRE+k0U2WuGNJB2c011lwv9zcf9iR1UQj2G8EjLQtD3Lvxy8S+3DTo7Wk44z6UWV z2yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YofvzV71; 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 h10-v6si2732659plk.706.2018.03.14.16.00.00; Wed, 14 Mar 2018 16:00:14 -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=YofvzV71; 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 S1751781AbeCNW6W (ORCPT + 99 others); Wed, 14 Mar 2018 18:58:22 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36598 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbeCNW6U (ORCPT ); Wed, 14 Mar 2018 18:58:20 -0400 Received: by mail-wm0-f54.google.com with SMTP id i194so7046950wmg.1; Wed, 14 Mar 2018 15:58:19 -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=pjejmVTbRNvdXq9+Z31vQRT3hs+KWbuqZ8FRp11FbmU=; b=YofvzV71qEhdDYNu7hfn4YjZRWXMXk9xbOz9L1JRU1Omtdr8zGvK7mqz5DTLW+pv0q dmz/LzhJqS3FTPfRtP5s8mB1SHz3WllXFP/S6FdZYIgZRlzDMZ3DELGP4kDS6/+RFa/x 7dTZgJUv+n/WUTo/8uCOuicsd+fe/lwCzeyvpCKNygXf6UIsPq8DTNTo7OlxN7usYiJT npqbO7nR5KFdDdNHZNlOYhmjw7UzcuUh0USQYdvoih1KO35z0kizfBfHE84ex+YXGs+c pIv0U3MKCF04f5gir9YBNhuhg+PA0kUkaWav2Tv95Q/h0ql33+NGNomhwJ1Cnr9vC6Dl CRRQ== 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=pjejmVTbRNvdXq9+Z31vQRT3hs+KWbuqZ8FRp11FbmU=; b=Op3JN6YJXbv4yHBdxjJXQepbf15/VNHxvtRoy/J65dtvqvP8VMls2zmRzCZD3uNEqv HCzbx3JfzbtvZBl2Oi2Nn9IVFGXgfmsmTKG+XBg822uZu92jeNLerNkXjPZlVjT8nUSw OFsvJ+w02hPdsnxreIyKQY2y9zAxarmIooHfMH1MmAwpD4cOuKylCLlcgJYBdqp49SZv IitOGYuv0dKINgMFWhont0rEwg8eLyW1UOk17VPzc65q/LfegF3so/ieNAmG5ia1Z3oi eo/wIPTqLEcLRZBDwz+bsUj7id1hDb2OyvdpLRzv90I5NnrHFgpRqLDctrtQeKbT1/nc t3uw== X-Gm-Message-State: AElRT7EX9PyIlUGoeY0taoKIJXJIRPLTelQQz6FvH86XIZ/5TTIw8tA4 8UoulNUGYQUcoP85j+tY9ZKPzA== X-Received: by 10.28.10.81 with SMTP id 78mr2962720wmk.115.1521068299119; Wed, 14 Mar 2018 15:58:19 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id j6sm3550270wmg.14.2018.03.14.15.58.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Mar 2018 15:58:17 -0700 (PDT) Date: Wed, 14 Mar 2018 23:58:16 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= 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 Message-ID: <20180314225816.634w64kggycj67ec@pali> References: <20180312230915.26050-1-pali.rohar@gmail.com> <20180312231335.fnfxgenu22utr3z6@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="66ugg6jf3vaojm63" 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 --66ugg6jf3vaojm63 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, >=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]=20 > 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 > Cc: 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 > Masaki, if you have access to the internal ALPS v3 / Rushmore documentati= on, I would like to have a review of this patch or confirmation of those in= formation :-) --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --66ugg6jf3vaojm63 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWqmpAgAKCRCL8Mk9A+RD UjwmAKCIxUQ7IDM0TLHJg8NQVwGQcMskTwCeJRtJUhh9kMeZDzwrQeq0ALRVYH4= =37VS -----END PGP SIGNATURE----- --66ugg6jf3vaojm63--