Almost sure is a stupid question and I'm overlooking something here, but I'm playing around with my omv3 and ups with nut plugin and I'm encountering an issue without find a solution.
- I set up my omv3 mobo to wake up after power loss\back on (it works if I plug off the cord and back on it starts up as it should so is not the mobo)
- Then I installed nut-plugin and set the driver correctly for the Ups Eaton 5E650va and connected through usb to the server (lsusb recognize the ups connected correctly through usb)
- Configured the plugin per nut documentation with the driver configuration suggestion with: [eaton 5e] driver = usbhid-ups port = auto and have it to turn off the server after 30 sec
- Tested it plugging off the current from the ups, the ups battery kick in wait for 30 sec and then correctly shutdown the server (I can see it through the server cmdline aswell)
- Here come the problem when I put the cable back on the ups everything went back to normal with the ac, but the server remain powered off...it should turn on at least that's what I'm trying to achive.
Has anybody encounter the same problem with or without the same ups and found a way to fix it? Am I missing something here?
Some more useful information:
- psu atx be quit! system power 7 300 watt
- ups eaton5e 650i va
- motherboard asrock itx with function power on on ac back turned on (tested out with pluggin off on the cord it works)
lsusb:
Code
root@omv:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 0463:ffff MGE UPS Systems UPS
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
upsc command:
Code
root@omv:~# upsc eaton5e
Init SSL without certificate database
battery.charge: 71
battery.runtime: 959
battery.type: PbAc
device.mfr: EATON
device.model: 5E 650i
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.7.2
driver.version.data: MGE HID 1.33
driver.version.internal: 0.38
input.voltage: 228.0
outlet.1.status: on
outlet.desc: Main Outlet
outlet.id: 1
outlet.switchable: no
output.frequency: 49.9
output.frequency.nominal: 50
output.voltage: 226.0
output.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 02.06.0017
ups.load: 25
ups.mfr: EATON
ups.model: 5E 650i
ups.power.nominal: 650
ups.productid: ffff
ups.start.battery: yes
ups.status: OL CHRG
ups.timer.shutdown: -1
ups.vendorid: 0463
Alles anzeigen