Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79422741 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

HID: add support for Kye/Genius Ergo 525V



This device sends several buttons in a separate field, which is
wrongly described in the report descriptor. Fix it in the following
way:

- change led usage page to button
- report size 8 count 1 becomes report size 1 count 8
- the button usage range changed to 4-7 (the mouse has three buttons in
  a different field already).

Reported-by: default avatarTomas Hanak <tomas.hanak@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent fef3f571
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -143,6 +143,13 @@ config HID_EZKEY
	---help---
	Support for Ezkey BTC 8193 keyboard.

config HID_KYE
	tristate "Kye" if EMBEDDED
	depends on USB_HID
	default !EMBEDDED
	---help---
	Support for Kye/Genius Ergo Mouse.

config HID_GYRATION
	tristate "Gyration" if EMBEDDED
	depends on USB_HID
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@ obj-$(CONFIG_DRAGONRISE_FF) += hid-drff.o
obj-$(CONFIG_HID_EZKEY)		+= hid-ezkey.o
obj-$(CONFIG_HID_GYRATION)	+= hid-gyration.o
obj-$(CONFIG_HID_KENSINGTON)	+= hid-kensington.o
obj-$(CONFIG_HID_KYE)		+= hid-kye.o
obj-$(CONFIG_HID_LOGITECH)	+= hid-logitech.o
obj-$(CONFIG_HID_MICROSOFT)	+= hid-microsoft.o
obj-$(CONFIG_HID_MONTEREY)	+= hid-monterey.o
+1 −0
Original line number Diff line number Diff line
@@ -1274,6 +1274,7 @@ static const struct hid_device_id hid_blacklist[] = {
	{ 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_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) },
	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_MX3000_RECEIVER) },
	{ HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_S510_RECEIVER) },
+3 −0
Original line number Diff line number Diff line
@@ -34,6 +34,9 @@ static int __init hid_dummy_init(void)
#ifdef CONFIG_HID_EZKEY_MODULE
	HID_COMPAT_CALL_DRIVER(ezkey);
#endif
#ifdef CONFIG_HID_KYE_MODULE
	HID_COMPAT_CALL_DRIVER(kye);
#endif
#ifdef CONFIG_HID_GYRATION_MODULE
	HID_COMPAT_CALL_DRIVER(gyration);
#endif
+2 −0
Original line number Diff line number Diff line
@@ -426,6 +426,8 @@
#define USB_VENDOR_ID_ZEROPLUS		0x0c12

#define USB_VENDOR_ID_KYE		0x0458
#define USB_DEVICE_ID_KYE_ERGO_525V	0x0087
#define USB_DEVICE_ID_KYE_GPEN_560	0x5003


#endif
Loading