[Nut-upsuser] APC 750VA UPS not recognized by NUT?
Andrew Min Chang
laplacezhang at 126.com
Fri Mar 9 07:15:29 UTC 2012
Good news, I make the UPSes recognized. Finally I found a solution:
Although I do not quite understand why.
As soon as I fix this, I send this patch to save your time.
However, it seemed that the APC UPS is not recognized by usbhid-ups as long as the Cyper-power UPS is also plugged to the same system. Is that behavior correct?
At 2012-03-08 21:11:15,"Charles Lepple" <clepple at gmail.com> wrote:
>On Mar 8, 2012, at 1:11 AM, Andrew Min Chang wrote:
>> # /usr/local/ups/bin/usbhid-ups -a APC_SMT_USB -DDD
>> Network UPS Tools - Generic HID driver 0.35 (2.6.3)
>> USB communication driver 0.31
>> 0.000000 debug level is '3'
>> 0.007846 upsdrv_initups...
>> 0.008253 No appropriate HID device found
>> 0.008335 No matching HID UPS found
>Are either of the /proc/bus/usb or /dev/bus/usb filesystems mounted? ('mount' will list all of them)
>I'm confused that you can see output from lsusb, but maybe that is consulting /sys/bus/usb.
>> Another information: I tried installing NUT on my host PC (with Redhat). The configurations are the same except for using gcc instead of cross compiling. Still neither UPS is recognized. But this time it printed a lot and the program seemed endless.
>> Part of the message is attched.
>Correct, running the driver with any -D flags will log debug output to the console, and will prevent the driver from going into the background.
>clepple at gmail
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nut-upsuser