udevadm-test: show result in json format (#36284)
[systemd.io.git] / hwdb.d / 70-pointingstick.hwdb
blob6ff228bee6c49e8b5342baf292c0dcbff687feac
1 # This file is part of systemd.
3 # Pointingstick const-accel configuration, to make different brand / model
4 # laptop pointingsticks have the same speed / feel, and per model adjustment of
5 # the IBM TrackPoint and Dell DualPoint Stick driver's sensitivity setting.
7 # ########################### MATCHING #######################################
9 # The lookup keys are composed in:
10 #   60-evdev.rules
12 # Supported hardware matches are:
13 #  - Generic input devices match:
14 #      evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
15 #    This matches on the kernel modalias of the input-device, mainly:
16 #    ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
17 #    WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
18 #    is a variable-length input-modalias describing the device capabilities.
19 #    The vendor, product and version ID for a device node "eventX" is listed
20 #    in /sys/class/input/eventX/device/id.
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 #    see /sys/class/dmi/id/modalias.
28 #  - Extended input driver device name, properties and DMI data match:
29 #      evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
30 #    <input device name> is the name device specified by the
31 #    driver, <phys> is the physical-device-path, "cat
32 #    /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
33 #    /sys/class/input/input?/capabilities/ev" and <vendor> is the
34 #    firmware-provided string exported by the kernel DMI modalias,
35 #    see /sys/class/dmi/id/modalias.
37 # To add local entries, create a new file
38 #   /etc/udev/hwdb.d/71-pointingstick-local.hwdb
39 # and add your rules there. To load the new rules execute (as root):
40 #   systemd-hwdb update
41 #   udevadm trigger /dev/input/eventXX
42 # where /dev/input/eventXX is the pointingstick in question. If in doubt, simply
43 # use /dev/input/event* to reload all input rules.
45 # If your changes are generally applicable, preferably send them as a pull
46 # request to
47 #   https://github.com/systemd/systemd
48 # or create a bug report on https://github.com/systemd/systemd/issues and
49 # include your new rules, a description of the device, and the output of
50 #   udevadm info /dev/input/eventXX.
52 # Allowed properties are:
53 #   ID_INPUT_POINTINGSTICK
54 #   POINTINGSTICK_SENSITIVITY
56 # Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
58 #########################################
59 #      POINTINGSTICK_SENSITIVITY        #
60 #########################################
62 # TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
63 #    POINTINGSTICK_SENSITIVITY=<sensitivity>
65 # Where <sensitivity> is a number between 0 and 255, note this property
66 # only applies to TPPS/2 IBM TrackPoint devices, see
67 # drivers/input/mouse/trackpoint.c in the Linux kernel sources.
70 # Sort by brand, model
72 ##########################################
73 # Generic
74 ##########################################
75 evdev:name:*[tT]rack[pP]oint*:*
76 evdev:name:*[dD]ual[pP]oint [sS]tick*:*
77  ID_INPUT_POINTINGSTICK=1
79 #########################################
80 # Lenovo
81 #########################################
83 # Lenovo Thinkpad X220
84 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
85 # Lenovo Thinkpad X220 tablet
86 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220Tablet:*
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 *30 series
92 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30:*
93 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30?:*
94 # Lenovo Thinkpad *40 series
95 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40:*
96 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40?:*
97 # Lenovo Thinkpad *50 series
98 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50:*
99 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50?:*
100 # Lenovo Thinkpad *60 series
101 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60:*
102 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60?:*
103 # Lenovo Thinkpad *70 series
104 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70:*
105 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70?:*
106 # Lenovo Thinkpad *80 series
107 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80:*
108 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80?:*
109 # Lenovo Thinkpad *90 series
110 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90:*
111 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90?:*
112 # Lenovo Thinkpad X1 Carbon 3rd gen
113 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
114 # Lenovo Thinkpad X1 Carbon 4th gen
115 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
116 # Lenovo Thinkpad X1 Tablet
117 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
118  POINTINGSTICK_SENSITIVITY=200
120 # Lenovo Thinkpad X200/X201/X200s/X201s/X200 Tablet/X201 Tablet
121 # Note these come with 2 revisions of keyboard, with the trackpoints having a
122 # different sensitivity in the different revisions. 1.25 is a bit slow for the
123 # least sensitive revision, but it is better to be a bit slow than too fast.
124 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?:*
125 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20??:*
126 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?Tablet:*
127  POINTINGSTICK_SENSITIVITY=200
129 # Lenovo UltraNav SK-8845 (USB keyboard)
130 evdev:input:b0003v06CBp0009*
131  POINTINGSTICK_SENSITIVITY=200