nightmorph 08/06/22 01:13:02 Modified: usb-guide.xml Log: updated USB HID config location. this update covers the handbooks and the USB guide. for the latter, i removed the section on kernel 2.4 configuration, as there are no 2.4 kernels supported by gentoo.
Revision Changes Path 1.18 xml/htdocs/doc/en/usb-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/usb-guide.xml?rev=1.18&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/usb-guide.xml?rev=1.18&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/usb-guide.xml?r1=1.17&r2=1.18 Index: usb-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- usb-guide.xml 19 May 2008 21:04:48 -0000 1.17 +++ usb-guide.xml 22 Jun 2008 01:13:02 -0000 1.18 @@ -1,6 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.17 2008/05/19 21:04:48 swift Exp $ --> - +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/usb-guide.xml,v 1.18 2008/06/22 01:13:02 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/usb-guide.xml"> @@ -19,8 +18,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.13</version> -<date>2007-04-09</date> +<version>1.14</version> +<date>2008-06-21</date> <chapter> <title>Introduction</title> @@ -148,13 +147,6 @@ <title>Getting the kernel</title> <body> -<note> -Since the 2005.0 release, Gentoo Linux uses 2.6 as the default kernel. Unless -you are specifically using the 2.4 profile, <c>gentoo-sources</c> will be a -2.6 kernel on <e>most</e> architectures. Please check your kernel version and -then proceed with the configuration accordingly. -</note> - <p> First emerge the kernel sources of your choice. Here we'll use the <c>gentoo-sources</c>. For more information on the various kernel sources @@ -182,15 +174,13 @@ </body> </section> -<section id="newkernelconfig"> -<title>Config options for the 2.6.x kernel</title> +<section> +<title>Config options for the kernel</title> <body> <p> -Now we will look at some of the options we will have to enable in the 2.6 -kernel to ensure proper USB support for our devices. If you are using a 2.4 -kernel, please proceed with <uri link="#oldkernelconfig">Config options for the -2.4.x kernel</uri>. +Now we will look at some of the options we will have to enable in the kernel to +ensure proper USB support for our devices. </p> <note> @@ -205,7 +195,7 @@ files accordingly. </note> -<pre caption="make menuconfig options for 2.6 kernels"> +<pre caption="make menuconfig options"> Device Drivers ---> SCSI device support ---> @@ -236,13 +226,6 @@ <*> USB Printer support <*> USB Mass Storage support -<comment>(Then the HID bits. -You have to select HID input support if you have a USB keyboard, -mouse, joystick or any other USB input device)</comment> ---- USB Input Devices -<*> USB Human Interface Device (full HID) support - [*] HID input layer support - <comment>(If you have a USB Network Card like the RTL8150, you'll need this)</comment> USB Network Adapters ---> <*> USB RTL8150 based ethernet device support (EXPERIMENTAL) @@ -254,82 +237,22 @@ </pre> <p> -Now that your options are set, you can (re)compile the kernel and USB support -should be functional once you reboot into the new kernel. You can now proceed -to <uri link="#postkern">Seeing USB at work</uri> and see if everything is -working as it should. +If you have a USB keyboard, mouse, joystick, or any other input device, you need +to enable HID support. Go back one level to "Device drivers" and enable HID +support as shown: </p> -</body> -</section> -<section id="oldkernelconfig"> -<title>Config options for the 2.4.x kernel</title> -<body> - -<p> -We will look at the options the we will have to enable in the 2.4 kernel to -ensure proper USB support for our devices. If you are using a 2.6 kernel, -please look at <uri link="#newkernelconfig">Config options for the 2.6.x -kernel</uri>. -</p> - -<note> -Examples in this document will show configuration options for basic USB -support as well as those needed commonly, for example a USB mass storage -device (most cameras and USB pen drives). If you have a specific USB device -that needs to be configured, please look up your device's manual or search -online to see if that device has support built-in into the kernel or custom -drivers that you can use. Please note that for the sake of ease, all examples -have the options compiled into the kernel. If you would like to have a modular -kernel, ensure that you note down the various modules and adjust your config -files accordingly. -</note> - -<pre caption="make menuconfig options for 2.4 kernels"> -<comment>(This immediate config is only for those who have USB input devices. -Input core support is needed by USB HID later.)</comment> -Input core support ---> - <*> Input core support - < > Keyboard support - < > Mouse support - < > Event interface support - -USB support ---> - -<comment>(This is the root hub and is required for USB support. -If you'd like to compile this as a module, it will be called usbcore.o)</comment> -<*> Support for USB - -<comment>(Enable this option to see your USB devices in /proc/bus/usb. -This is recommended.)</comment> - [*] Preliminary USB device filesystem - -<comment>(Select at least one of the HCDs. If you are unsure, picking all is fine.)</comment> ---- USB Host Controller Drivers -<*> UHCI Alternate Driver (JE) support -< > OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support - -<comment>(This is the device section. Select only what you need.)</comment> ---- USB Device Class drivers -< > USB Audio support -<*> USB Mass Storage support -< > USB Modem (CDC ACM) support -<*> USB Printer support - -<comment>(Followed by the HID section. This is needed if you have an USB based input device.)</comment> ---- USB Human Interface Devices (HID) -<*> USB Human Interface Device (full HID) support - [*] HID input layer support - -<comment>(If you have a serial to USB converter like the Prolific 2303, you'll need this)</comment> -USB Serial Converter support ---> - <*> USB Serial Converter support - <*> USB Prolific 2303 Single Port Serial Driver (NEW) +<pre caption="Enabling HID support"> +Device Drivers ---> + [*] HID Devices ---> + <*> USB Human Interface Device (full HID) support </pre> <p> -Now that the options are set, you can (re)compile the kernel and USB support -should be functional once you reboot into the new kernel. +Now that your options are set, you can (re)compile the kernel and USB support +should be functional once you reboot into the new kernel. You can now proceed +to <uri link="#postkern">Seeing USB at work</uri> and see if everything is +working as it should. </p> </body> -- [email protected] mailing list
