/[gentoo]/xml/htdocs/doc/en/usb-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/usb-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.15 2007/03/13 01:04:29 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.16 2007/04/10 06:48:59 nightmorph Exp $ -->
3 3
4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 4<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
5 5
6<guide link="/doc/en/usb-guide.xml"> 6<guide link="/doc/en/usb-guide.xml">
7<title>Gentoo Linux USB Guide</title> 7<title>Gentoo Linux USB Guide</title>
17 17
18<!-- The content of this document is licensed under the CC-BY-SA license --> 18<!-- The content of this document is licensed under the CC-BY-SA license -->
19<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 19<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
20<license/> 20<license/>
21 21
22<version>1.12</version> 22<version>1.13</version>
23<date>2007-03-12</date> 23<date>2007-04-09</date>
24 24
25<chapter> 25<chapter>
26<title>Introduction</title> 26<title>Introduction</title>
27<section> 27<section>
28<title>What is USB?</title> 28<title>What is USB?</title>
507 507
508<p> 508<p>
509You can easily correlate the outputs of <c>lsusb</c> and <c>lsusb -t</c>, 509You can easily correlate the outputs of <c>lsusb</c> and <c>lsusb -t</c>,
510which helps debugging as well as understanding how USB works. 510which helps debugging as well as understanding how USB works.
511</p> 511</p>
512
513</body>
514</section>
515<section>
516<title>Hotplug</title>
517<body>
518
519<p>
520Gentoo uses <c>sys-apps/hotplug</c> to do some magic with <e>hot-pluggable</e>
521devices. Just like any other magic trick, there is a simple logic behind this
522one too. We shall now see what that is, and in the process hopefully we will be
523able to understand it better.
524</p>
525
526<p>
527Firmware can be defined as the software on a piece of hardware that is loaded
528and executed but can't be modified easily. Many devices have firmware in them
529to ensure that they work properly and often firmware may contain code that is
530critical to ensure that the hardware performs as expected. Firmware is present
531in a wide variety of computer devices ranging from ROM chips to state of the
532art USB and PCMCIA cards. When a device is plugged in, the firmware (which may,
533in some cases, be the driver as well) is read and loaded onto memory after
534which the device can be used by the system.
535</p>
536
537<p>
538To cut the long story short, Gentoo uses <c>sys-apps/hotplug</c> to handle
539the firmware side of things in <e>hot-pluggable</e> devices.
540<c>sys-apps/hotplug</c> will use the required firmware to make that device
541usable. The firmware should be put in the <path>/lib/firmware</path> directory
542and is picked up from there. Getting it is simple; the usual emerge will do.
543</p>
544
545<pre caption="Installing hotplug">
546# <i>emerge hotplug</i>
547</pre>
548 512
549</body> 513</body>
550</section> 514</section>
551</chapter> 515</chapter>
552 516

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20