Edit: - Solved by not using "NUT". I instead installed apcupsd following this tutorial:
https://www.brunweb.de/configuration-of-an-apc-ups-under-proxmox/
worked out of the box with no error messages.
So for me problem solved!
I am new to proxmox ve software and these forums. I could use some help.
As stated above I have an Dell R710 server with Proxmox VE 7.3-3 loaded on it. Got a new APC Back-UPS XS 850M for Xmas and trying to get it setup. I have been following this tutorial
https://www.kreaweb.be/diy-home-server-2021-software-proxmox-ups/
As you can see below (sorry for the long post) I installed nut, and started to configure per the above shown tutorial. When I get to the point of having the ups.conf and the nut.conf files done and go to test the driver can't find a ups hid device (No matching HID UPS found). I have googled for hours and tried many things to fix including several re-boots and a couple of power down/wait 15 minutes+/then start up and can't get this to work. Any help would be much appreciated.
my /etc/nut/ups.conf is really simple with 1 line in it:
my etc/nut/nut.conf is fairly simple also:
At this point in the tutorial to test I try the following command:
It fail as follows:
I have googled for several hours and tried many things. I found a post that said it was a permissions and to create a udev rule. Which I did as follows:
I have also made sure that both root and the user "nut" belong to the "nut" group.
when I run lsusb I get:
when I run lsusb -v -s 002:003:
when i run ls -al on /dev/bus/usb/002/003 I get:
when i run udevadm monitor i get:
So can anyone tell me what I have done wrong or why this driver doesn't see my UPS?
Sorry for such a long post but wanted to provide as much info as I can.
Thanks in advance for any response!
https://www.brunweb.de/configuration-of-an-apc-ups-under-proxmox/
worked out of the box with no error messages.
So for me problem solved!
I am new to proxmox ve software and these forums. I could use some help.
As stated above I have an Dell R710 server with Proxmox VE 7.3-3 loaded on it. Got a new APC Back-UPS XS 850M for Xmas and trying to get it setup. I have been following this tutorial
https://www.kreaweb.be/diy-home-server-2021-software-proxmox-ups/
As you can see below (sorry for the long post) I installed nut, and started to configure per the above shown tutorial. When I get to the point of having the ups.conf and the nut.conf files done and go to test the driver can't find a ups hid device (No matching HID UPS found). I have googled for hours and tried many things to fix including several re-boots and a couple of power down/wait 15 minutes+/then start up and can't get this to work. Any help would be much appreciated.
my /etc/nut/ups.conf is really simple with 1 line in it:
MODE=netserver
my etc/nut/nut.conf is fairly simple also:
pollinterval = 15
maxretry = 3
offdelay = 120
ondelay = 240
[apc]
# APC Back-UPS XS 850M
driver = usbhid-ups
port = auto
desc = "APC Back-UPS XS 850M"
vendorid = 051D
productid = 0002
serial = 4B2237P13079
At this point in the tutorial to test I try the following command:
upsdrvctl start
It fail as follows:
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
No matching HID UPS found
Driver failed to start (exit status=1)
I have googled for several hours and tried many things. I found a post that said it was a permissions and to create a udev rule. Which I did as follows:
rule name: 90-ups.rules located in folder /etc/udev/rules.d
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="051d", ATTR{idProduct}=="0002", MODE=='0660"GROUP="nut"
I have also made sure that both root and the user "nut" belong to the "nut" group.
when I run lsusb I get:
Bus 002 Device 003: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
when I run lsusb -v -s 002:003:
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x051d American Power Conversion
idProduct 0x0002 Uninterruptible Power Supply
bcdDevice 0.90
iManufacturer 1 American Power Conversion
iProduct 2 Back-UPS XS 850M FW:944.d11 .D USB FW:d11
iSerial 3 4B2237P14079
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 1049
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 0x0008 1x 8 bytes
bInterval 100
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
when i run ls -al on /dev/bus/usb/002/003 I get:
crw-rw-r-- 1 root nut 189, 130 Dec 26 14:53 /dev/bus/usb/002/003
when i run udevadm monitor i get:
KERNEL[6943.674045] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/usbmisc/hiddev0 (usbmisc)
KERNEL[6943.674079] remove /class/usbmisc (class)
KERNEL[6943.674222] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008/hidraw/hidraw0 (hidraw)
KERNEL[6943.674240] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008 (hid)
KERNEL[6943.674260] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008 (hid)
KERNEL[6943.674278] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[6943.674296] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[6943.674369] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
KERNEL[6943.674391] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
UDEV [6943.682754] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/usbmisc/hiddev0 (usbmisc)
UDEV [6943.682929] remove /class/usbmisc (class)
UDEV [6943.683324] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008/hidraw/hidraw0 (hidraw)
UDEV [6943.683931] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008 (hid)
UDEV [6943.684056] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0008 (hid)
UDEV [6943.684537] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
UDEV [6943.684659] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
UDEV [6943.685214] unbind /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
UDEV [6943.685290] remove /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
KERNEL[6949.565137] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
KERNEL[6949.566956] change /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
KERNEL[6949.566979] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[6949.573739] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009 (hid)
KERNEL[6949.574293] add /class/usbmisc (class)
KERNEL[6949.574473] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/usbmisc/hiddev0 (usbmisc)
KERNEL[6949.574555] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009/hidraw/hidraw0 (hidraw)
KERNEL[6949.574590] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009 (hid)
KERNEL[6949.574617] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
KERNEL[6949.574649] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
UDEV [6949.575302] add /class/usbmisc (class)
UDEV [6949.575603] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
UDEV [6949.576713] change /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
UDEV [6949.577489] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
UDEV [6949.577942] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/usbmisc/hiddev0 (usbmisc)
UDEV [6949.578071] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009 (hid)
UDEV [6949.580228] add /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009/hidraw/hidraw0 (hidraw)
UDEV [6949.580801] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0/0003:051D:0002.0009 (hid)
UDEV [6949.581316] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1/2-1:1.0 (usb)
UDEV [6949.581979] bind /devices/pci0000:00/0000:00:1a.0/usb2/2-1 (usb)
So can anyone tell me what I have done wrong or why this driver doesn't see my UPS?
Sorry for such a long post but wanted to provide as much info as I can.
Thanks in advance for any response!
Last edited: