Copyright (C) 2000-2012 |
Manpages usbmodulesSection: Linux USB Utilities (8)Updated: 12 June 2001 Index Return to Main Contents NAMEusbmodules - List kernel driver modules available for a plugged in USB deviceSYNOPSISusbmodules [--device /proc/bus/bus/NNN/NNN] [--check modulename] [--help] [--mapfile pathname] [--version pathname]DESCRIPTIONusbmodules lists driver modules that may be able to manage interfaces on currently plugged in USB devices. usbmodules may be used by /sbin/hotplug or one of its agents (normally /etc/hotplug/usb.agent) when USB devices are "hot plugged" into the system. This can be done by the following Bourne shell syntax:
The DEVICE environment variable is passed from the kernel to /sbin/hotplug during USB hotplugging if the kernel was configured using usbdevfs. usbmodules currently requires usbdevfs to operate. When a USB device is removed from the system, the Linux kernel will decrement a usage count on USB driver module. If this count drops to zero (i.e., there are no clients for the USB device driver), then the modprobe -r process that is normally configured to run from cron every few minutes will eventually remove the unneeded module. OPTIONS
FILES
SEE ALSOlsusb(8), http://linux-hotplug.sourceforge.netAUTHORusbmodules was written by Adam J. Richter <adam@yggdrasil.com>, and is based partly on lsusb, which was written by Thomas Sailer <sailer@ife.ee.ethz.ch>.
COPYRIGHTusbmodules is copyright 2000, Yggdrasil Computing, Incorporated, and copyright 1999, Thomas Sailer. usbmodules may may be copied under the terms and conditions of version 2 of the GNU General Public License as published by the Free Software Foundation (Cambrige, Massachusetts, United States of America).
IndexThis document was created by man2html, using the manual pages. Time: 12:43:51 GMT, April 23, 2024 |