All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Raphaël Doursenaud" <rdoursenaud@free.fr>
To: jkosina@suse.cz
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.33.2 1/1] hid: add support for cymotion master solar keyboard
Date: Thu, 08 Apr 2010 12:58:19 +0200	[thread overview]
Message-ID: <4BBDB6CB.6000202@free.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Support the solar version of the Cherry's cymotion keyboard line using
existing cherry driver.

Signed-off-by: Raphaël Doursenaud <rdoursenaud@free.fr>

[-- Attachment #2: cymotionsolar.patch --]
[-- Type: text/plain, Size: 1676 bytes --]

--- linux-2.6.33.2.vanilla/drivers/hid/hid-cherry.c	2010-02-24 19:52:17.000000000 +0100
+++ linux-2.6.33.2.cherry/drivers/hid/hid-cherry.c	2010-04-02 04:36:08.955925838 +0200
@@ -59,6 +59,7 @@ static int ch_input_mapping(struct hid_d
 
 static const struct hid_device_id ch_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION_SOLAR) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, ch_devices);
--- linux-2.6.33.2.vanilla/drivers/hid/hid-core.c	2010-04-07 21:46:31.583115372 +0200
+++ linux-2.6.33.3.cherry/drivers/hid/hid-core.c	2010-04-02 04:33:05.796955041 +0200
@@ -1292,6 +1292,7 @@ static const struct hid_device_id hid_bl
 	{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_BELKIN, USB_DEVICE_ID_FLIP_KVM) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION_SOLAR) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_TACTICAL_PAD) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) },
--- linux-2.6.33.2.vanilla/drivers/hid/hid-ids.h	2010-04-07 21:46:31.583115372 +0200
+++ linux-2.6.33.1.cherry/drivers/hid/hid-ids.h	2010-04-02 04:31:21.696814239 +0200
@@ -124,6 +124,7 @@
 
 #define USB_VENDOR_ID_CHERRY		0x046a
 #define USB_DEVICE_ID_CHERRY_CYMOTION	0x0023
+#define USB_DEVICE_ID_CHERRY_CYMOTION_SOLAR	0x0027
 
 #define USB_VENDOR_ID_CHIC		0x05fe
 #define USB_DEVICE_ID_CHIC_GAMEPAD	0x0014

             reply	other threads:[~2010-04-08 11:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 10:58 Raphaël Doursenaud [this message]
2010-04-08 11:32 ` [PATCH 2.6.33.2 1/1] hid: add support for cymotion master solar keyboard Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBDB6CB.6000202@free.fr \
    --to=rdoursenaud@free.fr \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.