[PATCH 0/5] HID: roccat: Support for new devices and further code removals

2013-03-10 Thread Stefan Achatz
This patchset adds support for two new devices. While more functionality gets moved to userland the code for older modules gets again stripped down further to minimum functionality. The userland-tools supporting these changes are up for download nearly a month now. -- To unsubscribe from this li

[PATCH 5/5] HID: roccat: Fixed comments on chardevice

2013-03-10 Thread Stefan Achatz
Fixed parameter documentations Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-roccat.c b/drivers/hid/hid-roccat.c index d7437ef..b59b3df 100644 --- a/drivers/hid/hid-roccat.c +++ b/drivers/hid

[PATCH 1/5] HID: roccat: Added support for Roccat Kone Pure gaming mouse

2013-03-10 Thread Stefan Achatz
Userland-tools can already be found at http://sourceforge.net/projects/roccat Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-konepure | 105 +++ drivers/hid/Makefile |4 +- drivers/hid/hid-core.c

[PATCH 2/5] HID: roccat: Removed actual profile from chardev reports

2013-03-10 Thread Stefan Achatz
Userland-tools now keep track of actual profile themselves. Spared out Pyra, which is a harder case. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-arvo.c | 25 +++--- drivers/hid/hid-roccat-arvo.h |4 +-- drivers/hid/hid-roccat-isku.c | 48

[PATCH 3/5] HID: roccat: Removed profile change reports for outside changes

2013-03-10 Thread Stefan Achatz
Userland-tools don't need to be notified about changes they issued themselves anymore. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-isku.c |6 -- drivers/hid/hid-roccat-kone.c | 16 +--- drivers/hid/hid-roccat-koneplus.c |7 --- drivers/hi

[PATCH 4/5] HID: roccat: Added support for IskuFX

2013-03-10 Thread Stefan Achatz
Extending isku module with one additional and one changed sysfs attr. IskuFX has larger light sysfs attr. Made the code size tolerant so both devices can be handled. Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-isku | 12 +++- drivers/hid/hid-ids.h

[PATCH] HID: Roccat: Added media key support for Kone

2013-04-06 Thread Stefan Achatz
Kone now reports media key events through it's chardev to userspace. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-kone.c |3 ++- drivers/hid/hid-roccat-kone.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-roccat-kone.c b/drivers/hi

Re: [PATCH 35/36] hid: roccat: convert class code to use bin_attrs in groups

2013-08-15 Thread Stefan Achatz
Hello Greg, looking through the patch I found the following: In hid-roccat-kone.c, PROFILE_ATTR macro: The line .private = &profile_numbers[number], should read .private = &profile_numbers[number-1], Regarding the compiler warning about unused pyra_sysfs_write_settings: The attribute is ind

[PATCH] HID: roccat: Added support for KonePureOptical

2013-08-29 Thread Stefan Achatz
KonePureOptical is a KonePure with different sensor. Signed-off-by: Stefan Achatz --- drivers/hid/hid-ids.h |1 + drivers/hid/hid-roccat-konepure.c |3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index

[PATCH] HID: roccat: Added support for KonePureOptical v2

2013-08-30 Thread Stefan Achatz
KonePureOptical is a KonePure with different sensor. Signed-off-by: Stefan Achatz --- drivers/hid/hid-core.c|1 + drivers/hid/hid-ids.h |1 + drivers/hid/hid-roccat-konepure.c |3 ++- 3 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/hid

[PATCH] HID: roccat: Fix "cannot create duplicate filename" problems

2013-09-27 Thread Stefan Achatz
Fixing some wrong macro stringification/concatenation. Cc: Greg Kroah-Hartman Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-kone.c |2 +- drivers/hid/hid-roccat-koneplus.c |4 ++-- drivers/hid/hid-roccat-kovaplus.c |4 ++-- drivers/hid/hid-roccat-pyra.c |4

[PATCH 1/3] HID: roccat: Added new device return value

2013-10-28 Thread Stefan Achatz
Ryos uses a new return value for critical errors, others have been confirmed. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-common.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-roccat-common.c b/drivers/hid/hid-roccat-common.c

[PATCH 3/3] HID: roccat: Added support for Ryos MK keyboards

2013-10-28 Thread Stefan Achatz
Added support for 3 keyboards with increasing illumination capabilities Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-ryos | 178 +++ drivers/hid/Makefile |2 +- drivers/hid/hid-core.c

[PATCH 2/3] HID: roccat: Generalized some common code

2013-10-28 Thread Stefan Achatz
Reduced some duplicate code by moving it to hid-roccat-common. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-common.c | 53 drivers/hid/hid-roccat-common.h | 62 ++ drivers/hid/hid-roccat-konepure.c | 158 + drivers

[PATCH] HID: roccat: Fixed Coverity CID 141438

2013-11-02 Thread Stefan Achatz
Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-kovaplus.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/hid/hid-roccat-kovaplus.c b/drivers/hid/hid-roccat-kovaplus.c index 0c8e1ef..9660477 100644 --- a/drivers/hid/hid-roccat-kovaplus.c +++ b

[PATCH] HID: roccat: Adding missing special driver declarations

2013-11-08 Thread Stefan Achatz
Forgot two special driver declarations and sorted the list. Signed-off-by: Stefan Achatz --- drivers/hid/hid-core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 0079422..ec6ba50 100644 --- a/drivers/hid/hid

HID: RFC: Would HID_QUIRK_HAS_SPECIAL_DRIVER make sense?

2013-11-10 Thread Stefan Achatz
already exists? Also, I would be glad to hear any hints on the rebind issue. Thanks and have a nice day Stefan Achatz -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH/RFC] HID: roccat: removing devices from blacklist

2012-09-16 Thread Stefan Achatz
from generic-usb to hid-generic anyway, so I would add a rule to also handle the kernel contained modules. Signed-off-by: Stefan Achatz --- drivers/hid/hid-core.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index

[PATCH v2] HID: roccat: conditional blacklisting of Roccat modules

2012-09-17 Thread Stefan Achatz
Roccat devices are standard compatible, specific drivers are only needed for extended functionality. If Roccat drivers are not configured, hid-generic binds these devices now. Signed-off-by: Stefan Achatz --- drivers/hid/hid-core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions

[PATCH] HID: roccat: Added support for Roccat Lua

2012-10-16 Thread Stefan Achatz
This patch adds support for Roccat Lua gaming mouse. Userland tools can soon be found at http://sourceforge.net/projects/roccat Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-lua|7 + drivers/hid/Makefile |4 +- drivers

[PATCH] HID: roccat: Made tcu sysfs attr rw to allow readout of koneplus sensor register data

2012-10-17 Thread Stefan Achatz
tcu sysfs attr was used to only control calibration process so far. Reverse engineering the firmware revealed direct sensor register access. Allowing readout of tcu permits usage of this feature. Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-koneplus |6

[PATCH 0/4] HID: roccat: New functionalities and cleanup

2012-11-04 Thread Stefan Achatz
koneplus driver now supports updated model KoneXTD. Added support for device reset for koneplus and savu drivers. Removed a lot of unnecessary code for koneplus driver, bringing it nearer to the looks of my newer roccat drivers. -- To unsubscribe from this list: send the line "unsubscribe linux-i

[PATCH 2/4] HID: roccat: Enabling Savu device reset

2012-11-04 Thread Stefan Achatz
Device can be reset to factory state by sending a command via info sysfs attr. Changed from ro to rw to enable this feature. Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-savu |3 +-- drivers/hid/hid-roccat-savu.c |4 ++-- 2 files

[PATCH 1/4] HID: roccat: Added support for KoneXTD

2012-11-04 Thread Stefan Achatz
KoneXTD is just a Kone[+] with updated sensor, so it's handled by koneplus driver. Signed-off-by: Stefan Achatz --- drivers/hid/hid-ids.h |1 + drivers/hid/hid-roccat-koneplus.c |4 +++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-id

[PATCH 3/4] HID: roccat: Enabling Koneplus device reset

2012-11-04 Thread Stefan Achatz
Device can be reset to factory state by sending a command via info sysfs attr. Added binary attribute info for this purpose, which obsoletes firmware_version attribute. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-koneplus | 11 ++ .../ABI/testing/sysfs

[PATCH 4/4] HID: roccat: Cleanup of koneplus module

2012-11-04 Thread Stefan Achatz
Removed caching of profile data which lowers memory footprint, speeds up init and fixes problems with device reset. Removed unnecessary infos in header. Code moved nearer to format of newer drivers. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-koneplus.c | 371

[PATCH 0/7] HID: roccat: Finishing cleanup and reset support

2012-11-10 Thread Stefan Achatz
This patchset finishes current cleanups and unifications. Device reset is now implemented for all devices that support that feature. A couple sysfs attributes have been deprecated and got replaced to unify the ABI as good as it gets with design decisions made in the past. The next release of use

[PATCH 3/7] HID: roccat: Cleaned up isku driver

2012-11-10 Thread Stefan Achatz
Removed unneeded structures from header. Using enums instead of sizeof(struct) to unify drivers. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-isku.c | 42 +++--- drivers/hid/hid-roccat-isku.h | 76 + 2 files changed, 37

[PATCH 6/7] HID: roccat: Deprecated some Koneplus sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute "control" and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-koneplus | 27 ++ .../ABI/testing/sy

[PATCH 4/7] HID: roccat: Added bin sysfs attr "reset" for Isku

2012-11-10 Thread Stefan Achatz
Isku needs an extra sysfs attr to support device reset. Signed-off-by: Stefan Achatz --- .../ABI/testing/sysfs-driver-hid-roccat-isku |8 drivers/hid/hid-roccat-isku.c |2 ++ drivers/hid/hid-roccat-isku.h |2 ++ 3 files

[PATCH 7/7] HID: roccat: Deprecated some Kovaplus sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute "control" and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-kovaplus | 25 + .../ABI/testing/sy

[PATCH 2/7] HID: roccat: Cleanup of pyra module

2012-11-10 Thread Stefan Achatz
Partially removed unneeded informations and data caching. Moved code nearer to format of newer drivers. Added "info" sysfs attribute to support device reset and deprecate "firmware_version" attribute. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roc

[PATCH 5/7] HID: roccat: Deprecated some Pyra sysfs attributes

2012-11-10 Thread Stefan Achatz
Introduced attribute "control" and made profile_settings and profile_buttons readable, which makes profile[1-5]_settings and profile[1-5]_buttons obsolete. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-pyra | 27 ++- .../ABI/testing/sy

[PATCH 1/7] HID: roccat: Cleanup of kovaplus module

2012-11-10 Thread Stefan Achatz
Partially removed unneeded informations and data caching. Moved code nearer to format of newer drivers. Added "info" sysfs attribute to support device reset and deprecate other attributes. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-kovaplus | 41 +++

[PATCH] HID: roccat: Fixed wrong sysfs attr size for koneplus tcu.

2012-11-17 Thread Stefan Achatz
More thorough testing revealed a typo in last koneplus cleanups. Signed-off-by: Stefan Achatz --- drivers/hid/hid-roccat-koneplus.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-roccat-koneplus.h b/drivers/hid/hid-roccat-koneplus.h index d2b55f2

[PATCH] HID: roccat: Deprecating most Roccat sysfs attributes

2015-10-15 Thread Stefan Achatz
userspace tools don't use these attributes for a year now. The first Kone is not fully HID-compliant and will still need a module. Signed-off-by: Stefan Achatz --- .../ABI/obsolete/sysfs-driver-hid-roccat-arvo | 53 ++ .../ABI/obsolete/sysfs-driver-hid-roccat-isku

[PATCH] HID: roccat: Fixed resubmit: Deprecating most Roccat sysfs attributes

2015-10-17 Thread Stefan Achatz
userspace tools don't use these attributes for a year now. The first Kone is not fully HID-compliant and will still need a module. Fix: Resubmitting this patch, now done with 'git format-patch -M' like Greg KH suggested. Signed-off-by: Stefan Achatz --- .../sysfs-driver-