/[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.8 Revision 1.13
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.8 2005/11/19 20:05:51 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.13 2006/11/27 00:13:19 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.6</version> 22<version>1.11</version>
23<date>2005-11-19</date> 23<date>2006-11-26</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>
179the kernel sources you want to use. Please ensure the same before proceeding. 179the kernel sources you want to use. Please ensure the same before proceeding.
180</note> 180</note>
181 181
182</body> 182</body>
183</section> 183</section>
184<section id="2.6.xconfig"> 184<section id="newkernelconfig">
185<title>Config options for the 2.6.x kernel</title> 185<title>Config options for the 2.6.x kernel</title>
186<body> 186<body>
187 187
188<p> 188<p>
189Now we will look at some of the options we will have to enable in the 2.6 189Now we will look at some of the options we will have to enable in the 2.6
190kernel to ensure proper USB support for our devices. If you are using a 2.4 190kernel to ensure proper USB support for our devices. If you are using a 2.4
191kernel, please proceed with <uri link="#2.4.xconfig">Config options for the 191kernel, please proceed with <uri link="#oldkernelconfig">Config options for the
1922.4.x kernel</uri>. 1922.4.x kernel</uri>.
193</p> 193</p>
194 194
195<note> 195<note>
196Examples in this document will show configuration options for basic USB 196Examples in this document will show configuration options for basic USB
232 232
233<comment>(Moving a little further down, we come to CDC and mass storage.)</comment> 233<comment>(Moving a little further down, we come to CDC and mass storage.)</comment>
234&lt; &gt; USB Modem (CDC ACM) support 234&lt; &gt; USB Modem (CDC ACM) support
235&lt;*&gt; USB Printer support 235&lt;*&gt; USB Printer support
236&lt;*&gt; USB Mass Storage support 236&lt;*&gt; USB Mass Storage support
237 [*] USB Mass Storage Write-Protected Media Detection (EXPERIMENTAL)
238 237
239<comment>(Then the HID bits. 238<comment>(Then the HID bits.
240You have to select HID input support if you have a USB keyboard, 239You have to select HID input support if you have a USB keyboard,
241mouse, joystick or any other USB input device)</comment> 240mouse, joystick or any other USB input device)</comment>
242--- USB Input Devices 241--- USB Input Devices
260working as it should. 259working as it should.
261</p> 260</p>
262 261
263</body> 262</body>
264</section> 263</section>
265<section id="2.4.xconfig"> 264<section id="oldkernelconfig">
266<title>Config options for the 2.4.x kernel</title> 265<title>Config options for the 2.4.x kernel</title>
267<body> 266<body>
268 267
269<p> 268<p>
270We will look at the options the we will have to enable in the 2.4 kernel to 269We will look at the options the we will have to enable in the 2.4 kernel to
271ensure proper USB support for our devices. If you are using a 2.6 kernel, 270ensure proper USB support for our devices. If you are using a 2.6 kernel,
272please look at <uri link="#2.6.xconfig">Config options for the 2.6.x 271please look at <uri link="#newkernelconfig">Config options for the 2.6.x
273kernel</uri>. 272kernel</uri>.
274</p> 273</p>
275 274
276<note> 275<note>
277Examples in this document will show configuration options for basic USB 276Examples in this document will show configuration options for basic USB
553<c>sys-apps/coldplug</c> does what hotplug does, but it does it for 552<c>sys-apps/coldplug</c> does what hotplug does, but it does it for
554<e>hot-pluggable</e> devices that are already connected at boot time. A good 553<e>hot-pluggable</e> devices that are already connected at boot time. A good
555example of this would be a USB Network card. Earlier, hotplug was the package 554example of this would be a USB Network card. Earlier, hotplug was the package
556responsible for handling both, but then it was split into hotplug and coldplug, 555responsible for handling both, but then it was split into hotplug and coldplug,
557with coldplug doing all the work. Install it if you have <e>hot-pluggable</e> 556with coldplug doing all the work. Install it if you have <e>hot-pluggable</e>
558devices that you need activated on boot up. 557devices that you need activated on boot up. Afterward, you can add the coldplug
558init script to the boot runlevel.
559</p> 559</p>
560 560
561<pre caption="Installing coldplug"> 561<pre caption="Installing coldplug">
562# <i>emerge coldplug</i> 562# <i>emerge coldplug</i>
563<comment>(And you can add it to the boot runlevel)</comment> 563<comment>(And you can add it to the boot runlevel)</comment>
565 * coldplug added to runlevel boot 565 * coldplug added to runlevel boot
566 * rc-update complete. 566 * rc-update complete.
567</pre> 567</pre>
568 568
569<note> 569<note>
570The above initscript does what hotplug's initscript used to do (for already 570You no longer need to emerge <c>coldplug</c> if you're using <c>udev</c> version
571attached hot-pluggable devices). The current <path>/etc/init.d/hotplug</path> 571103 and higher, as udev itself will handle module loading. If you are upgrading
572script does nothing more than check if the CONFIG_HOTPLUG is enabled for the 572to version 103, you must unmerge coldplug (<c>emerge -aC coldplug</c>) before
573current kernel. 573upgrading udev. Be sure to remove the coldplug init script from all runlevels
574(<c>rc-update del coldplug</c>), and then delete it from
575<path>/etc/init.d/</path> afterward.
574</note> 576</note>
575 577
576</body> 578</body>
577</section> 579</section>
578</chapter> 580</chapter>
607 </li> 609 </li>
608</ul> 610</ul>
609 611
610</body> 612</body>
611</section> 613</section>
614<section>
615<title>Other Interesting Links</title>
616<body>
617
618<ul>
619 <li><uri link="/doc/en/liveusb.xml">Gentoo Linux LiveUSB HOWTO</uri></li>
620</ul>
621
622</body>
623</section>
612</chapter> 624</chapter>
613</guide> 625</guide>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20