From patchwork Tue Aug 21 19:06:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrik Rydberg X-Patchwork-Id: 1357311 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 168A83FD40 for ; Tue, 21 Aug 2012 19:01:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983Ab2HUTBq (ORCPT ); Tue, 21 Aug 2012 15:01:46 -0400 Received: from csmtp2.one.com ([91.198.169.22]:22577 "EHLO csmtp2.one.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726Ab2HUTBp (ORCPT ); Tue, 21 Aug 2012 15:01:45 -0400 Received: from polaris (c-14aae655.710-13-64736c12.cust.bredbandsbolaget.se [85.230.170.20]) by csmtp2.one.com (Postfix) with ESMTPA id 26902303BE31; Tue, 21 Aug 2012 19:01:42 +0000 (UTC) Received: by polaris (sSMTP sendmail emulation); Tue, 21 Aug 2012 21:06:26 +0200 From: "Henrik Rydberg" Date: Tue, 21 Aug 2012 21:06:26 +0200 To: Simon Farnsworth Cc: linux-input@vger.kernel.org, Benjamin Tissoires , Benjamin Tissoires , Jiri Kosina Subject: Re: QUANTA touchscreen controller integrated in HP2310ti no longer recognised (regression in 3.5 and later as compared to 3.3) Message-ID: <20120821190626.GA1260@polaris.bitmath.org> References: <1700293.Y8yBuPUG33@f17simon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1700293.Y8yBuPUG33@f17simon> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi Simon, > We're going through our collection of touch screens, making sure that they all > work with current kernels, and we've found one that doesn't work with today's > Linus master. > > lsusb describes the screen as: > Bus 006 Device 002: ID 0408:3001 Quanta Computer, Inc. Optical Touch Screen What about 0408:3008, does that one work? > Any ideas on the best way to resolve this regression? What does 'cat /sys/bus/hid/devices/0003:0408:3001.0001/modalias' say? The patch below ought to be enough to make it work, although it is still unclear why it is needed. Thanks, Henrik --- -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index bd4bc3c..2b775c3 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -963,7 +963,7 @@ static const struct hid_device_id mt_devices[] = { MT_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH) }, { .driver_data = MT_CLS_CONFIDENCE_CONTACT_ID, - MT_USB_DEVICE(USB_VENDOR_ID_QUANTA, + HID_USB_DEVICE(USB_VENDOR_ID_QUANTA, USB_DEVICE_ID_QUANTA_OPTICAL_TOUCH_3001) }, { .driver_data = MT_CLS_CONFIDENCE_CONTACT_ID, MT_USB_DEVICE(USB_VENDOR_ID_QUANTA,