Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

usb problems

Status
Not open for further replies.

Alvinston

IS-IT--Management
Oct 16, 2002
1
CA
I am having problems with using usb devices in Redhat 7.2.

usbview showed the following message:
Can not open file /proc/bus/usb/devices
Verify that you have USB compiled in your kernel, have the usb core modules loaded, and have the usbdevfs filesystem mounted.

The directory /proc/bus/usb does not exist.

How can I tell if usb is complied in my kernel? If not what steps should I take?
 
Try
dmesg|grep usb
You should see something like
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 15:37:13 Jun 10 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver

Or
lsmod
You should see something like
eepro100 20336 2
ide-cd 30272 0 (autoclean)
cdrom 32032 0 (autoclean) [ide-cd]
loop 10928 0 (autoclean)
usb-uhci 24484 0 (unused)
usbcore 71904 1 [usb-uhci]
ext3 67328 4
jbd 49496 4 [ext3]
lvm-mod 64608 3

If nothing mentioning usb appears here, try to look at /lib/modules/<your_kernel_version>/kernel/drivers/usb. If it is not here, your usb support is compiled in kernel or not compiled at all. Then, recompile your kernel with usb support. BUT - usb support is always included in new stock RH kernels.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top