code: final int setParity(final int parity)
  	{
  		try {
  			return setControl(PARITY, parity);
  		}
  		catch (final IOException e) {
  			logger.error("set parity failed", e);
  		}
  		return 0;
  	}
docs: return previous parity mode