2021-08-25 22:22:10 -06:00
|
|
|
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]
|
2021-08-28 21:58:28 -06:00
|
|
|
* Configure mdev For Hotplugging ....................................... [003]
|
|
|
|
* Configure mdevd For Hotplugging ...................................... [004]
|
|
|
|
* Usage .................................................................. [005]
|
|
|
|
* References ............................................................. [006]
|
2021-08-25 22:22:10 -06:00
|
|
|
|
|
|
|
|
|
|
|
[001] Installation
|
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
+------------------------------------------------------------------------------+
|
|
|
|
| |
|
|
|
|
| $ kiss b libudev-zero |
|
|
|
|
| |
|
|
|
|
+------------------------------------------------------------------------------+
|
|
|
|
|
|
|
|
|
|
|
|
[002] Setup
|
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
If using mdev or mdevd (with the default configuration files), libudev-zero will
|
2021-08-28 21:58:28 -06:00
|
|
|
automatically be used once installed. If not, the following configuration must
|
|
|
|
be done for hotplugging to work.
|
2021-08-25 22:22:10 -06:00
|
|
|
|
|
|
|
|
2021-08-28 21:58:28 -06:00
|
|
|
--[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
|
2021-08-25 22:22:10 -06:00
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
Refer to the FreeDesktop libudev documentation for library information. Refer
|
|
|
|
to the project's upstream for more information.
|
|
|
|
|
|
|
|
|
2021-08-28 21:58:28 -06:00
|
|
|
[006] References
|
2021-08-25 22:22:10 -06:00
|
|
|
________________________________________________________________________________
|
|
|
|
|
|
|
|
[0] https://github.com/illiliti/libudev-zero
|
|
|
|
|