source: general/sysutils/udev.xml@ 658269e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 658269e was fe4bcdb, checked in by Randy McMurchy <randy@…>, 13 years ago

Modified the Udev instructions so that the reader downloads and installs the version of Udev currently on the computer

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8816 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.7 KB
RevLine 
[c9354ea0]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
[fe4bcdb]7 <!-- <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> -->
8 <!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/">
[c9354ea0]9 <!ENTITY udev-download-ftp " ">
[fe4bcdb]10 <!-- <!ENTITY udev-md5sum "aeae0e6273dcbec246c3c1b9868ebed1"> -->
11 <!ENTITY udev-size "~500 KB">
12 <!ENTITY udev-buildsize "~10 MB">
13 <!ENTITY udev-time "~1.8 SBU">
[c9354ea0]14]>
15
16<sect1 id="udev" xreflabel="udev-&udev-version;">
17 <?dbhtml filename="udev.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
[fe4bcdb]24 <title>Udev-&udev-version;</title>
[c9354ea0]25
26 <indexterm zone="udev">
27 <primary sortas="a-udev">udev</primary>
28 </indexterm>
29
30 <sect2 role="package">
[fe4bcdb]31 <title>Introduction to Udev</title>
[c9354ea0]32
33 <para><application>Udev</application> was indeed installed in LFS and there
[fe4bcdb]34 is no reason to reinstall it unless you are going to install a package such
35 as <application>UPower</application>. This installation of
36 <application>Udev</application> enables extra features which includes
37 <application>gudev</application>, a requirement for
38 <application>UPower</application> and optionally used by other
39 packages.</para>
40
41 <para>Unlike any other package in the BLFS book, there is no set version
42 of <application>Udev</application> specified to download. Several version
43 updates to LFS and none to BLFS means there are probably many different
44 versions of <application>Udev</application> on the platforms that BLFS is
45 being built upon. Therefore, you should download and use the version of
46 <application>Udev</application> your computer currently uses. The BLFS
47 team has no experience updating (or reverting to an older version) the
48 <application>Udev</application> package <quote>on the fly.</quote> To
49 discover the version of <application>Udev</application> your computer
50 currently uses, issue <command>/sbin/udevadm --version</command>.</para>
51
52 <para>This package is known to build and work properly using an LFS-6.5
53 platform. (Using Udev-151)</para>
54
55 <para>&lfssvn_checked;20101029&lfssvn_checked2; (Using Udev-164)</para>
[0cda5cf]56
[c9354ea0]57 <bridgehead renderas="sect3">Package Information</bridgehead>
58 <itemizedlist spacing="compact">
59 <listitem>
60 <para>Download (HTTP): <ulink url="&udev-download-http;"/></para>
61 </listitem>
62 <listitem>
63 <para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
64 </listitem>
[fe4bcdb]65 <!-- <listitem>
[c9354ea0]66 <para>Download MD5 sum: &udev-md5sum;</para>
[fe4bcdb]67 </listitem> -->
[c9354ea0]68 <listitem>
69 <para>Download size: &udev-size;</para>
70 </listitem>
71 <listitem>
72 <para>Estimated disk space required: &udev-buildsize;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated build time: &udev-time;</para>
76 </listitem>
77 </itemizedlist>
78
[fe4bcdb]79 <bridgehead renderas="sect3">Udev Dependencies</bridgehead>
[c9354ea0]80
81 <bridgehead renderas="sect4">Required</bridgehead>
[06f2ffb]82 <para role="required"><xref linkend="acl"/>,
83 <xref linkend="glib2"/>,
84 <xref linkend="gperf"/>,
[c9354ea0]85 <xref linkend="pciutils"/>, and
86 <xref linkend="usbutils"/></para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional"><xref linkend="gobject-introspection"/></para>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/udev"/></para>
93
94 </sect2>
95
96 <sect2 role="installation">
[fe4bcdb]97 <title>Installation of Udev</title>
[c9354ea0]98
[fe4bcdb]99 <para>Install <application>Udev</application> by running the following
[c9354ea0]100 commands:</para>
101
[fe4bcdb]102<screen><userinput>./configure --prefix=/usr \
103 --sysconfdir=/etc \
104 --sbindir=/sbin \
105 --with-rootlibdir=/lib \
106 --libexecdir=/lib/udev \
107 --docdir=/usr/share/doc/udev-&udev-version; &amp;&amp;
[c9354ea0]108make</userinput></screen>
109
110 <para>To test the results, issue: <command>make check</command>.</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
113
114<screen role="root"><userinput>make install</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
[e05cd03f]121 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[c9354ea0]122 href="../../xincludes/gtk-doc-rebuild.xml"/>
123
124 <para><option>--enable-introspection</option>: This option enables GObject
125 introspection.</para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
[49b9df3c]132 <para>A list of the installed files, along with their short descriptions
133 can be found at
134 <ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
135
136 <para>The following is some additional content information.</para>
137
[c9354ea0]138 <segmentedlist>
139 <segtitle>Installed Programs</segtitle>
[49b9df3c]140 <segtitle>Installed Library</segtitle>
[c9354ea0]141 <segtitle>Installed Directories</segtitle>
142
143 <seglistitem>
[0cda5cf]144 <seg>findkeyboards, firmware, hid2hci, input_id,
145 keyboard-force-release.sh, keymap, modem-modeswitch, pci-db, udev-acl,
146 usb-db, and v4l_id</seg>
[49b9df3c]147 <seg>libgudev-1.0.so</seg>
[0cda5cf]148 <seg>/lib/udev/keymaps/force-release,
149 /usr/{include/gudev-1.0/gudev,share/{doc/udev-&udev-version;,
150 gtk-doc/html/gudev}}</seg>
[c9354ea0]151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
[49b9df3c]159 <varlistentry id="hid2hci">
160 <term><command>hid2hci</command></term>
[c9354ea0]161 <listitem>
[49b9df3c]162 <para>is a Bluetooth HID to HCI mode switching utility.</para>
163 <indexterm zone="udev hid2hci">
164 <primary sortas="b-hid2hci">hid2hci</primary>
[c9354ea0]165 </indexterm>
166 </listitem>
167 </varlistentry>
168
[49b9df3c]169 <varlistentry id="keymap">
170 <term><command>keymap</command></term>
[c9354ea0]171 <listitem>
[49b9df3c]172 <para>configures computer model specific key mappings.</para>
173 <indexterm zone="udev keymap">
174 <primary sortas="b-keymap">keymap</primary>
[c9354ea0]175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="libgudev-1.0">
180 <term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
181 <listitem>
182 <para>is a GObject-based wrapper library for libudev.</para>
183 <indexterm zone="udev libgudev-1.0">
184 <primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.