Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f8d9e286
Commit
f8d9e286
authored
May 29, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: remove some old references to /proc/bus/usb/drivers
This is needed, as the file was deleted over a year ago...
parent
6247b39a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
34 deletions
+9
-34
Documentation/usb/proc_usb_info.txt
Documentation/usb/proc_usb_info.txt
+4
-27
drivers/usb/core/Kconfig
drivers/usb/core/Kconfig
+5
-7
No files found.
Documentation/usb/proc_usb_info.txt
View file @
f8d9e286
/proc/bus/usb filesystem output
/proc/bus/usb filesystem output
===============================
===============================
(version 200
2.03.19
)
(version 200
3.05.30
)
The /proc filesystem for USB devices provides /proc/bus/usb/drivers
The usbfs filesystem for USB devices is traditionally mounted at
and /proc/bus/usb/devices, as well as /proc/bus/usb/BBB/DDD files.
/proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as
the /proc/bus/usb/BBB/DDD files.
**NOTE**: If /proc/bus/usb appears empty, and a host controller
**NOTE**: If /proc/bus/usb appears empty, and a host controller
...
@@ -68,30 +69,6 @@ usbfs mount options such as "devmode=0666" may be helpful.
...
@@ -68,30 +69,6 @@ usbfs mount options such as "devmode=0666" may be helpful.
THE /proc/bus/usb/drivers FILE:
-------------------------------
Each of the USB device drivers linked into your kernel (statically,
or dynamically using "modprobe") is listed in the "drivers" file.
Here's an example from one system:
usbdevfs
hub
0- 15: usblp
usbnet
serial
usb-storage
pegasus
If you see this file, "usbdevfs" and "hub" will always be listed,
since those are part of the "usbcore" framework.
Drivers that use the USB major number (180) to provide character devices
will include a range of minor numbers, as shown above for the "usblp"
(actually "printer.o") module. USB device drivers can of course use any
major number, but it's easy to use the USB range since there's explicit
support for subdividing it in the USB device driver framework.
THE /proc/bus/usb/devices FILE:
THE /proc/bus/usb/devices FILE:
-------------------------------
-------------------------------
In /proc/bus/usb/devices, each device's output has multiple
In /proc/bus/usb/devices, each device's output has multiple
...
...
drivers/usb/core/Kconfig
View file @
f8d9e286
...
@@ -19,13 +19,11 @@ config USB_DEVICEFS
...
@@ -19,13 +19,11 @@ config USB_DEVICEFS
If you say Y here (and to "/proc file system support" in the "File
If you say Y here (and to "/proc file system support" in the "File
systems" section, above), you will get a file /proc/bus/usb/devices
systems" section, above), you will get a file /proc/bus/usb/devices
which lists the devices currently connected to your USB bus or
which lists the devices currently connected to your USB bus or
busses, a file /proc/bus/usb/drivers which lists the USB kernel
busses, and for every connected device a file named
client drivers currently loaded, and for every connected device a
"/proc/bus/usb/xxx/yyy", where xxx is the bus number and yyy the
file named "/proc/bus/usb/xxx/yyy", where xxx is the bus number and
device number; the latter files can be used by user space programs
yyy the device number; the latter files can be used by user space
to talk directly to the device. These files are "virtual", meaning
programs to talk directly to the device. These files are "virtual",
they are generated on the fly and not stored on the hard drive.
meaning they are generated on the fly and not stored on the hard
drive.
You may need to mount the usbfs file system to see the files, use
You may need to mount the usbfs file system to see the files, use
mount -t usbfs none /proc/bus/usb
mount -t usbfs none /proc/bus/usb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment