hid: corsair: Driver simplification and new supported device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | HID: corsair: Remove all features using the USB protocolDocumentation/ drivers/ drivers/ | +2 | 0 replies | |
| 2/2 | HID: corsair: Add K40 supportdrivers/ drivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] hid: corsair: Driver simplification and new supported device
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
Signature · 6 lines
2.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html