New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tripplite SMART500RT1U (09ae:3026) support #955
Comments
David from the NUT mailing list offered the following solution which works. In Truenas Core you can add the line to the "Auxiliary Parameters (ups.conf)" field of the UPS entry. Add 'productid = 3026' to UPS.conf |
I have a TrippLite and a solution like this one worked for me. In my [myups] "3024" is correct for my TrippLite but for yours, use 3026 probably. |
I'm having the same issue. I was able to get it approximately working by patching ups.conf as ATTR{idVendor}=="09ae", ATTR{idProduct}=="3026", MODE="664", GROUP="dialout" Without that, I was getting this error: libusb1: Could not open any HID devices: insufficient permissions on everything I guess that could also have been addressed by setting "user = root". But after this, I'm getting bogus values for output.voltage, and I'm getting no value for battery.runtime. Are other |
Now I'm wondering: do I need to patch drivers/tripplite-hid.c to add an entry like this? { USB_DEVICE(TRIPPLITE_VENDORID, 0x3026), smart1500lcdt_scale }, Or is protocol 3026 different than 3024? Has anybody else solved this? Thanks, |
With NUT v2.8.1 or newer, technically you can specify a new That said, I'm not fully sure how this ability would behave here with the additional modifiers like To build and test a customized driver, you can follow https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests |
I've got version 2.8.0 on CentOS Stream 9, but I guess I can upgrade to 2.8.1. |
For the record, without modifying the code at all, I did see that the ups.load value rose above zero once I plugged |
The output.voltage is not scaled properly, but I don't care so much about that value. I'll just assume that it's |
I purchased a Tripplite SMART500RT1U which NUT HCL shows as supported. I am running TrueNAS Core 12.0-U1 which has NUT functionality. The UPS identifies immediately when plugged in with USB, driver set to usbhid-ups, port doesn't matter but set to AUTO. It looks like this productid (09ae:3026) needs added to the driver. Until that happens can I add the -x ProductID somewhere to make it run correctly?
Problem: UPS not yet supported
% sudo 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
Duplicate driver instance detected! Terminating other driver!
This TrippLite device (09ae:3026) is not (or perhaps not yet) supported
by usbhid-ups. Please make sure you have an up-to-date version of NUT. If
this does not fix the problem, try running the driver with the
'-x productid=3026' option. Please report your results to the NUT user's
mailing list nut-upsuser@lists.alioth.debian.org.
No matching HID UPS found
Driver failed to start (exit status=1)
Driver ran with productid as suggested
% sudo /usr/local/libexec/nut/usbhid-ups -a SMART500RT1U -x productid=3026
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: TrippLite HID 0.82
The text was updated successfully, but these errors were encountered: