[Nut-upsuser] Bug#671444: LiebertPSP

Charles Lepple clepple at gmail.com
Thu May 10 11:58:42 UTC 2012


On May 10, 2012, at 4:38 AM, Arnaud Quette wrote:

> 2012/5/10 Charles Lepple <clepple at gmail.com>:
>> On May 9, 2012, at 11:27 AM, Arnaud Quette wrote:
>> 
>>> this thread has just popped again, but on the Debian side this time:
>>> http://bugs.debian.org/671444
>>> 
>>> what's exactly the situation of fixes WRT issues?
>>> the last mail I have on this thread is attached below...
>> 
>> Attached is a patch corresponding to the following branch:
>> 
>>   https://github.com/clepple/nut/tree/git-LiebertPSP-scalefactor
>> 
>> At this point, it is probably safe to merge.
> 
> it applies fine on the trunk.
> should I go ahead and merge it?

Sure, but is it possible to build a .deb for Alastair to test, just to make sure we're fixing the same problem? (I'm not sure if Debian has something like Ubuntu's PPA system.)

Aside: it is annoying that with a 16-bit field for the USB PID, companies insist on reusing the VID:PID combinations for drastically different firmware.

> also, does it fix all the known issues related to this scaling factor?

The two potential remaining problems are with ups.load and the RB flag, but they are not as critical as the OB/LB flags.

>> It does not, however, change the subdriver to liebert-hid.
> 
> I'm not sure to get all the whizzbang that may hide behind this comment ;-)
> AFAIK, liebert-hid seems to be for Liebert OEM manufactured by
> Phoenixtec with a limited set of data.
> while belkin-hid has a more advanced approach.
> so it's fine as you did. the problem of subdriver naming is something
> else, that will never be able to completely address due to mergers,
> OEM, ...

In this message, Alastair cited Pier's patch which changes the subdriver for 10af:0001 from belkin-hid to liebert-hid. Due to the way that we match the HID usages, we probably could have put the scale fixes in the liebert-hid subdriver instead, but I agree that belkin-hid is probably the right mapping under the hood.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list