HID: roccat: change kone_driver_version to kone_abi_version

Renamed the sysfs attribute kone_driver_version to kone_abi_version and
simplified returned data to integer.

Signed-off-by: Stefan Achatz <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
Stefan Achatz 2010-05-26 20:52:43 +02:00 • committed by Jiri Kosina
commit 33ccbc320f
3 changed files with 10 additions and 11 deletions

View file

@ -33,11 +33,10 @@ Description: When read, this file returns the raw integer version number of the
left. E.g. a returned value of 138 means 1.38
This file is readonly.
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/kone_driver_version
Date: March 2010
What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/kone_abi_version
Date: May 2010
Contact: Stefan Achatz <[email protected]>
Description: When read, this file returns the driver version.
The format of the string is "v<major>.<minor>.<patchlevel>".
Description: When read, this file returns the abi version as an integer value.
This attribute is used by the userland tools to find the sysfs-
paths of installed kone-mice and determine the capabilites of
the driver. Versions of this driver for old kernels replace