]> git.proxmox.com Git - systemd.git/blame - hwdb/70-pointingstick.hwdb
Imported Upstream version 226
[systemd.git] / hwdb / 70-pointingstick.hwdb
CommitLineData
e3bff60a
MP
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#
13d276d0
MP
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
e3bff60a
MP
40# udevadm info /dev/input/eventXX
41# (or /dev/input/event*).
42#
43# Allowed properties are:
44# POINTINGSTICK_CONST_ACCEL
45# POINTINGSTICK_SENSITIVITY
46#
47# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
48#
49#########################################
50# POINTINGSTICK_CONST_ACCEL #
51#########################################
52#
53# Trackpoint const accel settings are specified as
54# POINTINGSTICK_CONST_ACCEL=<accel>
55#
56# Where <accel> is a floating point number, using a '.' seperator, specifying
57# by how much to multiply deltas generated by the pointingstick to get
58# normalized deltas.
59#
60#########################################
61# POINTINGSTICK_SENSITIVITY #
62#########################################
63#
64# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
65# POINTINGSTICK_SENSITIVITY=<sensitivity>
66#
67# Where <sensitivity> is a number between 0 and 255, note this property
68# only applies to TPPS/2 IBM TrackPoint devices, see
69# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
70#
71
72#
73# Sort by by brand, model
74
75#########################################
76# Dell
77#########################################
78
79# Latitude D620
80evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
81 POINTINGSTICK_CONST_ACCEL=0.5
82
83# Latitude E6400
84evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
85 POINTINGSTICK_CONST_ACCEL=1.5
86
87#########################################
88# Lenovo
89#########################################
90
d9dfd233
MP
91# Lenovo Thinkpad X230
92evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
e3bff60a
MP
93# Lenovo Thinkpad X230 tablet
94evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
95# Lenovo Thinkpad X240
96evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX240:*
97# Lenovo Thinkpad T440s
98evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
99# Lenovo Thinkpad T540p
100evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT540p:*
d9dfd233
MP
101# Lenovo Thinkpad T550 / W550s
102evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT550:*
e3bff60a
MP
103 POINTINGSTICK_SENSITIVITY=200
104 POINTINGSTICK_CONST_ACCEL=1.0
105
106# Lenovo Thinkpad X200s / X201s
107# Note these come with 2 revisions of keyboard, with the trackpoints having a
108# different sensitivity in the different revisions. 1.25 is a bit slow for the
109# least sensitive revision, but it is better to be a bit slow than too fast.
110evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
111 POINTINGSTICK_SENSITIVITY=200
112 POINTINGSTICK_CONST_ACCEL=1.25