Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbbLNNWz (ORCPT ); Mon, 14 Dec 2015 08:22:55 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52140 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752842AbbLNNWy (ORCPT ); Mon, 14 Dec 2015 08:22:54 -0500 X-Originating-IP: 83.155.44.161 Message-ID: <1450099368.3358.5.camel@hadess.net> Subject: Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers From: Bastien Nocera To: Akihiko Odaki , jikos@kernel.org, Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Mon, 14 Dec 2015 14:22:48 +0100 In-Reply-To: <1450097429-4959-1-git-send-email-akihiko.odaki.4i@stu.hosei.ac.jp> References: <1450097429-4959-1-git-send-email-akihiko.odaki.4i@stu.hosei.ac.jp> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.2 (3.18.2-1.fc23) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1139 Lines: 28 On Mon, 2015-12-14 at 21:50 +0900, Akihiko Odaki wrote: > Use multitouch driver instead of microsoft one for Microsoft Surface > Type Covers. > > By using MT_CLS_EXPORT_ALL_INPUTS, the keyboards function as well as > the multitouch pads do. I've discussed this a couple of weeks back with Benjamin Tissoires, and this patch would break the special keys (mute, brightness up/down, keyboard backlight up/down and play/pause). The recommended way to fix this was to move multi-touch processing into the Microsoft driver, so that it would handle the trackpad's multi- touch events. You should be able to do this by carefully picking up the handling code from hid-multitouch, or do something similar to what's done in hid- wacom, which has the same problem as the Type Cover handling. Can you confirm that this does indeed break those special keys? If it does, it's a NAK from my side. Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/