View previous topic :: View next topic |
Author |
Message |
stubby n00b
Joined: 10 Jun 2002 Posts: 57
|
Posted: Sun Mar 09, 2003 3:45 am Post subject: /proc/bus/usb ? |
|
|
I enabled USB in the kernel, and as it appears to see my camera and scanner. However, I never got an entry in /proc/bus for the usb (I only have pci there). Shouldn't there be one ? |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Sun Mar 09, 2003 3:54 am Post subject: |
|
|
I think you need to configure "Preliminary USB device filesystem"
into your kenrel.
Code: | Preliminary USB device filesystem
CONFIG_USB_DEVICEFS:
x If you say Y here (and to "/proc file system support" in the "File
x systems section, above), you will get a file /proc/bus/usb/devices
x which lists the devices currently connected to your USB bus or
x busses, a file /proc/bus/usb/drivers which lists the USB kernel
x client drivers currently loaded, and for every connected device a
x file named "/proc/bus/usb/xxx/yyy", where xxx is the bus number and
x yyy the device number; the latter files can be used by user space
x programs to talk directly to the device. These files are "virtual",
x meaning they are generated on the fly and not stored on the hard
drive.
x
x You may need to mount the usbdevfs file system to see the files, use
x mount -t usbdevfs none /proc/bus/usb
x
x For the format of the various /proc/bus/usb/ files, please read
x Documentation/usb/proc_usb_info.txt.
x
x Please note that this code is completely unrelated to devfs, the
x "/dev file system support".
x Most users want to say Y here. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|