<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof">
That It may be right (I don't know), however, where could we confirm whether 3024 is already supported for 2.8.0 or newer?</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);" class="elementToProof">
And let's suppose it is. Because current OpenWrt releases are built arround 2.7.4-27, what could I try to backport that (driver mod) to 2.7.4-27?</div>
<div id="appendonsend"></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>De:</b> Jim Klimov <jimklimov+nut@gmail.com><br>
<b>Enviado:</b> sábado, 6 de mayo de 2023 4:21 p. m.<br>
<b>Para:</b> Feliciano Chavez <chavezfeliciano@hotmail.com><br>
<b>Cc:</b> Arnaud Quette via Nut-upsuser <nut-upsuser@alioth-lists.debian.net><br>
<b>Asunto:</b> Re: [Nut-upsuser] NUT support for the new Tripp Lite AVR700U (USB 3024) under OpenWrt?</font>
<div> </div>
</div>
<div>
<div dir="auto">I think 3024 was added after NUT 2.7.4 release.</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, May 4, 2023, 18:20 Feliciano Chavez via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" data-auth="NotApplicable">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Dears,</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I'm trying to connect this new version of the AVR700U to nut - 2.7.4-27 running over OpenWrt 22.03.5, installed from the stable release repositories,
<span style="display: inline !important; background-color: rgb(255, 255, 255);">for an ath79 USB2.0 gigabit WiFi router</span>. </div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
According to the supported list, I thought this UPS was supposed to use the USB 2010 protocol, but I guess that was an old version because now uses the 3024 protocol (perhaps it would be good to add a note for future buyers). </div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
root@Router:/# lsusb
<div>Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.176 ehci_hcd EHCI Host Controller</div>
<div>Bus 002 Device 002: ID 09ae:3024 Tripp Lite AVR700U</div>
<div>Bus 002 Device 001: ID 1d6b:0001 Linux 5.10.176 ohci_hcd Generic Platform OHCI controller</div>
<div></div>
<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">Under networkupstools at github, I noticed the issue 808, which states this could be (partially) supported by including the vendor id and productid in ups.conf.
 Therefore, for the OpenWrt use case, I would have to add the following to /etc/config/nut-server:<br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">config driver 'tripplite'
<div>      option driver usbhid-ups</div>
<div>      option port auto</div>
<div>      option vendorid 09ae</div>
      option productid 3024<br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">This avoids the previous 3024 "not supported" error message, </span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">root@Router:/# upsdrvctl start
<div>Network UPS Tools - UPS driver controller 2.7.4</div>
<div>Network UPS Tools - Generic HID driver 0.41 (2.7.4)</div>
<div>USB communication driver 0.33</div>
<div>Using subdriver: TrippLite HID 0.82</div>
<br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">but still can't connect to the UPS:</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">root@Router:/# upsc tripplite
<div>Error: Driver not connected</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br>
</span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
So I kindly ask you what could we do in this case<br>
</div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br>
</span></div>
Note: I haven't seen an udev rules file under the running OpenWrt. </span></div>
<div style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="font-family: "Trebuchet MS", Trebuchet, sans-serif; font-size: 10pt; color: rgb(0, 0, 0);"><br>
</span></div>
</div>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" data-auth="NotApplicable">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" data-auth="NotApplicable">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote>
</div>
</div>
</body>
</html>