Home
last modified time | relevance | path

Searched refs:device_node (Results 1 - 9 of 9) sorted by relevance

/third_party/libinput/tools/
H A Dlibinput-measure-touchpad-tap.py106 device_node = None
108 if not device.device_node or not device.device_node.startswith(
116 device_node = device.device_node
119 if device.get("ID_INPUT_TOUCHSCREEN", 0) and device_node is None:
120 device_node = device.device_node
122 if device_node is not None:
123 return device_node
[all...]
H A Dlibinput-list-kernel-devices.py44 if (device.device_node or "").startswith("/dev/input/event"):
49 devices[device.device_node] = name[1:-1]
85 hid.hidraws.append(f"'{device.device_node}'")
88 if (device.device_node or "").startswith("/dev/input/event"):
93 hid.evdevs.append(f"'{device.device_node}'")
H A Dlibinput-measure-fuzz.py98 if not device.device_node or not device.device_node.startswith(
103 return device.device_node
H A Dshared.c544 char *device_node = NULL; in find_device() local
567 device_node = safe_strdup(udev_device_get_devnode(device)); in find_device()
571 if (device_node) in find_device()
578 return device_node; in find_device()
H A Dlibinput-measure-touchpad-pressure.py251 if not device.device_node or not device.device_node.startswith(
256 return device.device_node
H A Dlibinput-measure-touch-size.py217 if not device.device_node or not device.device_node.startswith(
222 return device.device_node
H A Dlibinput-measure-touchpad-size.py220 device.device_node or ""
222 args.path = device.device_node
232 print("Using {}: {}".format(name, device.device_node))
H A Dlibinput-debug-gui.c1290 const char *device_node; in register_evdev_device() local
1295 device_node = udev_device_get_devnode(ud); in register_evdev_device()
1297 fd = open(device_node, O_RDONLY|O_NONBLOCK); in register_evdev_device()
1299 msg("failed to open %s, evdev events unavailable\n", device_node); in register_evdev_device()
1305 device_node); in register_evdev_device()
/third_party/eudev/src/udev/
H A Dudev-rules.c2675 char device_node[UTIL_PATH_SIZE]; in udev_rules_apply_static_dev_perms() local
2685 strscpyl(device_node, sizeof(device_node), "/dev/", rules_str(rules, cur->key.value_off), NULL); in udev_rules_apply_static_dev_perms()
2686 if (stat(device_node, &stats) != 0) in udev_rules_apply_static_dev_perms()
2704 r = symlink(device_node, tag_symlink); in udev_rules_apply_static_dev_perms()
2707 tag_symlink, device_node); in udev_rules_apply_static_dev_perms()
2724 r = chmod(device_node, mode); in udev_rules_apply_static_dev_perms()
2726 log_error("failed to chmod '%s' %#o", device_node, mode); in udev_rules_apply_static_dev_perms()
2729 log_debug("chmod '%s' %#o", device_node, mode); in udev_rules_apply_static_dev_perms()
2733 r = chown(device_node, ui in udev_rules_apply_static_dev_perms()
[all...]

Completed in 12 milliseconds