Differences between version 2 and predecessor to the previous major change of ModuleNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Thursday, August 9, 2007 12:33:09 am | by BenStaz | Revert |
Older page: | version 1 | Last edited on Monday, February 26, 2007 3:03:46 pm | by GerwinVanDeSteeg | Revert |
@@ -54,9 +54,58 @@
install ohci1394 /bin/true
install eth1394 /bin/true
install sbp2 /bin/true
</pre>
+
+!!What on earth does that kernel module do?
+
+Try this command. It parses the Kconfig files (displayed when using ''make menuconfig'') found in your kernel source directory.
+
+*module="<module name>"; find -name 'Kconfig' -type f -exec awk 'BEGIN{RS="\nconfig|\nsource"}/'"$module"'/' {} \;
+
+Example of Use:
+
+<verbatim>
+staz@tokra:/usr/src/linux-source-2.6.20$ module="usbcore"; find -name 'Kconfig' -type f -exec awk 'BEGIN{RS="\nconfig|\nsource"}/'"$module"'/' {} \;
+ USB
+ tristate "Support for Host-side USB"
+ depends on USB_ARCH_HAS_HCD
+ ---help---
+ Universal Serial Bus (USB) is a specification for a serial bus
+ subsystem which offers higher speeds and more features than the
+ traditional PC serial port. The bus supplies power to peripherals
+ and allows for hot swapping. Up to 127 USB peripherals can be
+ connected to a single USB host in a tree structure.
+
+ The USB host is the root of the tree, the peripherals are the
+ leaves and the inner nodes are special USB devices called hubs.
+ Most PCs now have USB host ports, used to connect peripherals
+ such as scanners, keyboards, mice, modems, cameras, disks,
+ flash memory, network links, and printers to the PC.
+
+ Say Y here if your computer has a host-side USB port and you want
+ to use USB devices. You then need to say Y to at least one of the
+ Host Controller Driver (HCD) options below. Choose a USB 1.1
+ controller, such as "UHCI HCD support" or "OHCI HCD support",
+ and "EHCI HCD (USB 2.0) support" except for older systems that
+ do not have USB 2.0 support. It doesn't normally hurt to select
+ them all if you are not certain.
+
+ If your system has a device-side USB port, used in the peripheral
+ side of the USB protocol, see the "USB Gadget" framework instead.
+
+ After choosing your HCD, then select drivers for the USB peripherals
+ you'll be using. You may want to check out the information provided
+ in <file:Documentation/usb/> and especially the links given in
+ <file:Documentation/usb/usb-help.txt>.
+
+ To compile this driver as a module, choose M here: the
+ module will be called usbcore.
+</verbatim>
+
+It's certainly not perfect (awk expression could do with a bit of tweaking) and unfortunately some of the Kconfig menu items do not specify what the name of the kernel module is.
+
----
CategoryKernel