<div dir="auto">I'm mostly not online for a few more days, so can't check directly.<div dir="auto"><br></div><div dir="auto">The general answers to the two questions would be:</div><div dir="auto"><br></div><div dir="auto">1) checking if it is there:</div><div dir="auto">* revise if it is mentioned in the NEWS file (in sources - release tarball or on github);</div><div dir="auto">* check issues on github;</div><div dir="auto">* search/grep for 3024 in current/release-tagged codebase...</div><div dir="auto"><br></div><div dir="auto">2) getting it to your system: versioning looks debianish, some distros/repos (sid, experimental?) already shipped 2.8.0, maybe you can lift such a build to your box. Otherwise, build your own (in this case current master may be preferable to a year-old release with its few known issues baked in and fixed since, or making and adding custom patches to existing package recipe). It may be possible Several styles of instructions are in source docs, github wiki...</div><div dir="auto"><br></div><div dir="auto">Good luck, and</div><div dir="auto">Hope this helps,</div><div dir="auto">Jim Klimov</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 7, 2023, 01:27 Feliciano Chavez <<a href="mailto:chavezfeliciano@hotmail.com" target="_blank" rel="noreferrer">chavezfeliciano@hotmail.com</a>> wrote:<br></div><blockquote class="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)">
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)">
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="m_-4894085174058867509m_6291858287461332300appendonsend"></div>
<div style="font-family:"Trebuchet MS",Trebuchet,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-4894085174058867509m_6291858287461332300divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;color:rgb(0,0,0)"><b>De:</b> Jim Klimov <<a href="mailto:jimklimov%2Bnut@gmail.com" rel="noreferrer noreferrer" target="_blank">jimklimov+nut@gmail.com</a>><br>
<b>Enviado:</b> sábado, 6 de mayo de 2023 4:21 p. m.<br>
<b>Para:</b> Feliciano Chavez <<a href="mailto:chavezfeliciano@hotmail.com" rel="noreferrer noreferrer" target="_blank">chavezfeliciano@hotmail.com</a>><br>
<b>Cc:</b> Arnaud Quette via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">nut-upsuser@alioth-lists.debian.net</a>><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>
<div dir="ltr">On Thu, May 4, 2023, 18:20 Feliciano Chavez via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net" rel="noreferrer noreferrer" target="_blank">nut-upsuser@alioth-lists.debian.net</a>> wrote:<br>
</div>
<blockquote 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" rel="noreferrer noreferrer" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote></div>