Changeset aa9bc4f
- Timestamp:
- 08/16/2004 05:19:08 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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
- Children:
- 9c69d5bc
- Parents:
- f9d2ee6
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rf9d2ee6 raa9bc4f 1 <!ENTITY day "1 5">1 <!ENTITY day "16"> 2 2 <!ENTITY month "08"> 3 3 <!ENTITY year "2004"> -
general/genlib/libusb.xml
rf9d2ee6 raa9bc4f 10 10 <!ENTITY libusb-buildsize "2.1 MB"> 11 11 <!ENTITY libusb-time "0.03 SBU"> 12 13 12 ]> 14 13 … … 23 22 <sect2> 24 23 <title>Introduction to <application>libusb</application></title> 25 24 26 25 <para>The <application>libusb</application> package contains a library 27 26 used by some applications for <acronym>USB</acronym> device access.</para> 28 27 29 28 <sect3><title>Package information</title> 30 29 <itemizedlist spacing='compact'> … … 35 34 <listitem><para>Estimated build time: &libusb-time;</para></listitem></itemizedlist> 36 35 </sect3> 37 36 38 37 <sect3><title><application>libusb</application> dependencies</title> 39 38 <sect4><title>Optional</title> 40 39 <para><xref linkend="openjade"/> and <xref linkend="sgml-dtd-3"/></para></sect4> 41 40 </sect3> 42 41 43 42 </sect2> 44 43 45 44 <sect2> 46 45 <title>Installation of <application>libusb</application></title> 47 48 <para>Install <application>libusb</application> by running the following commands:</para> 49 46 47 <para>Install <application>libusb</application> by running the following 48 commands:</para> 49 50 50 <screen><userinput><command>./configure --prefix=/usr --disable-build-docs && 51 51 make && 52 52 make install</command></userinput></screen> 53 53 54 54 </sect2> 55 55 56 56 <sect2> 57 57 <title>Command explanations</title> 58 59 <para><parameter>--disable-build-docs</parameter>: This switch turns off 60 the default enabled building of documentation since it requires 61 <application>OpenJade</application>.</para> 58 59 <para><option>--disable-build-docs</option>: This switch avoids building the 60 documentation. If you wish to build the documentation , you may need to remove 61 the <application>OpenSP</application> catalog definitions from the system 62 <acronym>SGML</acronym> catalogs. Use the following commands before building 63 the package to accomplish this:</para> 64 65 <screen><userinput><command>sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ 66 /etc/sgml/catalog && 67 sed -i.orig -e "/CATALOG \/etc\/sgml\/OpenSP-1.5.1.cat/d" \ 68 /etc/sgml/sgml-docbook.cat</command></userinput></screen> 69 70 <para>If desired, restore the orginal <acronym>SGML</acronym> catalogs after 71 the build is complete using the following commands:</para> 72 73 <screen><userinput><command>cp /etc/sgml/catalog.orig /etc/sgml/catalog && 74 cp /etc/sgml/sgml-docbook.cat.orig /etc/sgml/sgml-docbook.cat</command></userinput></screen> 75 62 76 </sect2> 63 77 64 78 <sect2> 65 79 <title>Configuring <application>libusb</application></title> 66 80 67 81 <!-- To be reviewed when hotplug enters the LFS book --> 68 82 69 83 <para>libusb requires the usbfs kernel filesystem to be mounted on 70 84 <filename class="directory">/proc/bus/usb</filename>. Applications 71 85 require the files in this directory to be accessible to the user, 72 86 sometimes for both reading and writing.</para> 73 87 74 88 <para>To restrict access to <acronym>USB</acronym> devices, create the 75 89 usb group:</para> 76 90 77 91 <screen><userinput><command>groupadd -g 15 usb</command></userinput></screen> 78 79 <para>To get usbfs mounted on boot, we will create a special init script, 80 because just putting an extra line into 81 <filename>/etc/fstab</filename> does not work for those who compiled 82 "USB device filesystem" as a kernel module. 83 Install <filename>/etc/rc.d/init.d/usb</filename> 84 init script included in the 85 <xref linkend="intro-important-bootscripts"/> package.</para> 86 87 92 93 <para>Mount usbfs at system boot-up using a special init script, as putting an 94 extra line into <filename>/etc/fstab</filename> does not work for those who 95 compiled "USB device filesystem" as a kernel module. Install the 96 <filename>/etc/rc.d/init.d/usb</filename> init script included in the 97 <xref linkend="intro-important-bootscripts"/> package:</para> 98 88 99 <screen><userinput><command>make install-usb</command></userinput></screen> 89 100 90 101 </sect2> 91 102 92 103 <sect2> 93 104 <title>Contents</title> 94 105 95 106 <para>The <application>libusb</application> package contains 96 107 <filename class="libraryfile">libusb</filename> libraries, 97 108 the <filename>/usr/include/usb.h</filename> header, 98 109 and a <command>usb-config</command> script.</para> 99 110 100 111 </sect2> 101 112 102 113 <sect2><title>Description</title> 103 114 104 115 <sect3><title>libusb libraries</title> 105 <para><filename class="libraryfile">libusb</filename> libraries contain C functions for106 accessing <acronym>USB</acronym> hardware.</para></sect3>107 116 <para><filename class="libraryfile">libusb</filename> libraries contain C 117 functions for accessing <acronym>USB</acronym> hardware.</para></sect3> 118 108 119 <sect3><title>usb-config</title> 109 120 <para>The <command>usb-config</command> script provides the right 110 compiler and linker flags for programs using 111 this library.</para></sect3> 112 121 compiler and linker flags for programs using this library.</para></sect3> 122 113 123 </sect2> 114 124 -
introduction/welcome/changelog.xml
rf9d2ee6 raa9bc4f 26 26 patch to -3 version as suggested by Kevin Fleming; added gcc34 patch to 27 27 OpenQuicktime instructions; added documentation build instructions to 28 Fontconfig a s suggested by Nico R.</para></listitem>28 Fontconfig and libusb as suggested by Nico R.</para></listitem> 29 29 30 30 <listitem><para>August 15th, 2004 [randy]: Added GPM as an optional
Note:
See TracChangeset
for help on using the changeset viewer.