2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 11:10:08 -07:00
repo/extra/libudev-zero
2023-03-02 18:00:45 +05:30
..
build libudev-zero: 1.0.0 2021-08-29 06:58:28 +03:00
checksums *: b3sum 2022-11-21 17:17:17 +05:30
depends
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