linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH] HID: add NOGET quirk for Prodige Cordless Combo
@ 2010-02-02 16:43 Alexander Shishkin
       [not found] ` <1265129012-6023-1-git-send-email-virtuoso-0lOfPCoBze7YtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shishkin @ 2010-02-02 16:43 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Alexander Shishkin, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-input-u79uwXL29TY76Z2rM5mHXA

I happen to own a keyboard identified as 05af:3062 which is labeled as
"FlatX Coldless Combo" by "Prodige", which exhibits input problems without
NOGET quirk. For some reason, lsusb reports this device as "Jing-Mold
Enterprise Co., Ltd", which is not mentioned anywhere on the package.
A quick search on the intenet shows that there a other people who have
this in their lsusb output, but apparently they don't have the problem
I am seeing (or they are not such furious typists as myself).

Signed-off-by: Alexander Shishkin <virtuoso-0lOfPCoBze7YtjvyW6yDsg@public.gmane.org>
CC: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
CC: linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
---
 drivers/hid/hid-ids.h           |    3 +++
 drivers/hid/usbhid/hid-quirks.c |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 010368e..034f694 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -382,6 +382,9 @@
 #define USB_VENDOR_ID_POWERCOM		0x0d9f
 #define USB_DEVICE_ID_POWERCOM_UPS	0x0002
 
+#define USB_VENDOR_ID_PRODIGE		0x05af
+#define USB_DEVICE_ID_PRODIGE_CORDLESS	0x3062
+
 #define USB_VENDOR_ID_SAITEK		0x06a3
 #define USB_DEVICE_ID_SAITEK_RUMBLEPAD	0xff17
 
diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
index 38773dc..fc074c1 100644
--- a/drivers/hid/usbhid/hid-quirks.c
+++ b/drivers/hid/usbhid/hid-quirks.c
@@ -45,6 +45,7 @@ static const struct hid_blacklist {
 
 	{ USB_VENDOR_ID_PANTHERLORD, USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK, HID_QUIRK_MULTI_INPUT | HID_QUIRK_SKIP_OUTPUT_REPORTS },
 	{ USB_VENDOR_ID_PLAYDOTCOM, USB_DEVICE_ID_PLAYDOTCOM_EMS_USBII, HID_QUIRK_MULTI_INPUT },
+	{ USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS, HID_QUIRK_NOGET },
 
 	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_UC100KM, HID_QUIRK_NOGET },
 	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS124U, HID_QUIRK_NOGET },
-- 
1.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [RFC][PATCH] HID: add NOGET quirk for Prodige Cordless Combo
       [not found] ` <1265129012-6023-1-git-send-email-virtuoso-0lOfPCoBze7YtjvyW6yDsg@public.gmane.org>
@ 2010-02-02 19:34   ` Jiri Kosina
  2010-02-02 19:49     ` Alexander Shishkin
  0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2010-02-02 19:34 UTC (permalink / raw)
  To: Alexander Shishkin
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-input-u79uwXL29TY76Z2rM5mHXA

On Tue, 2 Feb 2010, Alexander Shishkin wrote:

> I happen to own a keyboard identified as 05af:3062 which is labeled as
> "FlatX Coldless Combo" by "Prodige", which exhibits input problems without
> NOGET quirk. For some reason, lsusb reports this device as "Jing-Mold
> Enterprise Co., Ltd", which is not mentioned anywhere on the package.
> A quick search on the intenet shows that there a other people who have
> this in their lsusb output, but apparently they don't have the problem
> I am seeing (or they are not such furious typists as myself).

Out of curiosity, what behavior does the device in question exhibit 
without the quirk?

> Signed-off-by: Alexander Shishkin <virtuoso-0lOfPCoBze7YtjvyW6yDsg@public.gmane.org>
> CC: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> CC: linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> ---
>  drivers/hid/hid-ids.h           |    3 +++
>  drivers/hid/usbhid/hid-quirks.c |    1 +
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
> index 010368e..034f694 100644
> --- a/drivers/hid/hid-ids.h
> +++ b/drivers/hid/hid-ids.h
> @@ -382,6 +382,9 @@
>  #define USB_VENDOR_ID_POWERCOM		0x0d9f
>  #define USB_DEVICE_ID_POWERCOM_UPS	0x0002
>  
> +#define USB_VENDOR_ID_PRODIGE		0x05af
> +#define USB_DEVICE_ID_PRODIGE_CORDLESS	0x3062
> +
>  #define USB_VENDOR_ID_SAITEK		0x06a3
>  #define USB_DEVICE_ID_SAITEK_RUMBLEPAD	0xff17
>  
> diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
> index 38773dc..fc074c1 100644
> --- a/drivers/hid/usbhid/hid-quirks.c
> +++ b/drivers/hid/usbhid/hid-quirks.c
> @@ -45,6 +45,7 @@ static const struct hid_blacklist {
>  
>  	{ USB_VENDOR_ID_PANTHERLORD, USB_DEVICE_ID_PANTHERLORD_TWIN_USB_JOYSTICK, HID_QUIRK_MULTI_INPUT | HID_QUIRK_SKIP_OUTPUT_REPORTS },
>  	{ USB_VENDOR_ID_PLAYDOTCOM, USB_DEVICE_ID_PLAYDOTCOM_EMS_USBII, HID_QUIRK_MULTI_INPUT },
> +	{ USB_VENDOR_ID_PRODIGE, USB_DEVICE_ID_PRODIGE_CORDLESS, HID_QUIRK_NOGET },
>  
>  	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_UC100KM, HID_QUIRK_NOGET },
>  	{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_CS124U, HID_QUIRK_NOGET },
> -- 
> 1.6.5
> 

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [RFC][PATCH] HID: add NOGET quirk for Prodige Cordless Combo
  2010-02-02 19:34   ` Jiri Kosina
@ 2010-02-02 19:49     ` Alexander Shishkin
  2010-02-02 20:25       ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shishkin @ 2010-02-02 19:49 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-usb, linux-input

On Tue, Feb 02, 2010 at 08:34:04 +0100, Jiri Kosina wrote:
> On Tue, 2 Feb 2010, Alexander Shishkin wrote:
> 
> > I happen to own a keyboard identified as 05af:3062 which is labeled as
> > "FlatX Coldless Combo" by "Prodige", which exhibits input problems without
> > NOGET quirk. For some reason, lsusb reports this device as "Jing-Mold
> > Enterprise Co., Ltd", which is not mentioned anywhere on the package.
> > A quick search on the intenet shows that there a other people who have
> > this in their lsusb output, but apparently they don't have the problem
> > I am seeing (or they are not such furious typists as myself).
> 
> Out of curiosity, what behavior does the device in question exhibit 
> without the quirk?

The "0" key does not send anything, but instead, when I press "P" or "S"
and then without releasing press any other key, it sends that letter and
then a keypress for "0", which stays on up until I press something else.
Also, when I plug the receiver in, it immediately sends the same keypress
for "0" until the first actual keystroke. Or at least that's how I see it
in console or X (checked with xev).

Regards,
--
Alex

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

* Re: [RFC][PATCH] HID: add NOGET quirk for Prodige Cordless Combo
  2010-02-02 19:49     ` Alexander Shishkin
@ 2010-02-02 20:25       ` Jiri Kosina
  0 siblings, 0 replies; 4+ messages in thread
From: Jiri Kosina @ 2010-02-02 20:25 UTC (permalink / raw)
  To: Alexander Shishkin; +Cc: linux-usb, linux-input

On Tue, 2 Feb 2010, Alexander Shishkin wrote:

> The "0" key does not send anything, but instead, when I press "P" or "S" 
> and then without releasing press any other key, it sends that letter and 
> then a keypress for "0", which stays on up until I press something else. 
> Also, when I plug the receiver in, it immediately sends the same 
> keypress for "0" until the first actual keystroke. Or at least that's 
> how I see it in console or X (checked with xev).

Thanks. Apparently, your device doesn't describe itself as keyboard, 
otherwise the NOGET quirk would be applied automatically.

I have applied your patch now, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.

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

end of thread, other threads:[~2010-02-02 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-02 16:43 [RFC][PATCH] HID: add NOGET quirk for Prodige Cordless Combo Alexander Shishkin
     [not found] ` <1265129012-6023-1-git-send-email-virtuoso-0lOfPCoBze7YtjvyW6yDsg@public.gmane.org>
2010-02-02 19:34   ` Jiri Kosina
2010-02-02 19:49     ` Alexander Shishkin
2010-02-02 20:25       ` 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).