Home
last modified time | relevance | path

Searched refs:modalias (Results 1 – 12 of 12) sorted by relevance

/third_party/libevdev/tools/
Dtouchpad-edge-detector.c145 char modalias[PATH_MAX]; in dmi_matchstr() local
149 if (!fp || fgets(modalias, sizeof(modalias), fp) == NULL) { in dmi_matchstr()
158 modalias[strlen(modalias) - 1] = '\0'; /* drop \n */ in dmi_matchstr()
159 snprintf(match, sz, "name:%s:%s", libevdev_get_name(dev), modalias); in dmi_matchstr()
/third_party/libinput/tools/
Dlibinput-measure-touchpad-size.py183 def dmi_modalias_match(modalias): argument
184 modalias = modalias.split(":")
186 for m in modalias:
333 modalias = open("/sys/class/dmi/id/modalias").read().strip()
337 print(" ", modalias)
345 print("evdev:name:{}:{}*".format(evdev.name, dmi_modalias_match(modalias)))
Dlibinput-measure-fuzz.py382 modalias = open("/sys/class/dmi/id/modalias").readlines()[0]
383 ms = modalias.split(":")
412 print("Full modalias is: {}".format(modalias))
/third_party/libinput/doc/user/
Dtouchpad-pressure-debugging.rst110 modalias match should be based on the information in
111 ``/sys/class/dmi/id/modalias``. This modalias should be shortened to the
205 information in ``/sys/class/dmi/id/modalias``. The modalias should be
Dabsolute-coordinate-ranges.rst80 Note: the dmi modalias match is a guess based on your machine's modalias:
Dtrackpoint-configuration.rst138 Look at your ``/sys/class/dmi/id/modalias`` file for the values to add. Verify
Dreporting-bugs.rst115 - and the content of ``/sys/class/dmi/id/modalias``.
/third_party/libinput/src/
Dquirks.c369 const char *modalias = NULL; in init_dmi_linux() local
379 modalias = udev_device_get_property_value(udev_device, in init_dmi_linux()
385 if (!modalias) in init_dmi_linux()
386 modalias = "dmi:*"; in init_dmi_linux()
388 copy = safe_strdup(modalias); in init_dmi_linux()
402 char *modalias; in init_dmi_freebsd() local
438 xasprintf(&modalias, in init_dmi_freebsd()
444 return modalias; in init_dmi_freebsd()
/third_party/libevdev/
Dthird_party_libevdev.diff33686 + char modalias[PATH_MAX];
33689 + fp = fopen("/sys/class/dmi/id/modalias", "r");
33690 + if (!fp || fgets(modalias, sizeof(modalias), fp) == NULL) {
33699 + modalias[strlen(modalias) - 1] = '\0'; /* drop \n */
33700 + snprintf(match, sz, "name:%s:%s", libevdev_get_name(dev), modalias);
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h67961 char modalias[32]; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi81837 …<var-decl name="modalias" type-id="16dc656a" visibility="default" filepath="include/linux/mdio.h" …
Dtest-PR27569-v0.abi81823 …<var-decl name="modalias" type-id="16dc656a" visibility="default" filepath="include/linux/mdio.h" …