<div dir="auto">I think 3024 was added after NUT 2.7.4 release.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 4, 2023, 18:20 Feliciano Chavez via Nut-upsuser <<a href="mailto:nut-upsuser@alioth-lists.debian.net">nut-upsuser@alioth-lists.debian.net</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)">
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" target="_blank" rel="noreferrer">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>