usb.util
Class ShowTree

java.lang.Object
  |
  +--usb.util.ShowTree

public final class ShowTree
extends java.lang.Object

Displays the host's Universal Serial Bus (USB) in XML on standard output. This scans the preliminary USB device filesystem and looks at each device; it needs read/write access to a device file in order to do anything even vaguely intereseting with the device, but one hopes that will change over time.

This is here as a debug-and-get-going facility. It expects to be able to read (and, sadly, write) all /proc/bus/usb/BBB/DDD nodes; unfortunately, all these reads currently count as writes due to the odd permissions model currently used by usbdevfs.


Method Summary
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] argv)


Associated source code is licenced under the LGPL.
See http://jusb.sourceforge.net
This documentation was derived from that source code on 24-Jul-2002.