/third_party/eudev/src/libudev/ |
D | libudev-hwdb.c | 103 static const struct trie_child_entry_f *trie_node_children(struct udev_hwdb *hwdb, const struct tri… in trie_node_children() argument 104 … return (const struct trie_child_entry_f *)((const char *)node + le64toh(hwdb->head->node_size)); in trie_node_children() 107 static const struct trie_value_entry_f *trie_node_values(struct udev_hwdb *hwdb, const struct trie_… in trie_node_values() argument 110 base += le64toh(hwdb->head->node_size); in trie_node_values() 111 base += node->children_count * le64toh(hwdb->head->child_entry_size); in trie_node_values() 115 static const struct trie_node_f *trie_node_from_off(struct udev_hwdb *hwdb, le64_t off) { in trie_node_from_off() argument 116 return (const struct trie_node_f *)(hwdb->map + le64toh(off)); in trie_node_from_off() 119 static const char *trie_string(struct udev_hwdb *hwdb, le64_t off) { in trie_string() argument 120 return hwdb->map + le64toh(off); in trie_string() 130 static const struct trie_node_f *node_lookup_f(struct udev_hwdb *hwdb, const struct trie_node_f *no… in node_lookup_f() argument [all …]
|
D | libudev.h | 192 struct udev_hwdb *udev_hwdb_ref(struct udev_hwdb *hwdb); 193 struct udev_hwdb *udev_hwdb_unref(struct udev_hwdb *hwdb); 194 struct udev_list_entry *udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *mod…
|
/third_party/eudev/hwdb/ |
D | Makefile.am | 4 20-OUI.hwdb \ 5 20-acpi-vendor.hwdb \ 6 20-bluetooth-vendor-product.hwdb \ 7 20-net-ifname.hwdb \ 8 20-pci-classes.hwdb \ 9 20-pci-vendor-model.hwdb \ 10 20-sdio-classes.hwdb \ 11 20-sdio-vendor-model.hwdb \ 12 20-usb-classes.hwdb \ 13 20-usb-vendor-model.hwdb \ [all …]
|
D | 70-touchpad.hwdb | 19 # /etc/udev/hwdb.d/71-touchpad-local.hwdb 21 # systemd-hwdb update
|
/third_party/eudev/src/udev/ |
D | udev-builtin-hwdb.c | 31 static struct udev_hwdb *hwdb; variable 40 if (!hwdb) in udev_builtin_hwdb_lookup() 49 list = udev_hwdb_get_properties_list_entry(hwdb, lookup, 0); in udev_builtin_hwdb_lookup() 51 list = udev_hwdb_get_properties_list_entry(hwdb, modalias, 0); in udev_builtin_hwdb_lookup() 142 if (!hwdb) in builtin_hwdb() 193 if (hwdb) in builtin_hwdb_init() 195 hwdb = udev_hwdb_new(udev); in builtin_hwdb_init() 196 if (!hwdb) in builtin_hwdb_init() 203 hwdb = udev_hwdb_unref(hwdb); in builtin_hwdb_exit() 208 return udev_hwdb_validate(hwdb); in builtin_hwdb_validate()
|
/third_party/libinput/doc/user/ |
D | touchpad-jitter.rst | 17 hysteresis. Users should override this with a udev hwdb entry where the 27 test a fuzz value. This tool is interactive and provides a udev hwdb entry 49 The tool will attempt to construct a hwdb file that matches your touchpad 55 However, hwdb entry creation is difficult to automate and it's likely 63 number) whether an existing hwdb override exists. If the ``EVDEV_ABS_`` 64 properties are present, the hwdb override exists. Find the file that 65 contains that entry, most likely in ``/etc/udev/hwdb.d`` or 66 ``/usr/lib/udev/hwdb.d``. 73 If no properties exist, your hwdb.entry should look approximately like this: 88 Once the hwdb entry has been modified, added, or created, [all …]
|
D | device-configuration-via-udev.rst | 139 :ref:`device-quirks` and not in the hwdb anymore. Please see 150 user in a local hwdb file. This property designates the touchpad on a Lenovo 160 model quirks hwdb for instructions. 169 Configuring the hwdb 173 `udev hwdb <https://www.freedesktop.org/software/systemd/man/hwdb.html>`_ 176 The hwdb contains a set of match rules that assign udev properties that are 178 initialized. This section only describes the hwdb in relation to libinput, 179 it is not a full documentation on how the hwdb works. 181 libinput's use of the hwdb is limited to properties systemd and custom 188 Querying the hwdb [all …]
|
D | absolute-coordinate-ranges.rst | 37 #. verify the hwdb entry provided by this tool 71 suggested hwdb entry. :: 79 Suggested hwdb entry: 91 Instructions on what to do with this snippet are in /usr/lib/udev/hwdb.d/60-evdev.hwdb 95 advertises and what what the touchpad sends, the hwdb entry should be added to the 96 ``60-evdev.hwdb`` file provided by the `systemd project <https://github.com/systemd/systemd>`_. 114 .. note:: hwdb match strings only allow for alphanumeric ascii characters. Use a 143 `60-evdev.hwdb <https://github.com/systemd/systemd/blob/master/hwdb/60-evdev.hwdb>`_ 144 file to save it locally and trigger the udev hwdb reload. Rebooting is
|
D | tablet-debugging.rst | 40 for the x and y axes. This can be fixed with a hwdb entry, locate and read 41 the `60-evdev.hwdb 42 <https://github.com/systemd/systemd/tree/master/hwdb/60-evdev.hwdb>`__ file
|
D | normalization-of-relative-motion.rst | 65 `udev hwdb <http://cgit.freedesktop.org/systemd/systemd/tree/hwdb/70-mouse.hwdb>`_.
|
D | faqs.rst | 31 need a udev hwdb entry to normalize their motion. See 274 How to apply hwdb changes 278 `udev hwdb <https://www.freedesktop.org/software/systemd/man/hwdb.html>`_ 279 or patches that include a change to the hwdb. See :ref:`hwdb` for 280 details on the hwdb and how to modify it locally. 283 the :ref:`device-quirks` system. There are no libinput-specific hwdb 284 entries anymore and any changes to the hwdb must be merged into the
|
/third_party/eudev/rules/ |
D | 60-evdev.rules | 7 IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \ 12 IMPORT{builtin}="hwdb 'evdev:atkbd:$attr{[dmi/id]modalias}'", \ 16 KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:phys:$attr{phys}:ev:$attr{capabili… 20 KERNELS=="input*", IMPORT{builtin}="hwdb 'evdev:name:$attr{name}:$attr{[dmi/id]modalias}'", \
|
D | 60-sensor.rules | 7 IMPORT{builtin}="hwdb 'sensor:modalias:$attr{modalias}:$attr{[dmi/id]modalias}'", \ 11 IMPORT{builtin}="hwdb 'sensor:modalias:acpi:$attr{hid}:$attr{[dmi/id]modalias}'", \ 15 IMPORT{builtin}="hwdb 'sensor:modalias:platform:$id:$attr{[dmi/id]modalias}'", \
|
D | 70-mouse.rules | 9 …IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'",… 12 …IMPORT{builtin}="hwdb 'mouse:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'",… 15 IMPORT{builtin}="hwdb 'mouse:ps2::name:$attr{device/name}:'", \
|
D | 75-net-description.rules | 8 SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb" 12 SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci"
|
D | 60-serial.rules | 7 SUBSYSTEMS=="pci", IMPORT{builtin}="hwdb --subsystem=pci" 8 SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id", IMPORT{builtin}="hwdb --subsystem=usb"
|
D | 60-input-id.rules | 6 SUBSYSTEM=="input", IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=id-input:modalias:"
|
D | 70-joystick.rules | 9 …IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:…
|
D | 70-touchpad.rules | 10 …IMPORT{builtin}="hwdb 'touchpad:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:…
|
/third_party/libinput/test/ |
D | check-leftover-udev-rules.sh | 8 ls /etc/udev/hwdb.d/*litest*REMOVEME*.hwdb 2>/dev/null
|
/third_party/eudev/test/ |
D | test-libudev.c | 393 struct udev_hwdb *hwdb; in test_hwdb() local 396 hwdb = udev_hwdb_new(udev); in test_hwdb() 398 udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(hwdb, modalias, 0)) in test_hwdb() 402 hwdb = udev_hwdb_unref(hwdb); in test_hwdb() 403 assert(hwdb == NULL); in test_hwdb()
|
/third_party/eudev/ |
D | configure.ac | 176 AC_SUBST([udevhwdbdir],[${udevconfdir}/hwdb.d]) 177 AC_SUBST([udevhwdbbin],[${udevconfdir}/hwdb.bin]) 276 AC_ARG_ENABLE([hwdb], AS_HELP_STRING([--enable-hwdb],[install hwdb.d files]),[],[enable_hwdb=yes]) optenable 303 hwdb/Makefile
|
D | BUILD.gn | 43 "src/libudev/libudev-hwdb.c", 128 "src/udev/udev-builtin-hwdb.c", 161 "src/udev/udev-builtin-hwdb.c", 174 "src/udev/udevadm-hwdb.c",
|
D | Makefile.am | 19 hwdb subdir
|
/third_party/eudev/export_include/ |
D | libudev.h | 192 struct udev_hwdb *udev_hwdb_ref(struct udev_hwdb *hwdb); 193 struct udev_hwdb *udev_hwdb_unref(struct udev_hwdb *hwdb); 194 struct udev_list_entry *udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *mod…
|