- 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.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static void main(java.lang.String argv)