<br><div class="gmail_quote">2011/12/17 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Dec 17, 2011, at 3:53 AM, Arnaud Quette wrote:<br>
<br>
> Author: aquette<br>
> Date: Sat Dec 17 08:53:41 2011<br>
> New Revision: 3363<br>
> URL: <a href="http://trac.networkupstools.org/projects/nut/changeset/3363" target="_blank">http://trac.networkupstools.org/projects/nut/changeset/3363</a><br>
><br>
> Log:<br>
> 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)<br>
</div>...<br>
<div class="im">> +                     if (testvar("langid_fix")) {<br>
> +                             /* Hardcode lang to 0x4095 */<br>
> +                             ret = usb_get_string(udev, command[i].index, 0x4095, buf, buflen);<br>
> +                     }<br>
<br>
</div>Arnaud,<br>
<br>
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?</blockquote><div><br>damn, could catch. I've triple checked everything, except that!<br>
in the end, there is a debugx value that should help doing so automatically <br></div></div><br>A call for testing mail is underway...<br><br>thanks,<br>Arno<br>