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)
- Summary PowerWalker VFI 3000 CG PF1 HOT 23
- blazer_usb failing after apt-get upgrade HOT 4
- Support of linux hwmon (ina219) HOT 1
- Issues with Bookworm and NUT upscode2 > 2.7.4 HOT 9
- usbhid-ups: Eaton battery.voltage value is missing
- Invalid signature on nut-2.8.2 HOT 20
- CI: Add a test case for NUT with musl libc implementation (and non-fatally, a recent collectd source for good measure)
- CPS FAQ - quick discharge (from IRC)
- [HCL] APC Back-UPS RS 1200 aka APC Back-UPS Pro 1200VA/720W (NUT 2.8.2)
- blazer_usb:how display battery.runtime on NUT HOT 9
- Driver riello_ser have the same issue #1685 of riello_usb about battery capacity and runtime HOT 5
- Driver `main.c`: use Unix socket protocol to kill off "Duplicate other instance" HOT 2
- NUT systemd unit journals duplicate some lines
- UPS Visench C1K not support HOT 30
- Use `upsdebug_with_errno()` instead of a few cases calling `upsdebugx(..., errno, strerror())` explicitly
- Support for CyberPower Smart App online double conversion UPS HOT 2
- New device FSP FP650 HOT 2
- logging "nut_libusb_get_string: Success" every 12 seconds HOT 9
- strange data in logs, `file_report_buffer: expected 2 bytes, but got 512 ` HOT 2
- The dictionary in NUT sources also stores keywords for spell-checking nut-website
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.