PDA

View Full Version : USB View



TheCyberDude
09-20-2003, 07:15 AM
USB View

If you get an error opening USB View, insert the following code into /etc/fstab.


none /proc/bus/usb usbfs defaults 0 0

This will mount usbfs at each reboot.
You can then issue `cat /proc/bus/usb/devices` to extract
USB device information, and user mode drivers can use usbfs
to interact with USB devices.

Comment out ( proc /proc proc defaults 0 0 ) if in fstab. Also, on first reboot you will get errors - just reboot once more and everything will be fine.


Manual way to use USB View is:

mount -t usbfs none /proc/bus/usb

then as root run USB View.


http://www.internettrash.com/users/thecyberdude/TheCyberDude.gif

user unknown
05-09-2004, 06:39 AM
Well - but this will not work with kernel 2.6 when build according to the suggestions, where you should use sysfs.

usb will then be shown in
/sys/bus/usb/
and
/proc/bus/usb/
stays empty all night long.