=========== Module udev =========== .. lua:module:: udev udev Interface to the udev Linux subsystem. This is very much work in progress. See :lua:meth:`dbus `, :lua:meth:`evdev `, :lua:meth:`event `, :lua:meth:`file `, :lua:meth:`hwinfo `, :lua:meth:`log `, :lua:meth:`lua `, :lua:meth:`misc `, :lua:meth:`os `, :lua:meth:`spawn `, :lua:meth:`udev `, :lua:meth:`xorg ` for more information about this type Methods ========== .. list-table:: :header-rows: 0 * - :lua:meth:`device_from_dev_node(path) ` - Create a device object from a device node * - :lua:meth:`search() ` - Enumerate udev devices matching certain criteria .. lua:method:: device_from_dev_node(path) -> Device :rtype: :lua:mod:`Device ` :type path: string :param path: Create a device object from a device node .. lua:method:: search() -> Enumerator :rtype: :lua:mod:`Enumerator ` Enumerate udev devices matching certain criteria