[Nut-upsdev] EPYC Quantum 1500va
Jim Klimov
jimklimov+nut at gmail.com
Sat Nov 4 17:17:35 GMT 2023
Hello,
Not sure from this log what exactly needs to be helped with? It ends with
logging into the data server to monitor "EPYC" and does not claim any
inability to do so. Does some HA console report UPS information?
Note that earlier "could not find PID" messages are just that: no earlier
running (or crashed) daemon instance was found, so this one does not have
to clean up before work.
The ones about fixing up invalid USB vendor HID reports... well, some
coders can't read the spec right, it seems; life is life - so we do what we
can about it. If you suspect this fix introduces some problems, that logic
can be disabled with an UPS config flag `disable_fix_report_desc` (no idea
how to set that with HA).
Jim
On Sat, Nov 4, 2023 at 6:06 PM Raul Milan via Nut-upsdev <
nut-upsdev at alioth-lists.debian.net> wrote:
> Good Evening, I recently purchased an EPYC quantum UPS. I installed
> NUT on the home assistant by connecting the UPS via USB and tried all
> the various drivers in the list, the only one that seems to work is:
> usbhid-ups
> with this log:
>
> s6-rc: info: service s6rc-oneshot-runner: starting
> s6-rc: info: service s6rc-oneshot-runner successfully started
> s6-rc: info: service base-addon-banner: starting
>
> -----------------------------------------------------------
> Add-on: Network UPS Tools
> Manage battery backup (UPS) devices
> -----------------------------------------------------------
> Add-on version: 0.12.2
> You are running the latest version of this add-on.
> System: Home Assistant OS 11.0 (aarch64 / raspberrypi3-64)
> Home Assistant Core: 2023.10.5
> Home Assistant Supervisor: 2023.10.1
> -----------------------------------------------------------
> Please, share the above information when looking for help
> or support in, e.g., GitHub, forums or the Discord chat.
> -----------------------------------------------------------
> s6-rc: info: service base-addon-banner successfully started
> s6-rc: info: service fix-attrs: starting
> s6-rc: info: service base-addon-timezone: starting
> s6-rc: info: service base-addon-log-level: starting
> s6-rc: info: service fix-attrs successfully started
> [17:19:09] INFO: Configuring timezone (Europe/Rome)...
> s6-rc: info: service base-addon-log-level successfully started
> s6-rc: info: service base-addon-timezone successfully started
> s6-rc: info: service legacy-cont-init: starting
> cont-init: info: running /etc/cont-init.d/nut.sh
> [17:19:13] INFO: Setting mode to netserver...
> [17:19:13] INFO: Generating /etc/nut/upsd.users...
> [17:19:14] INFO: Configuring user: Raul
> [17:19:17] INFO: Password is NOT in the Have I Been Pwned database! Nice!
> [17:19:20] INFO: Configuring Device named EPYC...
> [17:19:21] INFO: Starting the UPS drivers...
> HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may
> be incorrect; interpreting LogMax -1 as 65535 in ReportID: 0x0f
> Network UPS Tools - Generic HID driver 0.47 (2.8.0)
> HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may
> be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x12
> HIDParse: LogMax is less than LogMin. Vendor HID report descriptor may
> be incorrect; interpreting LogMax -1 as 255 in ReportID: 0x13
> USB communication driver (libusb 1.0) 0.43
> Using subdriver: CyberPower HID 0.6
> Network UPS Tools - UPS driver controller 2.8.0
> cont-init: info: /etc/cont-init.d/nut.sh exited 0
> cont-init: info: running /etc/cont-init.d/nutclient.sh
> cont-init: info: /etc/cont-init.d/nutclient.sh exited 0
> s6-rc: info: service legacy-cont-init successfully started
> s6-rc: info: service legacy-services: starting
> services-up: info: copying legacy longrun upsd (no readiness notification)
> services-up: info: copying legacy longrun upsmon (no readiness
> notification)
> s6-rc: info: service legacy-services successfully started
> [17:19:23] INFO: Starting the UPS information server...
> 0.000000 fopen /run/nut/upsd.pid: No such file or directory
> 0.000112 Could not find PID file '/run/nut/upsd.pid' to see if
> previous upsd instance is already running!
>
> 0.001586 [D1] debug level is '1'
> 0.002585 listening on 0.0.0.0 port 3493
> 0.004322 Connected to UPS [EPYC]: usbhid-ups-EPYC
> 0.012424 Running as foreground process, not saving a PID file
> [17:19:23] INFO: Starting the UPS monitor and shutdown controller...
> 0.000000 fopen /run/nut/upsmon.pid: No such file or directory
> 0.000110 Could not find PID file to see if previous upsmon instance
> is already running!
>
> 0.001042 Using power down flag file /etc/killpower
> 0.001609 UPS: EPYC at localhost (primary) (power value 1)
> 0.001763 [D1] debug level is '1'
> 0.001939 [D1] debug level is '1'
> 0.001977 Warning: running as one big root process by request (upsmon -p)
> 0.002388 [D1] Saving PID 459 into /run/nut/upsmon.pid
> Init SSL without certificate database
> 0.158135 [D1] Trying to connect to UPS [EPYC at localhost]
> 0.628063 User upsmonmaster at 127.0.0.1 logged into UPS [EPYC]
> 0.165988 [D1] Logged into UPS EPYC at localhost
>
> You can help me?
> Thanks Raul Milan
>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20231104/23e1a7c1/attachment.htm>
More information about the Nut-upsdev
mailing list