diff options
author | Stefan Achatz <stefan_achatz@web.de> | 2012-11-11 00:20:58 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-12 09:30:27 -0500 |
commit | be34380ef818c182860c06f048cbea821203f9b7 (patch) | |
tree | cf9283ac8ebe6594103e7cf91dc80accdd0d45f1 /Documentation/ABI | |
parent | 94a8fcf9a1a816199efc29546040172aa1383be0 (diff) |
HID: roccat: cleanup of pyra module
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 <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/obsolete/sysfs-driver-hid-roccat-pyra | 48 | ||||
-rw-r--r-- | Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra | 45 |
2 files changed, 48 insertions, 45 deletions
diff --git a/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-pyra b/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-pyra new file mode 100644 index 000000000000..0a661b39e701 --- /dev/null +++ b/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-pyra | |||
@@ -0,0 +1,48 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_cpi | ||
2 | Date: August 2010 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: It is possible to switch the cpi setting of the mouse with the | ||
5 | press of a button. | ||
6 | When read, this file returns the raw number of the actual cpi | ||
7 | setting reported by the mouse. This number has to be further | ||
8 | processed to receive the real dpi value. | ||
9 | |||
10 | VALUE DPI | ||
11 | 1 400 | ||
12 | 2 800 | ||
13 | 4 1600 | ||
14 | |||
15 | This file is readonly. | ||
16 | Has never been used. If bookkeeping is done, it's done in userland tools. | ||
17 | Users: http://roccat.sourceforge.net | ||
18 | |||
19 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_profile | ||
20 | Date: August 2010 | ||
21 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
22 | Description: When read, this file returns the number of the actual profile in | ||
23 | range 0-4. | ||
24 | This file is readonly. | ||
25 | Please use binary attribute "settings" which provides this information. | ||
26 | Users: http://roccat.sourceforge.net | ||
27 | |||
28 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/firmware_version | ||
29 | Date: August 2010 | ||
30 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
31 | Description: When read, this file returns the raw integer version number of the | ||
32 | firmware reported by the mouse. Using the integer value eases | ||
33 | further usage in other programs. To receive the real version | ||
34 | number the decimal point has to be shifted 2 positions to the | ||
35 | left. E.g. a returned value of 138 means 1.38 | ||
36 | This file is readonly. | ||
37 | Please use binary attribute "info" which provides this information. | ||
38 | Users: http://roccat.sourceforge.net | ||
39 | |||
40 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/startup_profile | ||
41 | Date: August 2010 | ||
42 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
43 | Description: The integer value of this attribute ranges from 0-4. | ||
44 | When read, this attribute returns the number of the profile | ||
45 | that's active when the mouse is powered on. | ||
46 | This file is readonly. | ||
47 | Please use binary attribute "settings" which provides this information. | ||
48 | Users: http://roccat.sourceforge.net \ No newline at end of file | ||
diff --git a/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra b/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra index 3f8de50e4ff1..b0fab8bcf247 100644 --- a/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra +++ b/Documentation/ABI/testing/sysfs-driver-hid-roccat-pyra | |||
@@ -1,39 +1,3 @@ | |||
1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_cpi | ||
2 | Date: August 2010 | ||
3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
4 | Description: It is possible to switch the cpi setting of the mouse with the | ||
5 | press of a button. | ||
6 | When read, this file returns the raw number of the actual cpi | ||
7 | setting reported by the mouse. This number has to be further | ||
8 | processed to receive the real dpi value. | ||
9 | |||
10 | VALUE DPI | ||
11 | 1 400 | ||
12 | 2 800 | ||
13 | 4 1600 | ||
14 | |||
15 | This file is readonly. | ||
16 | Users: http://roccat.sourceforge.net | ||
17 | |||
18 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/actual_profile | ||
19 | Date: August 2010 | ||
20 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
21 | Description: When read, this file returns the number of the actual profile in | ||
22 | range 0-4. | ||
23 | This file is readonly. | ||
24 | Users: http://roccat.sourceforge.net | ||
25 | |||
26 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/firmware_version | ||
27 | Date: August 2010 | ||
28 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
29 | Description: When read, this file returns the raw integer version number of the | ||
30 | firmware reported by the mouse. Using the integer value eases | ||
31 | further usage in other programs. To receive the real version | ||
32 | number the decimal point has to be shifted 2 positions to the | ||
33 | left. E.g. a returned value of 138 means 1.38 | ||
34 | This file is readonly. | ||
35 | Users: http://roccat.sourceforge.net | ||
36 | |||
37 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile_settings | 1 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/profile_settings |
38 | Date: August 2010 | 2 | Date: August 2010 |
39 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 3 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |
@@ -86,15 +50,6 @@ Description: The mouse can store 5 profiles which can be switched by the | |||
86 | This file is readonly. | 50 | This file is readonly. |
87 | Users: http://roccat.sourceforge.net | 51 | Users: http://roccat.sourceforge.net |
88 | 52 | ||
89 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/startup_profile | ||
90 | Date: August 2010 | ||
91 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | ||
92 | Description: The integer value of this attribute ranges from 0-4. | ||
93 | When read, this attribute returns the number of the profile | ||
94 | that's active when the mouse is powered on. | ||
95 | This file is readonly. | ||
96 | Users: http://roccat.sourceforge.net | ||
97 | |||
98 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/settings | 53 | What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/pyra/roccatpyra<minor>/settings |
99 | Date: August 2010 | 54 | Date: August 2010 |
100 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> | 55 | Contact: Stefan Achatz <erazor_de@users.sourceforge.net> |