Comments (4)
Hello, a couple of quick ideas first:
- make sure that udev/upower rules got applied (e.g. services restarted, including
systemctl restart udev
or a reboot), especially if you hadmake install
deliver the NUT rules files and none were present before (as from packaging, earlier release, etc.) - this is often behind permissions issues - check also https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests for recently tested hints about building and installing in a systemd-based environment (closer to the end)
- for CPS-derived devices there's also https://github.com/networkupstools/nut/wiki/CyberPower-Systems-(CPS)-know-how - notably, their controllers tend to go to sleep at inconvenient times (more frequent polling may help)
- there were also quite a few stability reports with Raspberries involved, still not sure if that is a problem with the platform or testament to its popularity :) It seems RPi3 and RPi5 are involved more frequently than RPi4, for what it's worth...
Also, can you show lsusb -vvv -d 0764:0601
- specifically I wonder what it says where it reports how many "interfaces" it has, with their transfer sizes. Recently more and more devices are on the market whose USB HID interface is not number zero, NUT is catching up with those (master
branch recently grew driver options for forcing a custom number, helpful at least for experiments)...
from nut.
Thanks for your first quick ideas. It seams that if I do a usbreset 0764:0601
before starting the services or manually running usbhid-ups
then the connection is established.
I'm currently building the current master and will retry. Meanwhile: here is the output from lsusb -vvv -d 0764:0601
Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0764 Cyber Power System, Inc.
idProduct 0x0601 PR1500LCDRT2U UPS
bcdDevice 2.00
iManufacturer 3 1
iProduct 1 3000
iSerial 2 000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0029
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 739
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 20
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 20
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
from nut.
Thanks! So it seems there is one descriptor, so at least this part should be pretty normal:
bDescriptorType 34 Report
wDescriptorLength 739
from nut.
OK, so I did a complete fresh reinstall, changed the config files and it's working fine now (and persistently stable through reboots).
I have absolutely no idea what the issue was before - probably a reboot after the make install would have been a good idea.
A Raspberry is now master and there are 2 WinNUT clients (Windows 2022 VMs), 3 Proxmox Servers and two QNAP Systems as slaves configured and working.
Thanks for your help!
from nut.
Related Issues (20)
- Failed to open device (1D6B/0003), skipping: Access denied (insufficient permissions) | Eaton 9130 HOT 5
- Weird connectivity issues with a generic ViewPower UPS HOT 2
- nut-2.8.2 does not seem to honor DEADTIME HOT 8
- With `nut.exe` help and docs, suggest (automate?) using `net start/stop SERVICENAME` to actually start/stop NUT for Windows
- usbhid-ups: Eaton input.current value is always 0 HOT 4
- APC SRV2KA support HOT 3
- upsmon fails to start if the old pid happens to exist for an unrelated process HOT 14
- NOTIFYCMD does not work HOT 3
- Connectivity Issues with GE VH3000 UPS (Now owned by ABB) HOT 16
- Trying to upgrade on RPi HOT 15
- [HCL] <Cyber Energy> <Models with USB ID 0483:A430> supported by <usbhid-ups> HOT 1
- Cyberpower PR2200LCDSL: frequent usbfs errors HOT 1
- Supported device: GreenCell UPS07 (800VA)
- Salicru SPS 2000 ADV T not showing HOT 6
- [HCL] PowerWalker VI 800 CSW supported by nutdrv_qx HOT 1
- `usbhid-ups` sucks CPU in a tight `select` loop (2.8.2+ later branch build) HOT 8
- How to Set ECO/HE mode in Eaton 9E model HOT 2
- How to use nut-monitor on primary without actualy shuting down the system? HOT 12
- snmp-ups pw driver not working for Eaton Network-M2 HOT 4
- Temperature not reported for SMT1500i HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.