From: Enrico Horn <[EMAIL PROTECTED]>

This a patch against 2.6.18 to add a blacklist entry for the Cherry Cymotion 
Solar
keyboard. It seems to behave like the Cherry Cymotion Linux keyboard, so
the same quirk is used. This patch is based on the original patch by Cherry.

Signed-off-by: Enrico Horn <[EMAIL PROTECTED]>

---

--- linux/drivers/usb/input/hid-core.c.old      2006-10-02 17:47:18.000000000 
+0200
+++ linux/drivers/usb/input/hid-core.c  2006-10-02 17:48:27.000000000 +0200
@@ -1588,6 +1588,7 @@ void hid_init_reports(struct hid_device

  #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_YEALINK          0x6993
  #define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K      0xb001
@@ -1730,6 +1731,7 @@ static const struct hid_blacklist {
         { USB_VENDOR_ID_TOPMAX, USB_DEVICE_ID_TOPMAX_COBRAPAD, 
HID_QUIRK_BADPAD },

         { USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION, 
HID_QUIRK_CYMOTION },
+       { USB_VENDOR_ID_CHERRY, USB_DEVICE_ID_CHERRY_CYMOTION_SOLAR, 
HID_QUIRK_CYMOTION },

         { USB_VENDOR_ID_APPLE, 0x020E, HID_QUIRK_POWERBOOK_HAS_FN },
         { USB_VENDOR_ID_APPLE, 0x020F, HID_QUIRK_POWERBOOK_HAS_FN },

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to