repo/extra/libudev-zero
2023-03-05 17:34:06 -06:00
..
build *: explicit DESTDIR 2023-03-05 17:34:06 -06:00
checksums *: b3sum 2022-11-21 17:17:17 +05:30
depends libudev-zero: Add linux-headers to depends 2020-07-22 10:05:00 +03:00
README libudev-zero: 1.0.0 2021-08-29 06:58:28 +03:00
sources *: remove VERSION markers 2023-03-02 18:00:45 +05:30
version libudev-zero: 1.0.1 1 2022-03-22 11:47:58 +05:30

libudev-zero
________________________________________________________________________________

Drop-in replacement for libudev intended to work with any device manager. [0]

This satisfies the libudev library dependency while allowing the user to use
the device manager of their choosing.

Upstream: https://github.com/illiliti/libudev-zero


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
  * Configure mdev For Hotplugging ....................................... [003]
  * Configure mdevd For Hotplugging ...................................... [004]
* Usage .................................................................. [005]
* References ............................................................. [006]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b libudev-zero                                                       |
|                                                                              |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________

If using mdev or mdevd (with the default configuration files), libudev-zero will
automatically be used once installed. If not, the following configuration must
be done for hotplugging to work.


--[003] Configure mdev For Hotplugging -----------------------------------------

  Add the folllowing to your /etc/mdev.conf.

  +----------------------------------------------------------------------------+
  |                                                                            |
  |  SUBSYSTEM=drm;.*   root:video 660 *libudev-zero-helper                    |
  |  SUBSYSTEM=input;.* root:input 660 *libudev-zero-helper                    |
  |                                                                            |
  +----------------------------------------------------------------------------+


--[004] Configure mdevd For Hotplugging ----------------------------------------

  Ensure that mdevd is started with the flags '-O 4'. This will make the daemon
  rebroadcast kernel uevents to libudev-zero. The distribution's default service
  runs mdevd with these flags.


[005] Usage
________________________________________________________________________________

Refer to the FreeDesktop libudev documentation for library information. Refer
to the project's upstream for more information.


[006] References
________________________________________________________________________________

[0] https://github.com/illiliti/libudev-zero