networkupstools / nut

The Network UPS Tools repository. UPS management protocol Informational RFC 9271 published by IETF at https://www.rfc-editor.org/info/rfc9271 Please star NUT on GitHub, this helps with sponsorships!
https://networkupstools.org/
Other
1.99k stars 349 forks source link

UPS Model "Powerwalker Basic VI 800 STL" not recognized - Driver startup issue #2319

Open tamenmd opened 7 months ago

tamenmd commented 7 months ago

Hello everyone,

I hope this is the right place to seek assistance. I am currently trying to install NUT on my server to work with my UPS, the "Powerwalker Basic VI 800 STL." Unfortunately, it seems that my UPS is not supported out of the box. I have attempted to test various drivers during the configuration, as suggested in the documentation, but without success.

When attempting to start the UPS driver with the command upsdrvctl start, I encounter the following error message:

Network UPS Tools - UPS driver controller 2.8.0
Network UPS Tools - Generic HID driver 0.47 (2.8.0)
USB communication driver (libusb 1.0) 0.43
libusb1: Could not open any HID devices: insufficient permissions on everything
No matching HID UPS found
Driver failed to start (exit status=1)

I attempted to explore alternative drivers, but the problem persists.

This is my lsusb Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS This is my nut-scanner -U

Scanning USB bus.
[nutdev1]
        driver = "usbhid-ups"
        port = "auto"
        vendorid = "0764"
        productid = "0601"
        bus = "001"

This is my /etc/nut/nut.conf

pollinterval = 15
maxretry = 3

offdelay = 120
ondelay = 240

[powerwalker]
    driver = usbhid-ups
    port = auto
    desc = "PowerWalker Basic VI 800 STL"
    vendorid = 0764
    productid = 0601

I would greatly appreciate any guidance or assistance in resolving this issue. Could it be that my UPS model is not supported, or is there a specific driver that I should try?

System Information: UPS Model: Powerwalker Basic VI 800 STL NUT Version: 2.8.0 OS: Proxmox 8.1.4

Thank you in advance for your help!

jimklimov commented 7 months ago

Did you run upsdrvctl as root or nut? A simple other user may have no rights to the USB devfs node.

Is NUT installed as a package? If yes - the nut-driver-enumerator (see wiki) may have already created and started a service unit based on the ups.conf section (would conflict with manual experiments).

jimklimov commented 7 months ago

Updated the https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE) article implied earlier with regard to specifically conflicts vs. upsdrvctl