source: general/genlib/libusb.xml@ fe317cc5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 fe317cc5 was 3284a283, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Updates to libgcrypt-1.6.1, libusbx 1.0.18 and Pidgin 2.10.8.

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

  • Property mode set to 100644
File size: 5.2 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[096d4d4]7 <!ENTITY libusb-download-http "&sourceforge-repo;/libusbx/libusbx-&libusb-version;.tar.bz2">
[bb30c5b]8 <!ENTITY libusb-download-ftp " ">
[3284a283]9 <!ENTITY libusb-md5sum "f2ccd0589dde901dfd5607459f77bf44">
10 <!ENTITY libusb-size "492 KB">
11 <!ENTITY libusb-buildsize "5.2 MB (additional 2.8 MB for API documentation)">
[4ee3a30]12 <!ENTITY libusb-time "less than 0.1 SBU">
[52d29f7]13]>
14
[bdf5806e]15<sect1 id="libusb" xreflabel="libusb-&libusb-version;">
[fc3e01f]16 <?dbhtml filename="libusb.html"?>
[4c3474fe]17
[fc3e01f]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
[4c3474fe]22
[1f3b7a7]23 <title>libusb-&libusb-version;</title>
[4c3474fe]24
[fc3e01f]25 <indexterm zone="libusb">
[bb30c5b]26 <primary sortas="a-libusb">libusb</primary>
[fc3e01f]27 </indexterm>
28
29 <sect2 role="package">
[1f3b7a7]30 <title>Introduction to libusb</title>
[4c3474fe]31
[bb30c5b]32 <para>
33 The <application>libusb</application> package contains a library
34 used by some applications for USB device access.
35 </para>
[4c3474fe]36
[5f26d66f]37 &lfs74_checked;
[8c15e4c]38
[fc3e01f]39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[bb30c5b]42 <para>
43 Download (HTTP): <ulink url="&libusb-download-http;"/>
44 </para>
[fc3e01f]45 </listitem>
46 <listitem>
[bb30c5b]47 <para>
48 Download (FTP): <ulink url="&libusb-download-ftp;"/>
49 </para>
[fc3e01f]50 </listitem>
51 <listitem>
[bb30c5b]52 <para>
53 Download MD5 sum: &libusb-md5sum;
54 </para>
[fc3e01f]55 </listitem>
56 <listitem>
[bb30c5b]57 <para>
58 Download size: &libusb-size;
59 </para>
[fc3e01f]60 </listitem>
61 <listitem>
[bb30c5b]62 <para>
63 Estimated disk space required: &libusb-buildsize;
64 </para>
[fc3e01f]65 </listitem>
66 <listitem>
[bb30c5b]67 <para>
68 Estimated build time: &libusb-time;
69 </para>
[fc3e01f]70 </listitem>
71 </itemizedlist>
[4c3474fe]72
[1f3b7a7]73 <bridgehead renderas="sect3">libusb Dependencies</bridgehead>
[4c3474fe]74
[bb30c5b]75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="doxygen"/>
78 </para>
[4c3474fe]79
[1039de3]80 <para condition="html" role="usernotes">User Notes:
[bb30c5b]81 <ulink url="&blfs-wiki;/libusb"/>
82 </para>
[fc3e01f]83 </sect2>
[4c3474fe]84
[fc3e01f]85 <sect2 role="installation">
[1f3b7a7]86 <title>Installation of libusb</title>
[fc3e01f]87
[bb30c5b]88 <para>
89 Install <application>libusb</application> by running the following
90 commands:
91 </para>
[fc3e01f]92
[bb30c5b]93<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[fc3e01f]94make</userinput></screen>
95
[bb30c5b]96 <para>
97 If <application>Doxygen</application> is installed and you wish to
98 build the API documentation, issue the following command:
99 </para>
[fc3e01f]100
[bb30c5b]101<screen><userinput>make -C doc docs</userinput></screen>
[4c3474fe]102
[bb30c5b]103 <para>
104 This package does not come with a test suite.
105 </para>
[1f3b7a7]106
[bb30c5b]107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
[4c3474fe]110
[fc3e01f]111<screen role="root"><userinput>make install</userinput></screen>
112
[bb30c5b]113 <para>
114 If you built the API documentation, install it using the following
115 commands as the <systemitem class="username">root</systemitem> user:
116 </para>
[fc3e01f]117
118<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/libusb-&libusb-version;/apidocs &amp;&amp;
[d6fd371]119install -v -m644 doc/html/* \
120 /usr/share/doc/libusb-&libusb-version;/apidocs</userinput></screen>
[4c3474fe]121
[fc3e01f]122 </sect2>
[4c3474fe]123
[fc3e01f]124 <sect2 role="configuration">
125 <title>Configuring Libusb</title>
126
[bb30c5b]127 <para id="libusb-kernel">
128 To access raw USB devices (those not treated as a disk by the mass-storage
129 driver), appropriate support must be available in the kernel. Check your
130 kernel configuration for Device Drivers &rArr; USB support &rArr; Support
131 for Host-side USB. Select any USB hardware device drivers you may need
132 on the same page.
133 </para>
[9f12e36]134
[fc3e01f]135 <indexterm zone="libusb libusb-kernel">
[bb30c5b]136 <primary sortas="d-USB-device-filesystem">Support for Host-side USB</primary>
[fc3e01f]137 </indexterm>
[9f12e36]138
[bb30c5b]139 <para>
140 For more details on setting up USB devices, see <xref
141 linkend="usb-device-issues"/>.
142 </para>
143
[fc3e01f]144 </sect2>
[4c3474fe]145
[fc3e01f]146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
[c3c56b2]150 <segtitle>Installed Programs</segtitle>
[aff3caf0]151 <segtitle>Installed Library</segtitle>
[4ee3a30]152 <segtitle>Installed Directories</segtitle>
[4c3474fe]153
[fc3e01f]154 <seglistitem>
[c3c56b2]155 <seg>
156 None
157 </seg>
[bb30c5b]158 <seg>
159 libusb-1.0.so
160 </seg>
161 <seg>
162 /usr/include/libusb-1.0 and
163 /usr/share/doc/libusb-&libusb-version;
164 </seg>
[fc3e01f]165 </seglistitem>
166 </segmentedlist>
[4c3474fe]167
[fc3e01f]168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
[4c3474fe]172
[fc3e01f]173 <varlistentry id="libusb-lib">
[bb30c5b]174 <term><filename class='libraryfile'>libusb-1.0.so</filename></term>
[fc3e01f]175 <listitem>
[bb30c5b]176 <para>
177 contains API functions used for accessing USB hardware.
178 </para>
[fc3e01f]179 <indexterm zone="libusb libusb-lib">
[bb30c5b]180 <primary sortas="c-libusb">libusb-1.0.so</primary>
[fc3e01f]181 </indexterm>
182 </listitem>
183 </varlistentry>
[4c3474fe]184
[fc3e01f]185 </variablelist>
186
187 </sect2>
[bdf5806e]188
189</sect1>
Note: See TracBrowser for help on using the repository browser.