70-pointingstick.hwdb revision d68c7dea388887de352be86fbb11c04a558bb510
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# This file is part of systemd.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# Pointingstick const-accel configuration, to make different brand / model
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# laptop pointingsticks have the same speed / feel, and per model adjustment
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# of the IBM TrackPoint driver's sensitivity setting
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# The lookup keys are composed in:
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# Note: The format of the "evdev:" prefix match key is a contract between the
eea1aadb5bb3fc121e8f66332249d05e5437debcDavid Herrmann# rules file and the hardware data, it might change in later revisions to
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# support more or better matches, it is not necessarily a stable ABI.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# Supported hardware matches are:
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# - Generic input devices match:
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
da625e4b80ba8b03e68ce1782753acd34cf19bd5Ronny Chevalier# This matches on the kernel modalias of the input-device, mainly:
da625e4b80ba8b03e68ce1782753acd34cf19bd5Ronny Chevalier# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# is an arbitrary length input-modalias describing the device capabilities.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# - Input driver device name and DMI data match:
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# <input device name> is the name device specified by the driver,
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# <vendor> is the firmware-provided string from the kernel DMI modalias.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# To add local entries, create a new file
89ffcd2ad5bf87866314e96c4179ba622851cd6eLennart Poettering# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# and add your rules there. To load the new rules execute (as root):
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# udevadm hwdb --update
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen# where /dev/input/eventXX is the pointingstick in question. If in
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# doubt, simply use /dev/input/event* to reload all input rules.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# If your changes are generally applicable, preferably send them as a pull
7b17a7d72f5ba5ad838b19803534c56a46f3bce9Lennart Poettering# or create a bug report on https://github.com/systemd/systemd/issues and
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# include your new rules, a description of the device, and the output of
65b3903ff576488eaabb51d3c4fbf9c73d867d7cZbigniew Jędrzejewski-Szmek# udevadm info /dev/input/eventXX.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Allowed properties are:
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_CONST_ACCEL
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# POINTINGSTICK_SENSITIVITY
ee8c45689526ca973407cbb77bce7b96a062c40bLennart Poettering# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_CONST_ACCEL #
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# Trackpoint const accel settings are specified as
3e37b970b5454863ca34bd96506c4f14804b2580Auke Kok# POINTINGSTICK_CONST_ACCEL=<accel>
3731acf1acfb4a6eb68374a5b137f3b368f63381Lennart Poettering# Where <accel> is a floating point number, using a '.' seperator, specifying
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# by how much to multiply deltas generated by the pointingstick to get
a752addf67986c9b0e247bddc1747b5e6284945dLennart Poettering# normalized deltas.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_SENSITIVITY #
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
ce7b9f50c3fadbad22feeb28e4429ad9bee02bccDavid Herrmann# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_SENSITIVITY=<sensitivity>
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Where <sensitivity> is a number between 0 and 255, note this property
674eb68520107d771e3458287025a73387f938c4Lennart Poettering# only applies to TPPS/2 IBM TrackPoint devices, see
326bb68c40ff2a7119c344b9ab7a7473f9fcdf3cLennart Poettering# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
a1948c7bfeb87b54bc7715a44490c01593ee6e23Lennart Poettering# Sort by by brand, model
418b9be50018303cde79b423d4701b7fd86ddbdcLennart Poettering#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Latitude D620
1a14a53cfded6e78c6e8dfb73fdff0039971d642Lennart Poetteringevdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
42483a747489ff46aed3588b78bf4b9480dbeaf7Ivan Shapovalov POINTINGSTICK_CONST_ACCEL=0.5
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:pvr*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=2.0
78a337bd30a42d3d58846ab81f1541afbe7a99bbKay Sievers# Latitude E6400
3d090cc6f34e5970765dd1e7ee5e648a056d180dZbigniew Jędrzejewski-Szmekevdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
3d090cc6f34e5970765dd1e7ee5e648a056d180dZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.5
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
e34eee2c4f482078c2d6d257d3595e00df4d874eLennart Poettering#########################################
810626a80de8361dfbe27110d585023b3d6167a6David Herrmann# Lenovo Thinkpad X230
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poetteringevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Lenovo Thinkpad X230 tablet
489a3d957ef3ef2ceaca3426e39cb9cfef174e00Zbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad X240
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX240:*
9a00f57a5ba7ed431e6bac8d8b36518708503b4eLennart Poettering# Lenovo Thinkpad T440s
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Lenovo Thinkpad T540p
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT540p:*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad T550 / W550s
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT550:*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad X1 Carbon 3rd gen
bdef7319e4145fec3160468a1ef9775d682f2fa4Zbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen POINTINGSTICK_SENSITIVITY=200
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering POINTINGSTICK_CONST_ACCEL=1.0
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad X200s / X201s
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Note these come with 2 revisions of keyboard, with the trackpoints having a
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# different sensitivity in the different revisions. 1.25 is a bit slow for the
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# least sensitive revision, but it is better to be a bit slow than too fast.
5ab887e98d80ffaf05a97abe4cdc1553a85f0637David Herrmannevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_SENSITIVITY=200
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.25