private static void maybePrintDeviceDetails (
	int indent,
	DeviceDescriptor info
    ) throws IOException
    {
	indent += 8;

	// FIXME: use external config data; XML format

	if (info.getDeviceClass () == Descriptor.CLASS_HUB)
	    printHubDetails (indent, info.getDevice ());

	else if (isPtp (info.getDevice ().getConfiguration ())) {

	    // FIXME:  if jPhoto is available it should
	    // be able to plug itself in ...

	    indentLine (indent, "This is a PTP device ... see:");
	    indentLine (indent, "http://jphoto.sourceforge.net");
	}

	else if (info.getVendorId () == 0x040a)
	    printKodakDetails (indent, info);

	else if (info.getVendorId () == 0x0841)
	    printDiamondDetails (indent, info);
    }