[Nut-upsuser] NUT support for the new Tripp Lite AVR700U (USB 3024) under OpenWrt?
Jim Klimov
jimklimov+nut at gmail.com
Mon May 8 12:27:18 BST 2023
I'm mostly not online for a few more days, so can't check directly.
The general answers to the two questions would be:
1) checking if it is there:
* revise if it is mentioned in the NEWS file (in sources - release tarball
or on github);
* check issues on github;
* search/grep for 3024 in current/release-tagged codebase...
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...
Good luck, and
Hope this helps,
Jim Klimov
On Sun, May 7, 2023, 01:27 Feliciano Chavez <chavezfeliciano at hotmail.com>
wrote:
> 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> 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
> 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/20230508/894d7eff/attachment.htm>
More information about the Nut-upsuser
mailing list