On Dec 17, 2011, at 3:53 AM, Arnaud Quette wrote: > Author: aquette > Date: Sat Dec 17 08:53:41 2011 > New Revision: 3363 > URL: http://trac.networkupstools.org/projects/nut/changeset/3363 > > Log: > Try to fix language ID support for USB units from LDLC, Dynamix and no names > in blazer_usb (reworked patch, from Brian R. Smith and Aurélien Grenotton) ... > + if (testvar("langid_fix")) { > + /* Hardcode lang to 0x4095 */ > + ret = usb_get_string(udev, command[i].index, > 0x4095, buf, buflen); > + }
Arnaud, Could this code use the langid_fix value which is set in upsdrv_initups() instead of 0x4095? Or am I misunderstanding how this is supposed to work? - Charles _______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
