From patchwork Thu Nov 19 02:57:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregoire Gentil X-Patchwork-Id: 61223 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAJ2vk73029281 for ; Thu, 19 Nov 2009 02:57:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757969AbZKSC5t (ORCPT ); Wed, 18 Nov 2009 21:57:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757988AbZKSC5t (ORCPT ); Wed, 18 Nov 2009 21:57:49 -0500 Received: from mail-yw0-f202.google.com ([209.85.211.202]:49092 "EHLO mail-yw0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757969AbZKSC5r (ORCPT ); Wed, 18 Nov 2009 21:57:47 -0500 Received: by mail-yw0-f202.google.com with SMTP id 40so944791ywh.33 for ; Wed, 18 Nov 2009 18:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:from:reply-to :to:cc:in-reply-to:references:content-type:organization:date :message-id:mime-version:x-mailer; bh=J61+TV8LgzvfREnhj7LzN6ecxTGq04Z1nqXWqgM1ZSc=; b=ZrICSW7nHH6hbhl5BbEW2CPaWsl2sYNlnGuhFuPJ2BFpkYae8VeUkjI364EshBTjZ0 nW32DMDn/hbfUYCaap+pv8fOEm//vG45/GPPOcnA1w4NPhKQv7vLf5MjuCHMXEeRQ2fR 8bvAzOtflsxKSZRA7ASfmzqFeHO2DC43Za6no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:from:reply-to:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer; b=IJDqLjm3tz4go56l1qgqtIt7s+NlVI8N0WN13y036/YH4jEEoT4BOm3zl9nTZ1Lkfq iHdiGh6wWLwYlmCQ8E+cEgjB6zEHmacuO4wZ0KM9bDSdxbHk0smLrMyPBZyw06MWgbGI hWRxyIkhuTYXv6BHSwx3PNJ/bfmMyrjNBa1Sw= Received: by 10.91.105.3 with SMTP id h3mr2574184agm.6.1258599474121; Wed, 18 Nov 2009 18:57:54 -0800 (PST) Received: from ?192.168.10.5? (c-98-210-206-210.hsd1.ca.comcast.net [98.210.206.210]) by mx.google.com with ESMTPS id 35sm69822yxh.15.2009.11.18.18.57.51 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 18:57:52 -0800 (PST) Subject: [PATCH 4/8] AI TB: Driver for Always Innovating OMAP3-based Touch Book keyboard From: Gregoire Gentil Reply-To: gregoire@gentil.com To: linux-omap@vger.kernel.org, linux-input@vger.kernel.org Cc: Tony Lindgren , Tim Yamin In-Reply-To: <1258345850.9089.21.camel@gregoire-laptop> References: <1258228079.16065.17.camel@runt> <1258345850.9089.21.camel@gregoire-laptop> Organization: Gregoire Gentil Date: Wed, 18 Nov 2009 18:57:49 -0800 Message-Id: <1258599469.8001.35.camel@gregoire-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From 0eaf7bd7a3ece14751708728ebcb25dab588c172 Mon Sep 17 00:00:00 2001 From: Gregoire Gentil Date: Wed, 18 Nov 2009 18:32:15 -0800 Subject: [PATCH] Driver for Always Innovating OMAP3-based Touch Book keyboard Signed-off-by: Gregoire Gentil --- drivers/hid/Kconfig | 7 +++++++ drivers/hid/Makefile | 1 + drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 3 +++ 4 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 24d90ea..b56ddc5 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -62,6 +62,13 @@ config HID_A4TECH ---help--- Support for A4 tech X5 and WOP-35 / Trust 450L mice. +config HID_ALWAYSINNOVATING + tristate "Always Innovating" if EMBEDDED + depends on USB_HID + default !EMBEDDED + ---help--- + Support for Always Innovating Touch Book. + config HID_APPLE tristate "Apple" if EMBEDDED depends on (USB_HID || BT_HIDP) diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile index 0de2dff..b6a2860 100644 --- a/drivers/hid/Makefile +++ b/drivers/hid/Makefile @@ -20,6 +20,7 @@ ifdef CONFIG_LOGIRUMBLEPAD2_FF endif obj-$(CONFIG_HID_A4TECH) += hid-a4tech.o +obj-$(CONFIG_HID_ALWAYSINNOVATING) += hid-alwaysinnovating.o obj-$(CONFIG_HID_APPLE) += hid-apple.o obj-$(CONFIG_HID_BELKIN) += hid-belkin.o obj-$(CONFIG_HID_CHERRY) += hid-cherry.o diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 7d05c4b..2bb62c3 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1252,6 +1252,7 @@ EXPORT_SYMBOL_GPL(hid_disconnect); static const struct hid_device_id hid_blacklist[] = { { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) }, { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ALWAYSINNOVATING, USB_DEVICE_ID_ALWAYSINNOVATING_TOUCH_BOOK) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_ATV_IRCONTROL) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IRCONTROL4) }, { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MIGHTYMOUSE) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index adbef5d..ebf53f7 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -54,6 +54,9 @@ #define USB_VENDOR_ID_ALPS 0x0433 #define USB_DEVICE_ID_IBM_GAMEPAD 0x1101 +#define USB_VENDOR_ID_ALWAYSINNOVATING 0xa110 +#define USB_DEVICE_ID_ALWAYSINNOVATING_TOUCH_BOOK 0x0002 + #define USB_VENDOR_ID_APPLE 0x05ac #define USB_DEVICE_ID_APPLE_MIGHTYMOUSE 0x0304 #define USB_DEVICE_ID_APPLE_FOUNTAIN_ANSI 0x020e -- 1.6.0.4