Библиотека сайта или "Мой Linux Documentation Project"
The USB device filesystem is a dynamically generated filesystem, similar to
/proc filesystem. This filesystem can be mounted
just about anywhere, however it is customarily mounted on
which is an entry node created by the USB code, intended to be used as a
mount point for this system. Mounting in other locations may break utilities.
You need to select "Preliminary USB Device Filesystem" to make this work.
You also need to enable general
/proc support, and
to have it mounted (normally automatic).
To mount the filesystem, you need to be root. Use the mount
mount -t usbdevfs none /proc/bus/usb.
Note that the
none keyword is arbitrary - you
can use anything, and some people prefer to use
usbdevfs, as it makes the mount output look better.
none /proc/bus/usb usbdevfs defaults 0 0
/proc/bus/usbshould look something like:
dr-xr-xr-x 1 root root 0 Jan 26 10:40 001 -r--r--r-- 1 root root 0 Jan 26 10:40 devices -r--r--r-- 1 root root 0 Jan 26 10:40 drivers
Full interpretation of the
drivers files is provided later in this guide, in the
user's section. Use of the numbered entries is provided later in this guide,
in the programmer's guide.
|How to get USB devices working under Linux||Up||USB Human Interface Device (HID) Configuration|
Только зарегистрированные пользователи могут оценивать и комментировать статьи.