[Nut-upsuser] Belkin F6C1100-UNV

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Wed May 23 00:02:35 UTC 2007


On Wed, 23 May 2007 02:58:55 +0400, Peter Selinger <selinger at mathstat.dal.ca> wrote:

>> Let's think about it now.  We have a well-defined path to the error -- all
>> I have to do is delete those two lines in my ups.conf.  What can be done
>> in the code to make it emit a message that isn't a blank stone wall?  Or,
>> to put it another way, what can we do so that the users list will never
>> have to hear this question again?
>
> Well, the actual driver should print some message at debug level 0
> before croaking. Like "I didn't recognize this UPS; please try
> specifying the vendorid and/or subdriver parameters". I don't think it
> can be handled by upsdrvctl itself, as it can't know why some
> particular driver fails. The bad news is that it has to be done in
> each driver separately.
>
> Alexander, can you do that?
>
> Some other drivers, like newhidups, already do such a thing; see e.g.
> drivers/belkin-hid.c:404-408.
>

No problem, did that.

-- 
   Alexander



More information about the Nut-upsuser mailing list