Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363577

[PATCH 0/2] hid: corsair: Driver simplification and new supported device

From =?UTF-8?q?Cl=C3=A9ment=20Vuchener?= <clement.vuchener@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] hid: corsair: Driver simplification and new supported device
Date 2016-03-23 18:40 +0100
Message-ID <rfUVb-6Rl-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I tried to add support for the K40 some time ago, but the vendor specific USB protocol became over-complicated because of a lot of small differences between the K90 and the K40. Also, since I wrote the first version of this driver, I learned that USB control transfers could be done from user-space without the need to detach the kernel driver (please tell me if I am wrong).

So, I decided to move all USB related features in user-space (as far as I know, I was the only user, but if someone is looking for a replacement, I wrote a small tool available here: https://github.com/cvuchener/corsair-usb-config). This simplification only leaves the usage code remapping part and the driver no longer depends on USB and LED subsystems. This should make the driver easier to maintain or to add new supported devices.

After the removal of USB related functions in first patch, the addition of K40 support in the second patch is simply a matter of adding the device in the id list.

Clément Vuchener (2):
  HID: corsair: Remove all features using the USB protocol
  HID: corsair: Add K40 support

 Documentation/ABI/testing/sysfs-driver-hid-corsair |  15 -
 drivers/hid/Kconfig                                |   2 +-
 drivers/hid/hid-core.c                             |   1 +
 drivers/hid/hid-corsair.c                          | 498 +--------------------
 drivers/hid/hid-ids.h                              |   1 +
 5 files changed, 5 insertions(+), 512 deletions(-)
 delete mode 100644 Documentation/ABI/testing/sysfs-driver-hid-corsair

-- 
2.5.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] hid: corsair: Driver simplification and new supported  device =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=   <clement.vuchener@gmail.com> - 2016-03-23 18:40 +0100
  [PATCH 1/2] HID: corsair: Remove all features using the USB protocol =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=   <clement.vuchener@gmail.com> - 2016-03-23 18:40 +0100
  Re: [PATCH 0/2] hid: corsair: Driver simplification and new supported  device Jiri Kosina <jikos@kernel.org> - 2016-03-24 15:40 +0100
    Re: [PATCH 0/2] hid: corsair: Driver simplification and new supported device Clément VUCHENER <clement.vuchener@gmail.com> - 2016-03-24 16:20 +0100
      Re: [PATCH 0/2] hid: corsair: Driver simplification and new supported  device Jiri Kosina <jikos@kernel.org> - 2016-03-29 16:00 +0200
  Re: [PATCH 0/2] hid: corsair: Driver simplification and new  supported device Benjamin Tissoires <benjamin.tissoires@redhat.com> - 2016-03-24 15:40 +0100
    Re: [PATCH 0/2] hid: corsair: Driver simplification and new supported  device Jiri Kosina <jikos@kernel.org> - 2016-03-24 15:50 +0100

csiph-web