70-pointingstick.hwdb 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. # This file is part of systemd.
  2. #
  3. # Pointingstick const-accel configuration, to make different brand / model
  4. # laptop pointingsticks have the same speed / feel, and per model adjustment
  5. # of the IBM TrackPoint driver's sensitivity setting
  6. #
  7. # The lookup keys are composed in:
  8. # 60-evdev.rules
  9. #
  10. # Note: The format of the "evdev:" prefix match key is a contract between the
  11. # rules file and the hardware data, it might change in later revisions to
  12. # support more or better matches, it is not necessarily a stable ABI.
  13. #
  14. # Supported hardware matches are:
  15. # - Generic input devices match:
  16. # evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
  17. # This matches on the kernel modalias of the input-device, mainly:
  18. # ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
  19. # WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
  20. # is an arbitrary length input-modalias describing the device capabilities.
  21. #
  22. # - Input driver device name and DMI data match:
  23. # evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
  24. # <input device name> is the name device specified by the driver,
  25. # <vendor> is the firmware-provided string from the kernel DMI modalias.
  26. #
  27. # To add local entries, create a new file
  28. # /etc/udev/hwdb.d/71-pointingstick-local.hwdb
  29. # and add your rules there. To load the new rules execute (as root):
  30. # udevadm hwdb --update
  31. # udevadm trigger /dev/input/eventXX
  32. # where /dev/input/eventXX is the pointingstick in question. If in
  33. # doubt, simply use /dev/input/event* to reload all input rules.
  34. #
  35. # If your changes are generally applicable, preferably send them as a pull
  36. # request to
  37. # https://github.com/systemd/systemd
  38. # or create a bug report on https://github.com/systemd/systemd/issues and
  39. # include your new rules, a description of the device, and the output of
  40. # udevadm info /dev/input/eventXX.
  41. #
  42. # Allowed properties are:
  43. # POINTINGSTICK_CONST_ACCEL
  44. # POINTINGSTICK_SENSITIVITY
  45. #
  46. # Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
  47. #
  48. #########################################
  49. # POINTINGSTICK_CONST_ACCEL #
  50. #########################################
  51. #
  52. # Trackpoint const accel settings are specified as
  53. # POINTINGSTICK_CONST_ACCEL=<accel>
  54. #
  55. # Where <accel> is a floating point number, using a '.' seperator, specifying
  56. # by how much to multiply deltas generated by the pointingstick to get
  57. # normalized deltas.
  58. #
  59. #########################################
  60. # POINTINGSTICK_SENSITIVITY #
  61. #########################################
  62. #
  63. # TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
  64. # POINTINGSTICK_SENSITIVITY=<sensitivity>
  65. #
  66. # Where <sensitivity> is a number between 0 and 255, note this property
  67. # only applies to TPPS/2 IBM TrackPoint devices, see
  68. # drivers/input/mouse/trackpoint.c in the Linux kernel sources.
  69. #
  70. #
  71. # Sort by brand, model
  72. #########################################
  73. # Dell
  74. #########################################
  75. # Latitude D620
  76. evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
  77. POINTINGSTICK_CONST_ACCEL=0.5
  78. # Latitude E6320
  79. evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:pvr*
  80. POINTINGSTICK_CONST_ACCEL=2.0
  81. # Latitude E6400
  82. evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
  83. POINTINGSTICK_CONST_ACCEL=1.5
  84. #########################################
  85. # Lenovo
  86. #########################################
  87. # Lenovo Thinkpad X230
  88. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
  89. # Lenovo Thinkpad X230 tablet
  90. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
  91. # Lenovo Thinkpad X240
  92. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX240:*
  93. # Lenovo Thinkpad T440p
  94. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440p:*
  95. # Lenovo Thinkpad T440s
  96. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
  97. # Lenovo Thinkpad T540p
  98. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT540p:*
  99. # Lenovo Thinkpad L450
  100. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadL450:*
  101. # Lenovo Thinkpad T450s
  102. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT450s:*
  103. # Lenovo Thinkpad T550 / W550s
  104. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT550:*
  105. # Lenovo Thinkpad X250
  106. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX250:*
  107. # Lenovo Thinkpad L460
  108. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadL460:*
  109. # Lenovo Thinkpad T460s
  110. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT460s:*
  111. # Lenovo Thinkpad T560
  112. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT560:*
  113. # Lenovo Thinkpad X260
  114. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX260:*
  115. # Lenovo Thinkpad X1 Carbon 3rd gen
  116. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
  117. # Lenovo Thinkpad X1 Carbon 4th gen
  118. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
  119. POINTINGSTICK_SENSITIVITY=200
  120. POINTINGSTICK_CONST_ACCEL=1.0
  121. # Lenovo Thinkpad X200s / X201s
  122. # Note these come with 2 revisions of keyboard, with the trackpoints having a
  123. # different sensitivity in the different revisions. 1.25 is a bit slow for the
  124. # least sensitive revision, but it is better to be a bit slow than too fast.
  125. evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
  126. POINTINGSTICK_SENSITIVITY=200
  127. POINTINGSTICK_CONST_ACCEL=1.25