mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 03:00:10 -07:00
72 lines
2.9 KiB
Plaintext
72 lines
2.9 KiB
Plaintext
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
|
|
|