51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# This file is part of systemd.
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# The lookup keys are composed in:
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# Note: The format of the "evdev:" prefix match key is a
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# contract between the rules file and the hardware data, it might
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# change in later revisions to support more or better matches, it
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# is not necessarily expected to be a stable ABI.
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# Match string formats:
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# evdev:<modalias>
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# evdev:name:<device name>:dmi:<dmi string>
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# To add local entries, create a new file
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# and add your rules there. To load the new rules execute (as root):
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# udevadm hwdb --update
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# udevadm trigger /dev/input/eventXX
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# where /dev/input/eventXX is the device in question. If in
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# doubt, simply use /dev/input/event* to reload all input rules.
195c9e37fcb1273b92e2cdacc1d0aa573bf7a92dZbigniew Jędrzejewski-Szmek# If your changes are generally applicable, preferably send them as a pull
195c9e37fcb1273b92e2cdacc1d0aa573bf7a92dZbigniew Jędrzejewski-Szmek# https://github.com/systemd/systemd
195c9e37fcb1273b92e2cdacc1d0aa573bf7a92dZbigniew Jędrzejewski-Szmek# or create a bug report on https://github.com/systemd/systemd/issues and
195c9e37fcb1273b92e2cdacc1d0aa573bf7a92dZbigniew Jędrzejewski-Szmek# include your new rules, a description of the device, and the output of
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# Allowed properties are:
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat>
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# where <axis> is the hexadecimal EV_ABS code as listed in linux/input.h
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# and min, max, res, fuzz, flat are the decimal values to the respective
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# fields of the struct input_absinfo as listed in linux/input.h.
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# If a field is missing the field will be left as-is. Not all fields need to
51c0c2869845a058268d54c3111d55d0dd485704Peter Hutterer# be present. e.g. ::45 sets the resolution to 45 units/mm.
47d36b7c851f9145def609e4f9d8feb6d3d33740Peter Hutterer# Sort by brand, model
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires#########################################
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires#########################################
47b84eac21fd9e1a9e317df28d862927a7e814d5Peter Hutterer# Macbook2,1 (late 2006), single-button touchpad
47b84eac21fd9e1a9e317df28d862927a7e814d5Peter Huttererevdev:input:b0003v05ACp021B*
47b84eac21fd9e1a9e317df28d862927a7e814d5Peter Hutterer EVDEV_ABS_00=256:1471:12
47b84eac21fd9e1a9e317df28d862927a7e814d5Peter Hutterer EVDEV_ABS_01=256:831:12
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer# Macbook5,1 (unibody), aka wellspring3
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0236*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0237*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0238*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_00=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_01=::90
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_35=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_36=::90
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer# Macbook8 (unibody, March 2011)
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0245*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0246*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0247*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_00=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_01=::91
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_35=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_36=::91
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer# Macbook8,2 (unibody)
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0252*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0253*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0254*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_00=::94
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_01=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_35=::94
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_36=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer# MacbookPro10,1 (unibody, June 2012)
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0259*
adcf2199218f7a265d2fac35795022450bc2b9d6Peter Huttererevdev:input:b0003v05ACp025A*
adcf2199218f7a265d2fac35795022450bc2b9d6Peter Huttererevdev:input:b0003v05ACp025B*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer# MacbookPro10,2 (unibody, October 2012)
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Huttererevdev:input:b0003v05ACp0259*
adcf2199218f7a265d2fac35795022450bc2b9d6Peter Huttererevdev:input:b0003v05ACp025A*
adcf2199218f7a265d2fac35795022450bc2b9d6Peter Huttererevdev:input:b0003v05ACp025B*
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_00=::94
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_01=::92
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_35=::94
3ebc2dc49837e38288e1bcaa0f1632cc6c897232Peter Hutterer EVDEV_ABS_36=::92
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer#########################################
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer#########################################
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Huttererevdev:name:ETPS/2 Elantech Touchpad:dmi:bvn*:bvr*:bd*:svnASUSTeKComputerInc.:pnK52JT:*
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer EVDEV_ABS_00=::18
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer EVDEV_ABS_01=::16
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer EVDEV_ABS_35=::18
5b7246d09d9edd3ca2c396152ee6bf7f7e9275b6Peter Hutterer EVDEV_ABS_36=::16
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Hutterer#########################################
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Hutterer#########################################
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Hutterer# Dell Vostro 1510
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Huttererevdev:name:AlpsPS/2 ALPS GlidePoint*:dmi:bvn*:bvr*:bd*:svnDellInc.:pnVostro1510*
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Hutterer EVDEV_ABS_00=::14
3cf23b62ea7d21831db1dca2e37bc67d145070b8Peter Hutterer EVDEV_ABS_01=::18
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Hutterer# Dell Inspiron N5040
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Huttererevdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnInspironN5040*
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Hutterer EVDEV_ABS_00=25:2000:22
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Hutterer EVDEV_ABS_01=0:1351:28
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Hutterer EVDEV_ABS_35=25:2000:22
30d980b22a01190f7914884f8f699bbc2c6dc060Peter Hutterer EVDEV_ABS_36=0:1351:28
75e60eea5853620fbb32efb5e7b7982aef374357Peter Hutterer# Dell Latitude E6220
75e60eea5853620fbb32efb5e7b7982aef374357Peter Huttererevdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6220*
75e60eea5853620fbb32efb5e7b7982aef374357Peter Hutterer EVDEV_ABS_00=76:1815:22
75e60eea5853620fbb32efb5e7b7982aef374357Peter Hutterer EVDEV_ABS_01=131:1330:30
75e60eea5853620fbb32efb5e7b7982aef374357Peter Hutterer EVDEV_ABS_35=76:1815:22
75e60eea5853620fbb32efb5e7b7982aef374357Peter Hutterer EVDEV_ABS_36=131:1330:30
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires#########################################
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires#########################################
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires# Chromebook Pixel (2015) - Samus
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoiresevdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus*
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires EVDEV_ABS_00=::10
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires EVDEV_ABS_01=::10
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires EVDEV_ABS_35=::10
696f1dbfe193cb12e20703b96034ceed1bd8b4d4Benjamin Tissoires EVDEV_ABS_36=::10
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer#########################################
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer#########################################
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer# HP Pavilion dm4
7f39a2bdda04356a2ec0b76051382a0842012925Peter Huttererevdev:name:SynPS/2 Synaptics TouchPad*:dmi:*svnHewlett-Packard:pnHPPaviliondm4*
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer EVDEV_ABS_00=1360:5563:47
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer EVDEV_ABS_01=1269:4618:61
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer EVDEV_ABS_35=1360:5563:47
7f39a2bdda04356a2ec0b76051382a0842012925Peter Hutterer EVDEV_ABS_36=1269:4618:61
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires#########################################
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires#########################################
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires# Lenovo X230 series
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoiresevdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230*
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires EVDEV_ABS_01=::100
a58223dc373ff89600088016bee85705fa382babBenjamin Tissoires EVDEV_ABS_36=::100
3872f4d3ab55ab7fea1247c3bf71bd268fa9e7c9Peter Huttererevdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T510*
3872f4d3ab55ab7fea1247c3bf71bd268fa9e7c9Peter Hutterer EVDEV_ABS_00=778:6239:72
3872f4d3ab55ab7fea1247c3bf71bd268fa9e7c9Peter Hutterer EVDEV_ABS_01=841:5330:100
3872f4d3ab55ab7fea1247c3bf71bd268fa9e7c9Peter Hutterer EVDEV_ABS_35=778:6239:72
3872f4d3ab55ab7fea1247c3bf71bd268fa9e7c9Peter Hutterer EVDEV_ABS_36=841:5330:100
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer#########################################
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer#########################################
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer# Samsung 305V4
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Huttererevdev:name:ETPS/2 Elantech Touchpad:dmi:*svnSAMSUNGELECTRONICSCO.,LTD.:pn305V4A/305V5A*
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer EVDEV_ABS_00=0:2480:28
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer EVDEV_ABS_01=0:1116:24
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer EVDEV_ABS_35=0:2480:28
d9a03677a531c8b165a6f6a02f72652ae78f519cPeter Hutterer EVDEV_ABS_36=0:1116:24