]> git.ipfire.org Git - thirdparty/systemd.git/blob - hwdb/70-pointingstick.hwdb
sd-device: replace lstat() + open() with open(O_NOFOLLOW)
[thirdparty/systemd.git] / hwdb / 70-pointingstick.hwdb
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 # The vendor, product and version ID for a device node "eventX" is listed
22 # in /sys/class/input/eventX/device/id.
23 #
24 # - Input driver device name and DMI data match:
25 # evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
26 # <input device name> is the name device specified by the driver,
27 # <vendor> is the firmware-provided string from the kernel DMI modalias,
28 # see /sys/class/dmi/id/modalias
29 #
30 # To add local entries, create a new file
31 # /etc/udev/hwdb.d/71-pointingstick-local.hwdb
32 # and add your rules there. To load the new rules execute (as root):
33 # systemd-hwdb update
34 # udevadm trigger /dev/input/eventXX
35 # where /dev/input/eventXX is the pointingstick in question. If in
36 # doubt, simply use /dev/input/event* to reload all input rules.
37 #
38 # If your changes are generally applicable, preferably send them as a pull
39 # request to
40 # https://github.com/systemd/systemd
41 # or create a bug report on https://github.com/systemd/systemd/issues and
42 # include your new rules, a description of the device, and the output of
43 # udevadm info /dev/input/eventXX.
44 #
45 # Allowed properties are:
46 # POINTINGSTICK_CONST_ACCEL
47 # POINTINGSTICK_SENSITIVITY
48 #
49 # Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
50 #
51 #########################################
52 # POINTINGSTICK_CONST_ACCEL #
53 #########################################
54 #
55 # Trackpoint const accel settings are specified as
56 # POINTINGSTICK_CONST_ACCEL=<accel>
57 #
58 # Where <accel> is a floating point number, using a '.' seperator, specifying
59 # by how much to multiply deltas generated by the pointingstick to get
60 # normalized deltas.
61 #
62 #########################################
63 # POINTINGSTICK_SENSITIVITY #
64 #########################################
65 #
66 # TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
67 # POINTINGSTICK_SENSITIVITY=<sensitivity>
68 #
69 # Where <sensitivity> is a number between 0 and 255, note this property
70 # only applies to TPPS/2 IBM TrackPoint devices, see
71 # drivers/input/mouse/trackpoint.c in the Linux kernel sources.
72 #
73
74 #
75 # Sort by brand, model
76
77 #########################################
78 # Dell
79 #########################################
80
81 # Latitude D620
82 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
83 POINTINGSTICK_CONST_ACCEL=0.5
84
85 # Latitude E6320
86 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:pvr*
87 POINTINGSTICK_CONST_ACCEL=2.0
88
89 # Latitude E6400
90 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
91 POINTINGSTICK_CONST_ACCEL=1.5
92
93 # Latitude E7470
94 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE7470*:pvr*
95 POINTINGSTICK_CONST_ACCEL=0.6
96
97 #########################################
98 # Lenovo
99 #########################################
100
101 # Lenovo Thinkpad X220
102 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
103 # Lenovo Thinkpad X230
104 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
105 # Lenovo Thinkpad X230 tablet
106 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
107 # Lenovo Thinkpad *40 series
108 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40:*
109 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40?:*
110 # Lenovo Thinkpad *50 series
111 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50:*
112 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50?:*
113 # Lenovo Thinkpad *60 series
114 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60:*
115 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60?:*
116 # Lenovo Thinkpad X1 Carbon 3rd gen
117 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
118 # Lenovo Thinkpad X1 Carbon 4th gen
119 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
120 # Lenovo Thinkpad X1 Tablet
121 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
122 POINTINGSTICK_SENSITIVITY=200
123 POINTINGSTICK_CONST_ACCEL=1.0
124
125 # Lenovo Thinkpad X200s / X201s
126 # Note these come with 2 revisions of keyboard, with the trackpoints having a
127 # different sensitivity in the different revisions. 1.25 is a bit slow for the
128 # least sensitive revision, but it is better to be a bit slow than too fast.
129 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
130 POINTINGSTICK_SENSITIVITY=200
131 POINTINGSTICK_CONST_ACCEL=1.25