70-pointingstick.hwdb revision 5defbb5ff664f141293f800c486bc5b723f985ce
d360705f0f1262d49cccb6507abeafb7cfb5bbe0Lennart Poettering# This file is part of systemd.
27b5482cc08b7fac1b6b15d980d42ae04f3ae1caLennart Poettering# Pointingstick const-accel configuration, to make different brand / model
6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16Lennart Poettering# laptop pointingsticks have the same speed / feel, and per model adjustment
eecd1362f7f4de432483b5d77c56726c3621a83aLennart Poettering# of the IBM TrackPoint driver's sensitivity setting
acf9b2f154fb443ea5654ea866d90556885b2e4fLennart Poettering# The lookup keys are composed in:
36db9a8d5b36173daf1f622fb544f4c90cfddb67Lennart Poettering# Note: The format of the "evdev:" prefix match key is a contract between the
8f2d43a0121bc9a57ba8b79b33d5ac87d36ca2f2Lennart Poettering# rules file and the hardware data, it might change in later revisions to
f5e04665ebf7124f3ea17dcf258793ed73a95fe1Lennart Poettering# support more or better matches, it is not necessarily a stable ABI.
fc5e60ee0c64343d1bd08c343275fc1ceff445aaLennart Poettering# Supported hardware matches are:
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# - Generic input devices match:
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# This matches on the kernel modalias of the input-device, mainly:
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6Lennart Poettering# is an arbitrary length input-modalias describing the device capabilities.
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# - Input driver device name and DMI data match:
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# <input device name> is the name device specified by the driver,
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# <vendor> is the firmware-provided string from the kernel DMI modalias.
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# To add local entries, create a new file
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# and add your rules there. To load the new rules execute (as root):
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# udevadm hwdb --update
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# where /dev/input/eventXX is the pointingstick in question. If in
b562f5a57d11d356aab26b08481f3befffff0822Lennart 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
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# and include your new rules, a description of the device, and the
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Allowed properties are:
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_CONST_ACCEL
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_SENSITIVITY
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_CONST_ACCEL #
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Trackpoint const accel settings are specified as
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_CONST_ACCEL=<accel>
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Where <accel> is a floating point number, using a '.' seperator, specifying
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# by how much to multiply deltas generated by the pointingstick to get
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# normalized deltas.
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_SENSITIVITY #
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering#########################################
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# POINTINGSTICK_SENSITIVITY=<sensitivity>
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Where <sensitivity> is a number between 0 and 255, note this property
8c6db8336536916d0476ff8233e0abf40a2f6aabLennart Poettering# only applies to TPPS/2 IBM TrackPoint devices, see
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
b562f5a57d11d356aab26b08481f3befffff0822Lennart Poettering# Sort by by brand, model