1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2">
|
---|
8 | <!ENTITY udev-download-ftp " ">
|
---|
9 | <!ENTITY udev-md5sum "b3d3b5f88c7b81e7615700a04db685e1">
|
---|
10 | <!ENTITY udev-size "517 KB">
|
---|
11 | <!ENTITY udev-buildsize "11 MB">
|
---|
12 | <!ENTITY udev-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="udev" xreflabel="udev-&udev-version;">
|
---|
16 | <?dbhtml filename="udev.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>udev-&udev-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="udev">
|
---|
26 | <primary sortas="a-udev">udev</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to udev</title>
|
---|
31 |
|
---|
32 | <para><application>Udev</application> was indeed installed in LFS and there
|
---|
33 | is no reason to reinstall it unless you are going to install
|
---|
34 | <application>DeviceKit-power</application>. This installation of Udev
|
---|
35 | enables extra features which includes <application>gudev</application>, a
|
---|
36 | requirement for <application>DeviceKit-power</application>.</para>
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&udev-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &udev-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &udev-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &udev-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &udev-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect3">udev Dependencies</bridgehead>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
63 | <para role="required"><xref linkend="acl"/>,
|
---|
64 | <xref linkend="glib2"/>,
|
---|
65 | <xref linkend="gperf"/>,
|
---|
66 | <xref linkend="pciutils"/>, and
|
---|
67 | <xref linkend="usbutils"/></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para role="optional"><xref linkend="gobject-introspection"/></para>
|
---|
71 |
|
---|
72 | <para condition="html" role="usernotes">User Notes:
|
---|
73 | <ulink url="&blfs-wiki;/udev"/></para>
|
---|
74 |
|
---|
75 | </sect2>
|
---|
76 |
|
---|
77 | <sect2 role="installation">
|
---|
78 | <title>Installation of udev</title>
|
---|
79 |
|
---|
80 | <para>Install <application>udev</application> by running the following
|
---|
81 | commands:</para>
|
---|
82 |
|
---|
83 | <screen><userinput>./configure --prefix=/usr \
|
---|
84 | --sysconfdir=/etc --sbindir=/sbin \
|
---|
85 | --with-rootlibdir=/lib --libexecdir=/lib/udev \
|
---|
86 | --docdir=/usr/share/doc/udev-145 &&
|
---|
87 | make</userinput></screen>
|
---|
88 |
|
---|
89 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
90 |
|
---|
91 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
92 |
|
---|
93 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="commands">
|
---|
98 | <title>Command Explanations</title>
|
---|
99 |
|
---|
100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
101 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
102 |
|
---|
103 | <para><option>--enable-introspection</option>: This option enables GObject
|
---|
104 | introspection.</para>
|
---|
105 |
|
---|
106 | </sect2>
|
---|
107 |
|
---|
108 | <sect2 role="content">
|
---|
109 | <title>Contents</title>
|
---|
110 |
|
---|
111 | <para>A list of the installed files, along with their short descriptions
|
---|
112 | can be found at
|
---|
113 | <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
|
---|
114 |
|
---|
115 | <para>The following is some additional content information.</para>
|
---|
116 |
|
---|
117 | <segmentedlist>
|
---|
118 | <segtitle>Installed Programs</segtitle>
|
---|
119 | <segtitle>Installed Library</segtitle>
|
---|
120 | <segtitle>Installed Directories</segtitle>
|
---|
121 |
|
---|
122 | <seglistitem>
|
---|
123 | <seg>hid2hci, keymap, modem-modeswitch, pci-db, udev-acl, usb-db, and v4l_id</seg>
|
---|
124 | <seg>libgudev-1.0.so</seg>
|
---|
125 | <seg>/lib/udev/{keymaps,rules.d},
|
---|
126 | /usr/{include/gudev-1.0/gudev,share/{doc/udev-145/writing_udev_rules,
|
---|
127 | gtk-doc/html/{gudev,libudev}}}</seg>
|
---|
128 | </seglistitem>
|
---|
129 | </segmentedlist>
|
---|
130 |
|
---|
131 | <variablelist>
|
---|
132 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
133 | <?dbfo list-presentation="list"?>
|
---|
134 | <?dbhtml list-presentation="table"?>
|
---|
135 |
|
---|
136 | <varlistentry id="hid2hci">
|
---|
137 | <term><command>hid2hci</command></term>
|
---|
138 | <listitem>
|
---|
139 | <para>is a Bluetooth HID to HCI mode switching utility.</para>
|
---|
140 | <indexterm zone="udev hid2hci">
|
---|
141 | <primary sortas="b-hid2hci">hid2hci</primary>
|
---|
142 | </indexterm>
|
---|
143 | </listitem>
|
---|
144 | </varlistentry>
|
---|
145 |
|
---|
146 | <varlistentry id="keymap">
|
---|
147 | <term><command>keymap</command></term>
|
---|
148 | <listitem>
|
---|
149 | <para>configures computer model specific key mappings.</para>
|
---|
150 | <indexterm zone="udev keymap">
|
---|
151 | <primary sortas="b-keymap">keymap</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | <!-- <varlistentry id="modem-modeswitch">
|
---|
157 | <term><command>modem-modeswitch</command></term>
|
---|
158 | <listitem>
|
---|
159 | <para>does this .....</para>
|
---|
160 | <indexterm zone="udev modem-modeswitch">
|
---|
161 | <primary sortas="b-modem-modeswitch">modem-modeswitch</primary>
|
---|
162 | </indexterm>
|
---|
163 | </listitem>
|
---|
164 | </varlistentry>
|
---|
165 |
|
---|
166 | <varlistentry id="pci-db">
|
---|
167 | <term><command>pci-db</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>does this .....</para>
|
---|
170 | <indexterm zone="udev pci-db">
|
---|
171 | <primary sortas="b-pci-db">pci-db</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="udev-acl">
|
---|
177 | <term><command>udev-acl</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>does this .....</para>
|
---|
180 | <indexterm zone="udev udev-acl">
|
---|
181 | <primary sortas="b-udev-acl">udev-acl</primary>
|
---|
182 | </indexterm>
|
---|
183 | </listitem>
|
---|
184 | </varlistentry>
|
---|
185 |
|
---|
186 | <varlistentry id="usb-db">
|
---|
187 | <term><command>usb-db</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>does this .....</para>
|
---|
190 | <indexterm zone="udev usb-db">
|
---|
191 | <primary sortas="b-usb-db">usb-db</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <varlistentry id="v4l_id">
|
---|
197 | <term><command>v4l_id</command></term>
|
---|
198 | <listitem>
|
---|
199 | <para>does this .....</para>
|
---|
200 | <indexterm zone="udev v4l_id">
|
---|
201 | <primary sortas="b-v4l_id">v4l_id</primary>
|
---|
202 | </indexterm>
|
---|
203 | </listitem>
|
---|
204 | </varlistentry> -->
|
---|
205 |
|
---|
206 | <varlistentry id="libgudev-1.0">
|
---|
207 | <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
|
---|
208 | <listitem>
|
---|
209 | <para>is a GObject-based wrapper library for libudev.</para>
|
---|
210 | <indexterm zone="udev libgudev-1.0">
|
---|
211 | <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
|
---|
212 | </indexterm>
|
---|
213 | </listitem>
|
---|
214 | </varlistentry>
|
---|
215 |
|
---|
216 | </variablelist>
|
---|
217 |
|
---|
218 | </sect2>
|
---|
219 |
|
---|
220 | </sect1>
|
---|