From patchwork Mon Jul 12 17:28:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Mack X-Patchwork-Id: 111474 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6CHTR6u020530 for ; Mon, 12 Jul 2010 17:29:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756346Ab0GLR27 (ORCPT ); Mon, 12 Jul 2010 13:28:59 -0400 Received: from buzzloop.caiaq.de ([212.112.241.133]:34832 "EHLO buzzloop.caiaq.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756168Ab0GLR25 (ORCPT ); Mon, 12 Jul 2010 13:28:57 -0400 Received: from localhost (localhost [127.0.0.1]) by buzzloop.caiaq.de (Postfix) with ESMTP id 5242A7F4067; Mon, 12 Jul 2010 19:28:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at buzzloop.caiaq.de Received: from buzzloop.caiaq.de ([127.0.0.1]) by localhost (buzzloop.caiaq.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kcIxICRvwL5E; Mon, 12 Jul 2010 19:28:53 +0200 (CEST) Received: from jup.xaos.intra (port-92-206-67-170.dynamic.qsc.de [92.206.67.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by buzzloop.caiaq.de (Postfix) with ESMTPSA id 5A5927F4068; Mon, 12 Jul 2010 19:28:36 +0200 (CEST) From: Daniel Mack To: linux-input@vger.kernel.org Cc: linux-usb@vger.kernel.org, Daniel Mack , Jiri Kosina , Dmitry Torokhov Subject: [PATCH 3/3] HID: Force registration of an input device for "VEC footpedal" devices Date: Mon, 12 Jul 2010 19:28:28 +0200 Message-Id: <1278955708-9428-3-git-send-email-daniel@caiaq.de> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1278955708-9428-1-git-send-email-daniel@caiaq.de> References: <1278955708-9428-1-git-send-email-daniel@caiaq.de> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 12 Jul 2010 17:29:27 +0000 (UTC) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 6af77ed..0510cc1 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -505,5 +505,7 @@ #define USB_DEVICE_ID_KYE_ERGO_525V 0x0087 #define USB_DEVICE_ID_KYE_GPEN_560 0x5003 +#define USB_VENDOR_ID_PI_ENGINEERING 0x05f3 +#define USB_DEVICE_ID_PI_ENGINEERING_VEC_USB_FOOTPEDAL 0xff #endif diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c index 5ff8d32..12b38d1 100644 --- a/drivers/hid/usbhid/hid-quirks.c +++ b/drivers/hid/usbhid/hid-quirks.c @@ -73,6 +73,8 @@ static const struct hid_blacklist { { USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, { USB_VENDOR_ID_WISEGROUP_LTD2, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT }, + { USB_VENDOR_ID_PI_ENGINEERING, USB_DEVICE_ID_PI_ENGINEERING_VEC_USB_FOOTPEDAL, HID_QUIRK_HIDINPUT_FORCE }, + { 0, 0 } };