70-pointingstick.hwdb revision 151f5feb31bb83bf5e9e8c4d138268f07e25e716
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
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# 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
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# This matches on the kernel modalias of the input-device, mainly:
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# is an arbitrary length input-modalias describing the device capabilities.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# - Input driver device name and DMI data match:
7b4d7cc08283e5485dcfa49ffdf1915de1d5e81bKay Sievers# 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,
89ffcd2ad5bf87866314e96c4179ba622851cd6eLennart Poettering# <vendor> is the firmware-provided string from the kernel DMI modalias.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# To add local entries, create a new file
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# and add your rules there. To load the new rules execute (as root):
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering# udevadm hwdb --update
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# where /dev/input/eventXX is the pointingstick in question. If in
dbc4fbae58e39cb0d33738f0a4d1e74511ed1fb5Lennart Poettering# doubt, simply use /dev/input/event* to reload all input rules.
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# If your changes are generally applicable, open a bug report on
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# and include your new rules, a description of the device, and the
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Allowed properties are:
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_CONST_ACCEL
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_SENSITIVITY
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering#########################################
3e37b970b5454863ca34bd96506c4f14804b2580Auke Kok# POINTINGSTICK_CONST_ACCEL #
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Trackpoint const accel settings are specified as
a752addf67986c9b0e247bddc1747b5e6284945dLennart Poettering# POINTINGSTICK_CONST_ACCEL=<accel>
294c866023d05162880b056fea5242d25cd9e865Daniel Mack# 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
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# normalized deltas.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# POINTINGSTICK_SENSITIVITY #
b87377fca3c938303a2fb25229abf8c14814841bKay Sievers#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
674eb68520107d771e3458287025a73387f938c4Lennart Poettering# POINTINGSTICK_SENSITIVITY=<sensitivity>
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Where <sensitivity> is a number between 0 and 255, note this property
f4ce2b3e5ce93b83f14f8785e205ebb5a9b8c1dfLennart Poettering# only applies to TPPS/2 IBM TrackPoint devices, see
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
1a14a53cfded6e78c6e8dfb73fdff0039971d642Lennart Poettering# Sort by by brand, model
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Latitude D620
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=0.5
1ee306e1248866617c96ed9f4263f375588ad838Lennart Poettering# Latitude E6400
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poetteringevdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.5
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek#########################################
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
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# least sensitive revision, but it is better to be a bit slow than too fast.
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?s:*
3990f247652c3bd41e4ea074e6302277eb9c7aa3Lennart Poettering POINTINGSTICK_SENSITIVITY=200
c2756a68401102786be343712c0c35acbd73d28dLennart Poettering POINTINGSTICK_CONST_ACCEL=1.25
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad X240
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX240:*
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering POINTINGSTICK_SENSITIVITY=200
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.0
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek# Lenovo Thinkpad T440s
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmekevdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadT440s:*
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_SENSITIVITY=200
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.0
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 POINTINGSTICK_SENSITIVITY=200
b5a223bfcf2ebcf374973b29870a5e80fb42b8beZbigniew Jędrzejewski-Szmek POINTINGSTICK_CONST_ACCEL=1.0