xref: /linux/Documentation/ABI/testing/sysfs-driver-hid-roccat-kone (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
14ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_dpi
214bf62cdSStefan AchatzDate:		March 2010
314bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
414bf62cdSStefan AchatzDescription:	It is possible to switch the dpi setting of the mouse with the
514bf62cdSStefan Achatz		press of a button.
6*54a19b4dSMauro Carvalho Chehab
714bf62cdSStefan Achatz		When read, this file returns the raw number of the actual dpi
814bf62cdSStefan Achatz		setting reported by the mouse. This number has to be further
911070490SMauro Carvalho Chehab		processed to receive the real dpi value:
1014bf62cdSStefan Achatz
11*54a19b4dSMauro Carvalho Chehab		===== =====
1214bf62cdSStefan Achatz		VALUE DPI
13*54a19b4dSMauro Carvalho Chehab		===== =====
1414bf62cdSStefan Achatz		1     800
1514bf62cdSStefan Achatz		2     1200
1614bf62cdSStefan Achatz		3     1600
1714bf62cdSStefan Achatz		4     2000
1814bf62cdSStefan Achatz		5     2400
1914bf62cdSStefan Achatz		6     3200
20*54a19b4dSMauro Carvalho Chehab		===== =====
2114bf62cdSStefan Achatz
2214bf62cdSStefan Achatz		This file is readonly.
23759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
2414bf62cdSStefan Achatz
254ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/actual_profile
2614bf62cdSStefan AchatzDate:		March 2010
2714bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
2814bf62cdSStefan AchatzDescription:	When read, this file returns the number of the actual profile.
29*54a19b4dSMauro Carvalho Chehab
3014bf62cdSStefan Achatz		This file is readonly.
31759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
3214bf62cdSStefan Achatz
334ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/firmware_version
3414bf62cdSStefan AchatzDate:		March 2010
3514bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
3614bf62cdSStefan AchatzDescription:	When read, this file returns the raw integer version number of the
3714bf62cdSStefan Achatz		firmware reported by the mouse. Using the integer value eases
3814bf62cdSStefan Achatz		further usage in other programs. To receive the real version
3914bf62cdSStefan Achatz		number the decimal point has to be shifted 2 positions to the
4014bf62cdSStefan Achatz		left. E.g. a returned value of 138 means 1.38
41*54a19b4dSMauro Carvalho Chehab
4214bf62cdSStefan Achatz		This file is readonly.
43759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
4414bf62cdSStefan Achatz
454ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/profile[1-5]
4614bf62cdSStefan AchatzDate:		March 2010
4714bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
4814bf62cdSStefan AchatzDescription:	The mouse can store 5 profiles which can be switched by the
49f65e51d7SSylvestre Ledru                press of a button. A profile holds information like button
5014bf62cdSStefan Achatz                mappings, sensitivity, the colors of the 5 leds and light
5114bf62cdSStefan Achatz                effects.
52*54a19b4dSMauro Carvalho Chehab
5314bf62cdSStefan Achatz                When read, these files return the respective profile. The
5414bf62cdSStefan Achatz                returned data is 975 bytes in size.
55*54a19b4dSMauro Carvalho Chehab
5614bf62cdSStefan Achatz		When written, this file lets one write the respective profile
5714bf62cdSStefan Achatz		data back to the mouse. The data has to be 975 bytes long.
58*54a19b4dSMauro Carvalho Chehab
5914bf62cdSStefan Achatz		The mouse will reject invalid data, whereas the profile number
6014bf62cdSStefan Achatz		stored in the profile doesn't need to fit the number of the
6114bf62cdSStefan Achatz		store.
62759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
6314bf62cdSStefan Achatz
644ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/settings
6514bf62cdSStefan AchatzDate:		March 2010
6614bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
6714bf62cdSStefan AchatzDescription:	When read, this file returns the settings stored in the mouse.
6814bf62cdSStefan Achatz		The size of the data is 36 bytes and holds information like the
6914bf62cdSStefan Achatz		startup_profile, tcu state and calibration_data.
70*54a19b4dSMauro Carvalho Chehab
7114bf62cdSStefan Achatz		When written, this file lets write settings back to the mouse.
7214bf62cdSStefan Achatz		The data has to be 36 bytes long. The mouse will reject invalid
7314bf62cdSStefan Achatz		data.
74759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
7514bf62cdSStefan Achatz
764ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/startup_profile
7714bf62cdSStefan AchatzDate:		March 2010
7814bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
7914bf62cdSStefan AchatzDescription:	The integer value of this attribute ranges from 1 to 5.
80*54a19b4dSMauro Carvalho Chehab
8114bf62cdSStefan Achatz                When read, this attribute returns the number of the profile
8214bf62cdSStefan Achatz                that's active when the mouse is powered on.
83*54a19b4dSMauro Carvalho Chehab
8414bf62cdSStefan Achatz		When written, this file sets the number of the startup profile
8514bf62cdSStefan Achatz		and the mouse activates this profile immediately.
86759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
8714bf62cdSStefan Achatz
884ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/tcu
8914bf62cdSStefan AchatzDate:		March 2010
9014bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
9114bf62cdSStefan AchatzDescription:	The mouse has a "Tracking Control Unit" which lets the user
9214bf62cdSStefan Achatz		calibrate the laser power to fit the mousepad surface.
9314bf62cdSStefan Achatz		When read, this file returns the current state of the TCU,
9414bf62cdSStefan Achatz		where 0 means off and 1 means on.
95*54a19b4dSMauro Carvalho Chehab
9614bf62cdSStefan Achatz		Writing 0 in this file will switch the TCU off.
97*54a19b4dSMauro Carvalho Chehab
9814bf62cdSStefan Achatz		Writing 1 in this file will start the calibration which takes
9914bf62cdSStefan Achatz		around 6 seconds to complete and activates the TCU.
100*54a19b4dSMauro Carvalho Chehab
101759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
10214bf62cdSStefan Achatz
1034ead3640SStefan AchatzWhat:		/sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/weight
10414bf62cdSStefan AchatzDate:		March 2010
10514bf62cdSStefan AchatzContact:	Stefan Achatz <erazor_de@users.sourceforge.net>
10614bf62cdSStefan AchatzDescription:	The mouse can be equipped with one of four supplied weights
10714bf62cdSStefan Achatz		ranging from 5 to 20 grams which are recognized by the mouse
10814bf62cdSStefan Achatz		and its value can be read out. When read, this file returns the
10914bf62cdSStefan Achatz		raw value returned by the mouse which eases further processing
11014bf62cdSStefan Achatz		in other software.
111*54a19b4dSMauro Carvalho Chehab
11214bf62cdSStefan Achatz		The values map to the weights as follows:
11314bf62cdSStefan Achatz
114*54a19b4dSMauro Carvalho Chehab		===== ======
11514bf62cdSStefan Achatz		VALUE WEIGHT
116*54a19b4dSMauro Carvalho Chehab		===== ======
11714bf62cdSStefan Achatz		0     none
11814bf62cdSStefan Achatz		1     5g
11914bf62cdSStefan Achatz		2     10g
12014bf62cdSStefan Achatz		3     15g
12114bf62cdSStefan Achatz		4     20g
122*54a19b4dSMauro Carvalho Chehab		===== ======
12314bf62cdSStefan Achatz
12414bf62cdSStefan Achatz		This file is readonly.
125759ae89aSStefan AchatzUsers:		http://roccat.sourceforge.net
126