Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/hid/tests/
Dbase_device.py128 _pyudev_monitor: ClassVar[Optional[pyudev.Monitor]] = None variable in UdevHIDIsReady
139 cls._pyudev_monitor = pyudev.Monitor.from_netlink(cls._pyudev_context)
140 cls._pyudev_monitor.filter_by("hid")
141 cls._pyudev_monitor.start()
144 cls._pyudev_monitor.fileno(), cls._cls_udev_event_callback
149 if cls._pyudev_monitor is None:
152 for event in iter(functools.partial(cls._pyudev_monitor.poll, 0.02), None):