2014-11-09 9:59 GMT-03:00 Charles Lepple <[email protected]>: > On Nov 9, 2014, at 6:58 AM, Marcelo Fernandez > <[email protected]> wrote: > >> I'm attaching a new debug log with this modification, just in case, >> but I'm still seeing the lines you've pointed at: >> >> 0.062308 Path: UPS.PowerSummary.Voltage, Type: Feature, >> ReportID: 0x05, Offset: 0, Size: 16, Value: 1 >> 0.062336 Report[buf]: (5 bytes) => 05 51 00 48 00 >> 0.062352 Path: UPS.PowerSummary.ConfigVoltage, Type: Feature, >> ReportID: 0x05, Offset: 16, Size: 16, Value: 0 >> 0.062379 ConfigVoltage = 0 -> assuming correction factor = 1e+08 > > Strange, I would have thought that the "Value: 0" would show the actual > number. Does it look like drivers/libhid.o got rebuilt?
Yes, at first I thought the same (that I did something wrong), but everything seems ok: root@nut:/home/marcelo/nut-2.7.2.5/drivers# ls libhid* -lh -rw-r--r-- 1 marcelo marcelo 28K nov 9 08:52 libhid.c -rw-r--r-- 1 marcelo marcelo 5,1K nov 6 11:08 libhid.h -rw-rw-r-- 1 marcelo marcelo 65K nov 9 08:52 libhid.o I edited the source file, did a "make" and "sudo make install". Then, I executed "/usr/local/ups/sbin/upsdrvctl start", "/usr/local/ups/sbin/upsd", and "/usr/local/ups/bin/upsc liebert" to get that output. I also have plugged and configured another UPS in that system, an APC via serial port, but it uses another driver and it doesn't seem to interfere with this one. > Can you retry with debug level 5 (-DDDDD) just once? Yes, no problem! I'd like this UPS to be well supported under Nut. :-) Thank you -- Marcelo F. Fernández Buenos Aires, Argentina Lic. en Sistemas de Información E-Mail: [email protected] Blog: http://blog.marcelofernandez.info Twitter: http://twitter.com/fidelfernandez
liebert-3.log.gz
Description: GNU Zip compressed data
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

