From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932944Ab2GBKHd (ORCPT ); Mon, 2 Jul 2012 06:07:33 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]:39536 "EHLO smtprelay-b12.telenor.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932877Ab2GBKHb (ORCPT ); Mon, 2 Jul 2012 06:07:31 -0400 X-SENDER-IP: [85.230.168.62] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au1PAApy8U9V5qg+PGdsb2JhbABFihWsRxkBAQEBHhkNJ4IYAQEFOhwjEAgDDgouFCUKGogiu0gUiyeFOmADlTOFZox/ X-IronPort-AV: E=Sophos;i="4.77,510,1336341600"; d="scan'208";a="369602825" From: "Henrik Rydberg" Date: Mon, 2 Jul 2012 12:07:41 +0200 To: Yufeng Shen Cc: linux-input@vger.kernel.org, Jiri Kosina , linux-kernel@vger.kernel.org, Daniel Kurtz , Andrew de los Reyes Subject: Re: [PATCH] HID: magicmouse: Implement Multi-touch Protocol B (MT-B) Message-ID: <20120702100741.GA1496@polaris.bitmath.org> References: <1340913271-588-1-git-send-email-miletus@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1340913271-588-1-git-send-email-miletus@chromium.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 28, 2012 at 03:54:31PM -0400, Yufeng Shen wrote: > The driver for Apple Magic Trackpad/Mouse currently uses > Multi-touch Protocol A (MT-A) to report touch events and uses > ABS_MT_TRACKING_ID to do finger tracking. The fact of the device > being able to track individual finger makes it possible to > report touch events using MT-B. This patch adds the support > for the driver to report MT-B and makes it configurable through > module parameter so that existing codes that are relying on its > MT-A implemtation don't get affected. Are there any such codes? Most systems, if not all, seem to use mtdev, which can handle both protocols. I do not think a parameter switch is a good idea. Switching to MT-B or leaving things as is look like the viable options. Thanks, Henrik