NUT and Goldenmate UPS
-
Currently running pfsense CE with NUT package installed. I have NUT server running on a vm and nut-client on the rest of servers. All metrics are working.
Since pfsense do not get rebooted often, it is a better choice to run nut-server.
config to use usbhid-ups driver.
nut-scanner -U return information of the UPS.
System log show "driver not connected"
"upsc ups" failed to return details.
-
@moosport said in NUT and Goldenmate UPS:
Currently running pfsense CE with NUT package installed. I have NUT server running on a vm and nut-client on the rest of servers. All metrics are working.
Since pfsense do not get rebooted often, it is a better choice to run nut-server.
config to use usbhid-ups driver.
nut-scanner -U return information of the UPS.
This isn't enough information to provide guidance from.
Here is my best guess as to what you currently have:
- NUT server running on a dedicated OS
- NUT remote client running on pfSense
- Other systems running remote NUT clients.
Here is my best guess as to what you want:
- NUT server running on pfSense
- NUT remote clients on other systems connecting to the NUT server on pfSense
Is that correct?
If so:
- What model of UPS?
- What version of NUT are you currently running on the dedicated system?
- What is the configuration of NUT on the dedicated system?
- What hardware are you running pfSense on?
- What version of NUT are you running on pfSense?
- How have you configured the NUT server on pfSense?
- What entries are in the system log pertaining to the nut and the ups?
- Have you reviewed any of the pinned topics in this board?
-
@dennypage said in NUT and Goldenmate UPS:
@moosport said in NUT and Goldenmate UPS:
This isn't enough information to provide guidance from.
Here is my best guess as to what you currently have:
- NUT server running on a dedicated OS
- NUT remote client running on pfSense
- Other systems running remote NUT clients.
Here is my best guess as to what you want:
- NUT server running on pfSense
- NUT remote clients on other systems connecting to the NUT server on pfSense
Is that correct? Thats correct.
If so:
- What model of UPS? Goldenmate 1000VA Pro
- What version of NUT are you currently running on the dedicated system? 2.8.4
- What is the configuration of NUT on the dedicated system?
- What hardware are you running pfSense on?
- What version of NUT are you running on pfSense?
- How have you configured the NUT server on pfSense?
- What entries are in the system log pertaining to the nut and the ups?
- Have you reviewed any of the pinned topics in this board?
-
What model of UPS? Goldenmate 1000VA Pro
-
What version of NUT are you currently running on the dedicated system? 2.8.4
-
What is the configuration of NUT on the dedicated system?
ups.conf
[server-ups-goldenmate] driver = usbhid-ups desc = "Server Closet Goldenmate UPS" port = auto vendorid = 075D productid = 0300 bus = 001upsd.conf
LISTEN 0.0.0.0 3493upsmon.conf
MONITOR server-ups-goldenmate@localhost 1 user password primaryupsd.users
[adminuser] password = xxxxx actions = set actions = fsd instcmds = all upsmon primary [upsmon] password = xxxxx upsmon secondaryWhat hardware are you running pfSense on? Lenovo m920q
What version of NUT are you running on pfSense? 2.8.2 nut package
How have you configured the NUT server on pfSense?
UPS Type : Local USB UPS name: ups Driver : usbhid ups.conf: vendorid=075D productid=0300 bus=001 upsd.conf: LISTEN 127.0.0.1 LISTEN 192.168.1.1What entries are in the system log pertaining to the nut and the ups?
Poll UPS [ups] failed - Driver not connected Can't connect to UPS [ups] (usbhid-ups-ups): No such file or directoryHave you reviewed any of the pinned topics in this board?
yes. But dont think the quirks apply in this case. -
@moosport said in NUT and Goldenmate UPS:
Have you reviewed any of the pinned topics in this board?
yes. But dont think the quirks apply in this case.Why?
What is the output of
usbconfig dump_all_descand
usbconfig show_ifdrv -
@moosport said in NUT and Goldenmate UPS:
Goldenmate 1000VA Pro
Also of note is that this UPS will not be fully supported until NUT 2.8.5.
-
usbconfig dump_all_desc
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 <HUB> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <Intel> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00usbconfig show_ifdrv
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.1.0: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>remote ups works.

-
@moosport said in NUT and Goldenmate UPS:
usbconfig dump_all_desc
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 <HUB> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <Intel> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00usbconfig show_ifdrv
ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.1.0: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>I meant for you to run those commands with the UPS's USB cable connected to fSense.

-
thats what I was thinking when I posted it. Excuse me for the late response..
usbconfig dump_all_desc ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 <HUB> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x0000 idProduct = 0x0000 bcdDevice = 0x0100 iManufacturer = 0x0001 <Intel> iProduct = 0x0002 <XHCI root HUB> iSerialNumber = 0x0000 <no string> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x001f bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0040 bMaxPower = 0x0000 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0009 <HUB> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0002 bInterval = 0x00ff bRefresh = 0x0000 bSynchAddress = 0x0000 Additional Descriptor bLength = 0x06 bDescriptorType = 0x30 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x06, 0x30, 0x00, 0x00, 0x00, 0x00 ugen0.2: <-BMS- Smart-Battery> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (44mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x075d idProduct = 0x0300 bcdDevice = 0x0001 iManufacturer = 0x0001 <-BMS-> iProduct = 0x0002 <Smart-Battery> iSerialNumber = 0x0003 <J6152A5175FBE235854:25> bNumConfigurations = 0x0001 Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0022 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 <no string> bmAttributes = 0x0080 bMaxPower = 0x0016 Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0001 bInterfaceClass = 0x0003 <HID device> bInterfaceSubClass = 0x0000 bInterfaceProtocol = 0x0000 iInterface = 0x0000 <no string> Additional Descriptor bLength = 0x09 bDescriptorType = 0x21 bDescriptorSubType = 0x00 RAW dump: 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x23, 0x08 | 0x01 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 <IN> bmAttributes = 0x0003 <INTERRUPT> wMaxPacketSize = 0x0010 bInterval = 0x0021 bRefresh = 0x0000 bSynchAddress = 0x0000usbconfig show_ifdrv ugen0.1: <Intel XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.1.0: uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> ugen0.2: <-BMS- Smart-Battery> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (44mA) ugen0.2.0: uhid0: <-BMS- Smart-Battery, class 0/0, rev 1.10/0.01, addr 2> -
@moosport said in NUT and Goldenmate UPS:
idVendor = 0x075d
idProduct = 0x0300I don’t see a registered quirk for this pair. You will have to create one. See the quirk post for instructions.
-
@dennypage said in NUT and Goldenmate UPS:
@moosport said in NUT and Goldenmate UPS:
idVendor = 0x075d
idProduct = 0x0300I don’t see a registered quirk for this pair. You will have to create one. See the quirk post for instructions.
I understand this now. Thought user=root will suffice.
With the quirk created, the driver works now. Repointed all clients to new server.
Thank you @dennypage !
-