<div dir="ltr">I've eventually installed Manuel's packages (nut and nut-client).<div><br><div>When I run the driver as root (for my tripplite ups) I get:</div><div><br></div><font face="monospace">/usr/sbin/upsdrvctl start<br>Network UPS Tools - Generic HID driver 0.42 (v2.7.4-418-gb1314c62.7.4.1)<br>USB communication driver (libusb 0.1) 0.33<br>writepid: fopen /var/run/nut/usbhid-ups-trippliteups.pid: Permission denied<br>Can't claim USB device [09ae:1330]: could not detach kernel driver from interface 0: Operation not permitted<br>Driver failed to start (exit status=1)  </font></div><div><font face="monospace"><br></font></div><div>And I had to create manually /var/run/nut.</div><div><br></div><div>What is the problem there? <font face="monospace"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 23, 2017 at 8:27 PM Manuel Wolfshant <<a href="mailto:wolfy@nobugconsulting.ro">wolfy@nobugconsulting.ro</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/24/2017 04:52 AM, Charles Lepple wrote:<br>
> On Jun 23, 2017, at 5:50 PM, Ambrogio Coletti <<a href="mailto:ambrojohn@gmail.com" target="_blank">ambrojohn@gmail.com</a>> wrote:<br>
>> "This TrippLite device (09ae:1330) is not (or perhaps not yet) supported by usbhid-ups. [...]"<br>
>> but my device (SU2200RTXLCD2U) is supported, as clearly state here.<br>
> No, the HCL also mentions "protocol 4001". For Tripp-Lite, a USB PID other than 0001 is generally the protocol number. So your SU2200* model is different.<br>
><br>
> <a href="https://github.com/networkupstools/nut/issues/64" rel="noreferrer" target="_blank">https://github.com/networkupstools/nut/issues/64</a><br>
><br>
>> Then I thought I needed the last src code (2.7.4), hence I built it for my machine, but when I run it by:<br>
>> /usr/local/ups/sbin/upsdrvctl start<br>
> The Protocol 1330 support was added after 2.7.4 was released. You might be able to use a 2.7.4 tarball with "productid = 1330" in ups.conf, but voltages might be off by a factor of 10. You will also need to adjust the udev files manually to fix /dev/bus/usb permissions.<br>
><br>
> If you do choose to build using the latest source code from Git, be aware that you will need more tools, as specified in the Developer Guide: <a href="http://networkupstools.org/docs/developer-guide.chunked/ar01s03.html#building" rel="noreferrer" target="_blank">http://networkupstools.org/docs/developer-guide.chunked/ar01s03.html#building</a><br>
><br>
> It may be easier to use the 2.7.4 tarball, and add the patch which introduces Protocol 1330 support to the RPM spec file: <a href="https://github.com/networkupstools/nut/commit/4eff5b7068e9873ce11b5a296f403e8cdf0e3580" rel="noreferrer" target="_blank">https://github.com/networkupstools/nut/commit/4eff5b7068e9873ce11b5a296f403e8cdf0e3580</a><br>
I've uploaded to <a href="http://wolfy.fedorapeople.org/nut" rel="noreferrer" target="_blank">http://wolfy.fedorapeople.org/nut</a> a new set of packages<br>
based on the latest source code from git. Unfortunately they do not<br>
include any man pages, I did not have time to find a workaround for the<br>
hard requirement of newer versions for the tools used by the build<br>
process to create the man pages. I will fix that in a later set of packages.<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@lists.alioth.debian.org" target="_blank">Nut-upsuser@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>