public static String majorToName(int d) {
		if (d == 0x0000) {
			return "Miscellaneous";
		} else if (d == 0x0100) {
			return "Computer";
		} else if (d == 0x0200) {
			return "Phone";
		} else if (d == 0x0300) {
			return "LANAccessPoint";
		} else if (d == 0x0400) {
			return "AudioVideo";
		} else if (d == 0x0500) {
			return "Peripheral";
		} else if (d == 0x0600) {
			return "Imaging";
		} else if (d == 0x1F00) {
			return "Uncategorized";
		} else {
			return "UnknownMajorDevice(" + d + ")";
		}
	}