[Nut-upsuser] trouble building nut for HID-USB
Dorsey, Scott B. (LARC-D316)[LITES II]
scott.b.dorsey at nasa.gov
Wed Oct 12 18:00:35 UTC 2016
It does in fact show exactly what you describe. Udev is working properly with the device file being assigned to group
dialout, which the nut user is in. You were correct about my having had to install the libusb-devel kit to make 2.7.4
build, but it does build properly and everything seems to be working well, except that the driver only sometimes loads.
About 25% of the time I get this:
> NUT Starting UPS model drivers: Network UPS Tools - UPS driver controller 2.7.4
> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
> USB communication driver 0.33
> Using subdriver: TrippLite HID 0.82
and the rest of the time I get this:
> NUT Starting UPS model drivers: Network UPS Tools - UPS driver controller 2.7.4
> Network UPS Tools - Generic HID driver 0.41 (2.7.4)
> USB communication driver 0.33
> No matching HID UPS found
> Driver failed to start (exit status=1)
Which, sadly, is the same problem I was having with 2.6.5, although I think it is starting more often
with 2.7.4. It is very disturbing, though, to see something that only sometimes works and I am not sure
how to diagnose it from this point.
Also.... I had to write a new startup script to make 2.7.4 work with Centos 6.8. It should work with all
Centos 6. Do you want a copy of it? I am not sure I can donate it but I will see.
--scott
More information about the Nut-upsuser
mailing list