mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-31 12:32:13 +08:00
06f2ffb37b
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8193 af4574ff-66df-0310-9fd7-8a98e5e911e0
221 lines
7.0 KiB
XML
221 lines
7.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY udev-download-http "http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2">
|
|
<!ENTITY udev-download-ftp " ">
|
|
<!ENTITY udev-md5sum "b3d3b5f88c7b81e7615700a04db685e1">
|
|
<!ENTITY udev-size "517 KB">
|
|
<!ENTITY udev-buildsize "11 MB">
|
|
<!ENTITY udev-time "0.2 SBU">
|
|
]>
|
|
|
|
<sect1 id="udev" xreflabel="udev-&udev-version;">
|
|
<?dbhtml filename="udev.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>udev-&udev-version;</title>
|
|
|
|
<indexterm zone="udev">
|
|
<primary sortas="a-udev">udev</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to udev</title>
|
|
|
|
<para><application>Udev</application> was indeed installed in LFS and there
|
|
is no reason to reinstall it unless you are going to install
|
|
<application>DeviceKit-power</application>. This installation of Udev
|
|
enables extra features which includes <application>gudev</application>, a
|
|
requirement for <application>DeviceKit-power</application>.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&udev-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&udev-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &udev-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &udev-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &udev-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &udev-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">udev Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="acl"/>,
|
|
<xref linkend="glib2"/>,
|
|
<xref linkend="gperf"/>,
|
|
<xref linkend="pciutils"/>, and
|
|
<xref linkend="usbutils"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="gobject-introspection"/></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/udev"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of udev</title>
|
|
|
|
<para>Install <application>udev</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
--sysconfdir=/etc --sbindir=/sbin \
|
|
--with-rootlibdir=/lib --libexecdir=/lib/udev \
|
|
--docdir=/usr/share/doc/udev-145 &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
|
href="../../xincludes/gtk-doc-rebuild.xml"/>
|
|
|
|
<para><option>--enable-introspection</option>: This option enables GObject
|
|
introspection.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<para>A list of the installed files, along with their short descriptions
|
|
can be found at
|
|
<ulink url="&lfs-root;/chapter06/udev.html#contents-udev"/>.</para>
|
|
|
|
<para>The following is some additional content information.</para>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>hid2hci, keymap, modem-modeswitch, pci-db, udev-acl, usb-db, and v4l_id</seg>
|
|
<seg>libgudev-1.0.so</seg>
|
|
<seg>/lib/udev/{keymaps,rules.d},
|
|
/usr/{include/gudev-1.0/gudev,share/{doc/udev-145/writing_udev_rules,
|
|
gtk-doc/html/{gudev,libudev}}}</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="hid2hci">
|
|
<term><command>hid2hci</command></term>
|
|
<listitem>
|
|
<para>is a Bluetooth HID to HCI mode switching utility.</para>
|
|
<indexterm zone="udev hid2hci">
|
|
<primary sortas="b-hid2hci">hid2hci</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="keymap">
|
|
<term><command>keymap</command></term>
|
|
<listitem>
|
|
<para>configures computer model specific key mappings.</para>
|
|
<indexterm zone="udev keymap">
|
|
<primary sortas="b-keymap">keymap</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<!-- <varlistentry id="modem-modeswitch">
|
|
<term><command>modem-modeswitch</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="udev modem-modeswitch">
|
|
<primary sortas="b-modem-modeswitch">modem-modeswitch</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="pci-db">
|
|
<term><command>pci-db</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="udev pci-db">
|
|
<primary sortas="b-pci-db">pci-db</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="udev-acl">
|
|
<term><command>udev-acl</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="udev udev-acl">
|
|
<primary sortas="b-udev-acl">udev-acl</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="usb-db">
|
|
<term><command>usb-db</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="udev usb-db">
|
|
<primary sortas="b-usb-db">usb-db</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="v4l_id">
|
|
<term><command>v4l_id</command></term>
|
|
<listitem>
|
|
<para>does this .....</para>
|
|
<indexterm zone="udev v4l_id">
|
|
<primary sortas="b-v4l_id">v4l_id</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry> -->
|
|
|
|
<varlistentry id="libgudev-1.0">
|
|
<term><filename class='libraryfile'>libgudev-1.0.so</filename></term>
|
|
<listitem>
|
|
<para>is a GObject-based wrapper library for libudev.</para>
|
|
<indexterm zone="udev libgudev-1.0">
|
|
<primary sortas="c-libgudev-1.0">libgudev-1.0.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|