I have my Umbrel plugged into an APC UPS (uninterruptible power supply). My goal is to have it gracefully shut down in the event of an extended power outage where the UPS battery also becomes depleted. I am attempting to configure it via this guide: https://github.com/PLEBNET/wiki.plebnet.org#advanced-ups-setup
I am running Umbrel version 0.3.14, Bitcoin core is 100% synced.
I have the UPS data cable plugged into one of the USB 2 (black) ports on the Pi 4. I have a Samsung T5 portable SSD plugged into one of the USB 3 (blue) ports.
- I have
apcupsd.confconfigured as described in the above guide and restarted
- I try
apcaccess status, but it doesn’t detect the UPS
- I tired different USB ports, no change
apcaccess status output:
APC : 001,018,0438 DATE : 2021-07-05 13:54:56 +0000 HOSTNAME : umbrel VERSION : 3.14.14 (31 May 2016) debian UPSNAME : myups CABLE : USB Cable DRIVER : USB UPS Driver UPSMODE : Stand Alone STARTTIME: 2021-07-05 13:32:29 +0000 STATUS : COMMLOST MBATTCHG : 5 Percent MINTIMEL : 3 Minutes MAXTIME : 0 Seconds NUMXFERS : 0 TONBATT : 0 Seconds CUMONBATT: 0 Seconds XOFFBATT : N/A STATFLAG : 0x05000100 END APC : 2021-07-05 13:54:56 +0000
It doesn’t appear the UPS is being detected via USB
Bus 002 Device 002: ID 04e8:61f5 Samsung Electronics Co., Ltd Portable SSD T5 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Attempted to restart the node, no change. Took a look at
dmesg and I’m not seeing anything related to the UPS. I’m also seeing a repeated message along the lines of,
[ 3226.797997] usb 1-1: new high-speed USB device number 105 using xhci_hcd [ 3226.798138] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1. [ 3227.006166] xhci_hcd 0000:01:00.0: Setup ERROR: setup address command for slot 1. [ 3227.213993] usb 1-1: device not accepting address 105, error -22 [ 3227.214322] usb usb1-port1: unable to enumerate USB device
Seems that these messages continue, even when the UPS in unplugged (so maybe unrelated?). Unsure how to continue troubleshooting. My questions are;
- Why is my UPS not being recognized?
- What do these errors in
Appreciate any help or insight!