Proc/Driver - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

The subdirectories and files available within /proc/bus/ vary depending on the devices connected
to the system. However, each bus type has at least one directory. Within these bus directories are
normally at least one subdirectory with a numerical name, such as 001, which contain binary files.
For example, the /proc/bus/usb/ subdirectory contains files that track the various devices on any
USB buses, as well as the drivers required for them. The following is a sample listing of a /proc/
bus/usb/ directory:
total 0 dr-xr-xr-x
-r--r--r--
1 root
-r--r--r--
1 root
The /proc/bus/usb/001/ directory contains all devices on the first USB bus and the devices file
identifies the USB root hub on the motherboard.
The following is a example of a /proc/bus/usb/devices file:
T:
Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=
B:
Alloc=
0/900 us ( 0%), #Int=
D:
Ver= 1.00 Cls=09(hub
P:
Vendor=0000 ProdID=0000 Rev= 0.00
S:
Product=USB UHCI Root Hub
S:
SerialNumber=d400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=
I:
If#= 0 Alt= 0 #EPs= 1 Cls=09(hub
E:
Ad=81(I) Atr=03(Int.) MxPS=

3.3.3. /proc/driver/

This directory contains information for specific drivers in use by the kernel.
A common file found here is rtc which provides output from the driver for the system's Real Time
Clock (RTC), the device that keeps the time while the system is switched off. Sample output from /
proc/driver/rtc looks like the following:
rtc_time
: 16:21:00
rtc_date
: 2004-08-31
rtc_epoch
: 1900
alarm
: 21:16:27
DST_enable
: no
BCD
: yes
24hr
: yes
square_wave
: no
alarm_IRQ
: no
update_IRQ
: no
periodic_IRQ
: no
periodic_freq
: 1024
batt_status
: okay
For more information about the RTC, refer to the following installed documentation:
/usr/share/doc/kernel-doc-<version>/Documentation/rtc.txt.
1 root
root
root
0 May
root
0 May
0, #Iso=
) Sub=00 Prot=00 MxPS= 8 #Cfgs=
0mA
) Sub=00 Prot=00 Driver=hub
8 Ivl=255ms
0 May
3 16:25 001
3 16:25 devices
3 16:25 drivers
1 Spd=12
MxCh= 2
0
1
/proc/driver/
35

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents