(fwd since message body is too big) WARNING: though I've done everything to avoid regression, please test your HID subdriver thoroughly! Subject: svn commit r2041 - trunk/drivers Author: aquette Date: Thu Oct 22 08:46:56 2009 New Revision: 2041 Log: - implement full duplex data lookup: this allows to format back complex values to send to the UPS (ie for upsrw / upscmd using non simple data mapping), - add enumerated values support, by changing info_lkp_t->fun prototype, and adding HU_FLAG_ENUM, - fix the instcmd return codes to more appropriate values, - add a dstate_addenum() support stub in dstate-hal.c - enforce checking in mge-hid.c for output.voltage.nominal values, along with the restriction to Protection Station specific feature. Also add support for "ups.date"and "ups.time", along with some specific Usage code completion, - adapt the HID subdrivers lookup functions to the above changes. cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/