Eudev: Difference between revisions
(better remove warning) |
Prabuanand (talk | contribs) (fixed wikitags, renamed headings rephrased sentence) |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:eudev}} | {{DISPLAYTITLE:eudev}} | ||
[https://github.com/eudev-project/eudev eudev] is a [[Device_Manager|device manager]] that provides a drop-in replacement for systemd udev. It is therefore recommended for full blown desktop environments. | |||
eudev is a [[ | |||
== Installation == | == Installation == | ||
The easy way to setup eudev is | The easy way to setup eudev is through the [[#Setup_script|setup script]]. Only advanced users are recommended to do [[#Manual installation|manual installation]]. | ||
=== Setup script === | |||
{{:Include:Setup Device Manager}} | |||
=== Manual installation === | |||
You need to install eudev itself and the udev services. {{cmd|# apk add {{pkg|eudev}} {{pkg|udev-init-scripts}}}} | |||
Then enable the services. | If you already have a device manager installed you need to stop it before you start eudev. Then enable the following services. | ||
{{cmd|<nowiki># rc-update add udev sysinit | {{cmd|<nowiki># rc-update add udev sysinit | ||
# rc-update add udev-trigger sysinit | # rc-update add udev-trigger sysinit | ||
Line 33: | Line 20: | ||
</nowiki>}} | </nowiki>}} | ||
If you are not running in a chroot you will also want to start eudev. | If you are not running in a chroot you will also want to start eudev. {{cmd|<nowiki># rc-service udev start | ||
{{cmd|<nowiki># rc-service udev start | |||
# rc-service udev-trigger start | # rc-service udev-trigger start | ||
# rc-service udev-settle start | # rc-service udev-settle start | ||
# rc-service udev-postmount start | # rc-service udev-postmount start </nowiki>}} | ||
</nowiki>}} | |||
== Remove == | == Remove == | ||
Line 44: | Line 29: | ||
{{warning|Disabling eudev without setting up a different device manager may cause unexpected issues. If you install a different device manager with the setup script this step is not needed.}} | {{warning|Disabling eudev without setting up a different device manager may cause unexpected issues. If you install a different device manager with the setup script this step is not needed.}} | ||
If you are not running in a chroot you need to stop the service first. | If you are not running in a chroot you need to stop the service first.{{cmd|<nowiki># rc-service udev stop | ||
{{cmd|<nowiki># rc-service udev stop | # rc-service udev-postmount stop</nowiki>}} | ||
# rc-service udev-postmount stop | |||
</nowiki>}} | |||
Then disable the services. | Then disable the services. {{cmd|<nowiki># rc-update delete udev sysinit | ||
{{cmd|<nowiki># rc-update delete udev sysinit | |||
# rc-update delete udev-trigger sysinit | # rc-update delete udev-trigger sysinit | ||
# rc-update delete udev-settle sysinit | # rc-update delete udev-settle sysinit | ||
# rc-update delete udev-postmount default | # rc-update delete udev-postmount default</nowiki>}} | ||
</nowiki>}} | |||
You might also want to uninstall the packages since they are not used anymore. | You might also want to uninstall the packages since they are not used anymore. {{cmd|# apk del {{pkg|eudev}} {{pkg|udev-init-scripts}}}} | ||
{{cmd|# apk del eudev udev-init-scripts}} | |||
== See | == See also == | ||
* [[:Category:Device_Manager|Device Managers]] | * [[:Category:Device_Manager|Device Managers]] | ||
* [https://wiki.gentoo.org/wiki/Eudev Gentoo wiki eudev] | * [https://wiki.gentoo.org/wiki/Eudev Gentoo wiki eudev] | ||
* [https://wiki.archlinux.org/title/Udev Archwiki udev] | * [https://wiki.archlinux.org/title/Udev Archwiki udev] | ||
* [[Gamepad]] | |||
[[Category:Device_Manager]] | [[Category:Device_Manager]] |
Latest revision as of 09:24, 17 March 2025
eudev is a device manager that provides a drop-in replacement for systemd udev. It is therefore recommended for full blown desktop environments.
Installation
The easy way to setup eudev is through the setup script. Only advanced users are recommended to do manual installation.
Setup script
Setting up eudev on a desktop system is recommended in Alpine Linux. Without a fully functional device manager users will not be able to connect to input devices. The alpine-conf package provides setup-devd script to easily install and setup device managers.
Setup eudev.
# setup-devd udev
For more details and other options see eudev.
Manual installation
You need to install eudev itself and the udev services.
# apk add eudev udev-init-scripts
If you already have a device manager installed you need to stop it before you start eudev. Then enable the following services.
# rc-update add udev sysinit # rc-update add udev-trigger sysinit # rc-update add udev-settle sysinit # rc-update add udev-postmount default
If you are not running in a chroot you will also want to start eudev.
# rc-service udev start # rc-service udev-trigger start # rc-service udev-settle start # rc-service udev-postmount start
Remove

If you are not running in a chroot you need to stop the service first.
# rc-service udev stop # rc-service udev-postmount stop
Then disable the services.
# rc-update delete udev sysinit # rc-update delete udev-trigger sysinit # rc-update delete udev-settle sysinit # rc-update delete udev-postmount default
You might also want to uninstall the packages since they are not used anymore.
# apk del eudev udev-init-scripts