[Nut-upsuser] NUT support for the new Tripp Lite AVR700U (USB 3024) under OpenWrt?

Feliciano Chavez chavezfeliciano at hotmail.com
Sat May 6 23:27:53 BST 2023


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?
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?

________________________________
De: Jim Klimov <jimklimov+nut at gmail.com>
Enviado: sábado, 6 de mayo de 2023 4:21 p. m.
Para: Feliciano Chavez <chavezfeliciano at hotmail.com>
Cc: Arnaud Quette via Nut-upsuser <nut-upsuser at alioth-lists.debian.net>
Asunto: Re: [Nut-upsuser] NUT support for the new Tripp Lite AVR700U (USB 3024) under OpenWrt?

I think 3024 was added after NUT 2.7.4 release.

On Thu, May 4, 2023, 18:20 Feliciano Chavez via Nut-upsuser <nut-upsuser at alioth-lists.debian.net<mailto:nut-upsuser at alioth-lists.debian.net>> wrote:
Dears,

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, for an ath79 USB2.0 gigabit WiFi router.

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).
root at Router:/# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.176 ehci_hcd EHCI Host Controller
Bus 002 Device 002: ID 09ae:3024 Tripp Lite AVR700U
Bus 002 Device 001: ID 1d6b:0001 Linux 5.10.176 ohci_hcd Generic Platform OHCI controller

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:
config driver 'tripplite'
      option driver usbhid-ups
      option port auto
      option vendorid 09ae
      option productid 3024
This avoids the previous 3024 "not supported" error message,
root at Router:/# upsdrvctl start
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

but still can't connect to the UPS:
root at Router:/# upsc tripplite
Error: Driver not connected

So I kindly ask you what could we do in this case

Note: I haven't seen an udev rules file under the running OpenWrt.

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at alioth-lists.debian.net<mailto:Nut-upsuser at alioth-lists.debian.net>
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20230506/2da9990d/attachment-0001.htm>


More information about the Nut-upsuser mailing list