sysfs-driver-hid-roccat-kone 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/actual_dpi
  2. Date: March 2010
  3. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  4. Description: It is possible to switch the dpi setting of the mouse with the
  5. press of a button.
  6. When read, this file returns the raw number of the actual dpi
  7. setting reported by the mouse. This number has to be further
  8. processed to receive the real dpi value.
  9. VALUE DPI
  10. 1 800
  11. 2 1200
  12. 3 1600
  13. 4 2000
  14. 5 2400
  15. 6 3200
  16. This file is readonly.
  17. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/actual_profile
  18. Date: March 2010
  19. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  20. Description: When read, this file returns the number of the actual profile.
  21. This file is readonly.
  22. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/firmware_version
  23. Date: March 2010
  24. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  25. Description: When read, this file returns the raw integer version number of the
  26. firmware reported by the mouse. Using the integer value eases
  27. further usage in other programs. To receive the real version
  28. number the decimal point has to be shifted 2 positions to the
  29. left. E.g. a returned value of 138 means 1.38
  30. This file is readonly.
  31. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/kone_driver_version
  32. Date: March 2010
  33. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  34. Description: When read, this file returns the driver version.
  35. The format of the string is "v<major>.<minor>.<patchlevel>".
  36. This attribute is used by the userland tools to find the sysfs-
  37. paths of installed kone-mice and determine the capabilites of
  38. the driver. Versions of this driver for old kernels replace
  39. usbhid instead of generic-usb. The way to scan for this file
  40. has been chosen to provide a consistent way for all supported
  41. kernel versions.
  42. This file is readonly.
  43. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/profile[1-5]
  44. Date: March 2010
  45. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  46. Description: The mouse can store 5 profiles which can be switched by the
  47. press of a button. A profile holds informations like button
  48. mappings, sensitivity, the colors of the 5 leds and light
  49. effects.
  50. When read, these files return the respective profile. The
  51. returned data is 975 bytes in size.
  52. When written, this file lets one write the respective profile
  53. data back to the mouse. The data has to be 975 bytes long.
  54. The mouse will reject invalid data, whereas the profile number
  55. stored in the profile doesn't need to fit the number of the
  56. store.
  57. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/settings
  58. Date: March 2010
  59. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  60. Description: When read, this file returns the settings stored in the mouse.
  61. The size of the data is 36 bytes and holds information like the
  62. startup_profile, tcu state and calibration_data.
  63. When written, this file lets write settings back to the mouse.
  64. The data has to be 36 bytes long. The mouse will reject invalid
  65. data.
  66. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/startup_profile
  67. Date: March 2010
  68. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  69. Description: The integer value of this attribute ranges from 1 to 5.
  70. When read, this attribute returns the number of the profile
  71. that's active when the mouse is powered on.
  72. When written, this file sets the number of the startup profile
  73. and the mouse activates this profile immediately.
  74. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/tcu
  75. Date: March 2010
  76. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  77. Description: The mouse has a "Tracking Control Unit" which lets the user
  78. calibrate the laser power to fit the mousepad surface.
  79. When read, this file returns the current state of the TCU,
  80. where 0 means off and 1 means on.
  81. Writing 0 in this file will switch the TCU off.
  82. Writing 1 in this file will start the calibration which takes
  83. around 6 seconds to complete and activates the TCU.
  84. What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/weight
  85. Date: March 2010
  86. Contact: Stefan Achatz <erazor_de@users.sourceforge.net>
  87. Description: The mouse can be equipped with one of four supplied weights
  88. ranging from 5 to 20 grams which are recognized by the mouse
  89. and its value can be read out. When read, this file returns the
  90. raw value returned by the mouse which eases further processing
  91. in other software.
  92. The values map to the weights as follows:
  93. VALUE WEIGHT
  94. 0 none
  95. 1 5g
  96. 2 10g
  97. 3 15g
  98. 4 20g
  99. This file is readonly.