linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [hid] Add the GYR4101US USB ID to hid-gyration
@ 2010-05-22 20:00 Cory Maccarrone
  2010-05-22 20:07 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Cory Maccarrone @ 2010-05-22 20:00 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Andrew Morton, linux-input, Cory Maccarrone

This change adds in the USB product ID for the Gyration
GYR4101US USB media center remote control.  This remote
is similar enough to the other two devices that this driver
can be used without any other changes to get full support
for the remote.

Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
---
 drivers/hid/hid-core.c     |    1 +
 drivers/hid/hid-gyration.c |    1 +
 drivers/hid/hid-ids.h      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 368fbb0..6efc814 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -1309,6 +1309,7 @@ static const struct hid_device_id hid_blacklist[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0012) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
diff --git a/drivers/hid/hid-gyration.c b/drivers/hid/hid-gyration.c
index cab13e8..9de37d0 100644
--- a/drivers/hid/hid-gyration.c
+++ b/drivers/hid/hid-gyration.c
@@ -70,6 +70,7 @@ static int gyration_event(struct hid_device *hdev, struct hid_field *field,
 static const struct hid_device_id gyration_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
 	{ }
 };
 MODULE_DEVICE_TABLE(hid, gyration_devices);
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 72c05f9..33ae92d 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -266,6 +266,7 @@
 #define USB_VENDOR_ID_GYRATION		0x0c16
 #define USB_DEVICE_ID_GYRATION_REMOTE	0x0002
 #define USB_DEVICE_ID_GYRATION_REMOTE_2 0x0003
+#define USB_DEVICE_ID_GYRATION_REMOTE_3 0x0008
 
 #define USB_VENDOR_ID_HAPP		0x078b
 #define USB_DEVICE_ID_UGCI_DRIVING	0x0010
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] [hid] Add the GYR4101US USB ID to hid-gyration
  2010-05-22 20:00 [PATCH] [hid] Add the GYR4101US USB ID to hid-gyration Cory Maccarrone
@ 2010-05-22 20:07 ` Dmitry Torokhov
  2010-05-24 17:10   ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-05-22 20:07 UTC (permalink / raw)
  To: Cory Maccarrone; +Cc: Andrew Morton, linux-input, Jiri Kosina

Hi Cory,

On Sat, May 22, 2010 at 01:00:28PM -0700, Cory Maccarrone wrote:
> This change adds in the USB product ID for the Gyration
> GYR4101US USB media center remote control.  This remote
> is similar enough to the other two devices that this driver
> can be used without any other changes to get full support
> for the remote.
> 
> Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>

Please send HID-related stuff to Jiri (CCed).

Thanks!

> ---
>  drivers/hid/hid-core.c     |    1 +
>  drivers/hid/hid-gyration.c |    1 +
>  drivers/hid/hid-ids.h      |    1 +
>  3 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 368fbb0..6efc814 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -1309,6 +1309,7 @@ static const struct hid_device_id hid_blacklist[] = {
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_GREENASIA, 0x0012) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
> +	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_KYE, USB_DEVICE_ID_KYE_ERGO_525V) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_LABTEC, USB_DEVICE_ID_LABTEC_WIRELESS_KEYBOARD) },
> diff --git a/drivers/hid/hid-gyration.c b/drivers/hid/hid-gyration.c
> index cab13e8..9de37d0 100644
> --- a/drivers/hid/hid-gyration.c
> +++ b/drivers/hid/hid-gyration.c
> @@ -70,6 +70,7 @@ static int gyration_event(struct hid_device *hdev, struct hid_field *field,
>  static const struct hid_device_id gyration_devices[] = {
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE) },
>  	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
> +	{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(hid, gyration_devices);
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index 72c05f9..33ae92d 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -266,6 +266,7 @@
>  #define USB_VENDOR_ID_GYRATION		0x0c16
>  #define USB_DEVICE_ID_GYRATION_REMOTE	0x0002
>  #define USB_DEVICE_ID_GYRATION_REMOTE_2 0x0003
> +#define USB_DEVICE_ID_GYRATION_REMOTE_3 0x0008
>  
>  #define USB_VENDOR_ID_HAPP		0x078b
>  #define USB_DEVICE_ID_UGCI_DRIVING	0x0010
> -- 
> 1.7.0.4
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] [hid] Add the GYR4101US USB ID to hid-gyration
  2010-05-22 20:07 ` Dmitry Torokhov
@ 2010-05-24 17:10   ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2010-05-24 17:10 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: Cory Maccarrone, Andrew Morton, linux-input

On Sat, 22 May 2010, Dmitry Torokhov wrote:

> > This change adds in the USB product ID for the Gyration
> > GYR4101US USB media center remote control.  This remote
> > is similar enough to the other two devices that this driver
> > can be used without any other changes to get full support
> > for the remote.
> > 
> > Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
> 
> Please send HID-related stuff to Jiri (CCed).
> 
> Thanks!

Applied, thanks a lot, Cory.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-24 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 20:00 [PATCH] [hid] Add the GYR4101US USB ID to hid-gyration Cory Maccarrone
2010-05-22 20:07 ` Dmitry Torokhov
2010-05-24 17:10   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).