<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bozo</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bozo"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Bozo"/>
	<updated>2026-05-03T13:06:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Mdevd&amp;diff=25429</id>
		<title>Mdevd</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Mdevd&amp;diff=25429"/>
		<updated>2023-11-03T22:16:35Z</updated>

		<summary type="html">&lt;p&gt;Bozo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:mdevd}}&lt;br /&gt;
mdevd is a [[Device_Manager|device manager]] that is compatible with [[mdev]].&lt;br /&gt;
For configuration and other things please look at the [[mdev|mdev article]].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
The easy way to setup mdevd is throught the [[#Setup_Script|setup script]]. For custom installation see the [[#Manually|manually section]]. Note that a manual installation is only recommended for advanced users.&lt;br /&gt;
&lt;br /&gt;
=== Setup Script ===&lt;br /&gt;
&lt;br /&gt;
The {{pkg|alpine-conf}} package privides [https://git.alpinelinux.org/alpine-conf/tree/setup-devd.in setup-devd] to easily install and setup device managers.&lt;br /&gt;
&lt;br /&gt;
Install {{pkg|alpine-conf}} if it is not already installed.&lt;br /&gt;
{{cmd|# apk add {{pkg|alpine-conf}}}}&lt;br /&gt;
Setup mdevd.&lt;br /&gt;
{{cmd|# setup-devd mdevd}}&lt;br /&gt;
&lt;br /&gt;
=== Manually ===&lt;br /&gt;
&lt;br /&gt;
You first need to install the mdevd package.&lt;br /&gt;
{{cmd|# apk add mdevd}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already have a device manager installed you need to remove it before you start mdevd.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then enable the services.&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# rc-update add mdevd sysinit&lt;br /&gt;
# rc-update add mdevd-init sysinit&lt;br /&gt;
# rc-update add hwdrivers sysinit&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If you are not running in a chroot you will also want to start mdevd.&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# rc-service mdevd start&lt;br /&gt;
# rc-service hwdrivers start&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If {{path|/dev}} hasn&#039;t been initialized by another device manager you need to do that manually.&lt;br /&gt;
{{cmd|# rc-service mdevd-init start}}&lt;br /&gt;
&lt;br /&gt;
== Remove ==&lt;br /&gt;
&lt;br /&gt;
{{warning|Disabling mdevd 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.}}&lt;br /&gt;
&lt;br /&gt;
To remove mdevd you need to stop it first. This step can be skipped if you are running in a chroot.&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# rc-service hwdrivers stop&lt;br /&gt;
# rc-service mdevd stop&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Then disable the services.&lt;br /&gt;
{{cmd|&amp;lt;nowiki&amp;gt;# rc-update delete hwdrivers sysinit&lt;br /&gt;
# rc-update delete mdevd-init sysinit&lt;br /&gt;
# rc-update delete mdevd default&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You might also want to uninstall the mdevd package since they are not used anymore.&lt;br /&gt;
{{cmd|# apk del mdevd}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mdev]]&lt;br /&gt;
* [[:Category:Device_Manager|Device Managers]]&lt;br /&gt;
* [https://skarnet.org/software/mdevd/ mdevd page]&lt;br /&gt;
&lt;br /&gt;
[[Category:Device_Manager]]&lt;/div&gt;</summary>
		<author><name>Bozo</name></author>
	</entry>
</feed>