David Woodhouse
2012-Apr-27 14:20 UTC
[Nut-upsdev] HCL: Zigor Danubio 2000 supported(ish) by blazer_usb
http://www.zigor.com/uk/index.php/en/products/upssystems/danubioseries Ships with UPSilon 2000 software, and appears to work with blazer_usb to a certain extent with the following config: [danubio] driver = blazer_usb langid_fix = 0x409 port = stupidly, I seem to have to set this even though it's ignored vendorid=0001 productid=0000 Yes, vendor 0001, device 0000. idVendor 0x0001 Fry's Electronics idProduct 0x0000 bcdDevice 1.00 iManufacturer 1 iProduct 2 iSerial 0 I get meaningful output from upsc (and yes, it was on battery at this point): battery.voltage: 38.70 battery.voltage.nominal: 36.0 beeper.status: enabled device.mfr: device.model: 2000VA UPS device.type: ups driver.name: blazer_usb driver.parameter.langid_fix: 0x409 driver.parameter.pollinterval: 2 driver.parameter.port: foo driver.parameter.productid: 0000 driver.parameter.vendorid: 0001 driver.version: 2.6.3 driver.version.internal: 0.04 input.current.nominal: 8.7 input.frequency: 0.0 input.frequency.nominal: 50 input.voltage: 0.0 input.voltage.fault: 0.0 input.voltage.nominal: 230 output.voltage: 227.0 ups.delay.shutdown: 30 ups.delay.start: 180 ups.firmware: VER 40643U ups.load: 3 ups.mfr: ups.model: 2000VA UPS ups.productid: 0000 ups.status: OB ups.temperature: 28.0 ups.type: offline / line interactive ups.vendorid: 0001 However, none of the commands listed by upscmd actually seem to do anything. I can't make it shut down, and even beeper.toggle doesn't seem to do anything (whether it's on battery or not). [root at shinybook upsilon]# upscmd -l danubio Instant commands supported on UPS [danubio]: beeper.toggle - Toggle the UPS beeper load.off - Turn off the load immediately load.on - Turn on the load immediately shutdown.return - Turn off the load and return when power is back shutdown.stayoff - Turn off the load and remain off shutdown.stop - Stop a shutdown in progress test.battery.start - Start a battery test test.battery.start.deep - Start a deep battery test test.battery.start.quick - Start a quick battery test test.battery.stop - Stop the battery test -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5818 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120427/990b10d0/attachment.bin>
Arnaud Quette
2012-May-03 17:00 UTC
[Nut-upsdev] HCL: Zigor Danubio 2000 supported(ish) by blazer_usb
Hi David, 2012/4/27 David Woodhouse <dwmw2 at infradead.org>:> http://www.zigor.com/uk/index.php/en/products/upssystems/danubioseries > > Ships with UPSilon 2000 software, and appears to work with blazer_usb to > a certain extent with the following config: > > [danubio] > ? ? ? driver = blazer_usb > ? ? ? ?langid_fix = 0x409 > ? ? ? ?port = stupidly, I seem to have to set this even though it's ignored > ? ? ? ?vendorid=0001 > ? ? ? ?productid=0000 > > Yes, vendor 0001, device 0000. > > ?idVendor ? ? ? ? ? 0x0001 Fry's Electronics > ?idProduct ? ? ? ? ?0x0000 > ?bcdDevice ? ? ? ? ? ?1.00 > ?iManufacturer ? ? ? ? ? 1 > ?iProduct ? ? ? ? ? ? ? ?2 > ?iSerial ? ? ? ? ? ? ? ? 0 > > > I get meaningful output from upsc (and yes, it was on battery at this > point): > > battery.voltage: 38.70 > battery.voltage.nominal: 36.0 > beeper.status: enabled > device.mfr: > device.model: 2000VA UPS > device.type: ups > driver.name: blazer_usb > driver.parameter.langid_fix: 0x409 > driver.parameter.pollinterval: 2 > driver.parameter.port: foo > driver.parameter.productid: 0000 > driver.parameter.vendorid: 0001 > driver.version: 2.6.3 > driver.version.internal: 0.04 > input.current.nominal: 8.7 > input.frequency: 0.0 > input.frequency.nominal: 50 > input.voltage: 0.0 > input.voltage.fault: 0.0 > input.voltage.nominal: 230 > output.voltage: 227.0 > ups.delay.shutdown: 30 > ups.delay.start: 180 > ups.firmware: VER 40643U > ups.load: 3 > ups.mfr: > ups.model: 2000VA UPS > ups.productid: 0000 > ups.status: OB > ups.temperature: 28.0 > ups.type: offline / line interactive > ups.vendorid: 0001 > > However, none of the commands listed by upscmd actually seem to do > anything. I can't make it shut down, and even beeper.toggle doesn't seem > to do anything (whether it's on battery or not). > > [root at shinybook upsilon]# upscmd -l danubio > Instant commands supported on UPS [danubio]: > > beeper.toggle - Toggle the UPS beeper > load.off - Turn off the load immediately > load.on - Turn on the load immediately > shutdown.return - Turn off the load and return when power is back > shutdown.stayoff - Turn off the load and remain off > shutdown.stop - Stop a shutdown in progress > test.battery.start - Start a battery test > test.battery.start.deep - Start a deep battery test > test.battery.start.quick - Start a quick battery test > test.battery.stop - Stop the battery testthanks for your report. part of the above command, and standard behavior, shutdown.* and load.* should at least be supported. could you please make the following test: - shutdown the computer and remove it from the UPS load, - restart everything, - stop upsmon, - stop the driver $ upsdrvctl stop - start the driver in debug $ /path/to/blazer_usb -DDDDD -a <devname> - in a separate console, launch some upscmd (load.*, shutdown.* or test.battery.start.*) and send me both the upscmd and driver outputs (compressed or offsite links please!) Testing the shutdown procedure is also welcome. cheers, Arnaud
David Woodhouse
2012-May-03 18:21 UTC
[Nut-upsdev] HCL: Zigor Danubio 2000 supported(ish) by blazer_usb
On Thu, 2012-05-03 at 19:00 +0200, Arnaud Quette wrote:> > could you please make the following test: > - shutdown the computer and remove it from the UPS load, > - restart everything, > - stop upsmon, > - stop the driver > $ upsdrvctl stop > - start the driver in debug > $ /path/to/blazer_usb -DDDDD -a <devname> > - in a separate console, launch some upscmd (load.*, shutdown.* or > test.battery.start.*) > > and send me both the upscmd and driver outputs (compressed or offsite > links please!)http://david.woodhou.se/blazer.txt http://david.woodhou.se/control.txt 19.469011 send: S00R0000 19.469093 read: S00R0000 19.469151 instcmd: command [load.off] handled ? 43.884598 send: S.5R0000 43.884648 read: S.5R0000 43.884669 instcmd: command [shutdown.stayoff] handled ? 60.970103 send: Q 61.357733 received 22 (22) 61.357785 read: UPS No Ack 61.745436 received 22 (22) 61.745491 read: UPS No Ack 62.133141 received 22 (22) 62.133190 read: UPS No Ack 62.520602 received 22 (22) 62.520652 read: UPS No Ack 62.908414 received 22 (22) 62.908468 read: UPS No Ack 63.295998 received 22 (22) 63.296017 read: UPS No Ack 63.683626 received 22 (22) 63.683682 read: UPS No Ack 64.071312 received 22 (22) 64.071380 read: UPS No Ack 64.458913 received 22 (22) 64.458966 read: UPS No Ack 64.846557 received 22 (22) 64.846613 read: UPS No Ack 64.846627 instcmd: command [beeper.toggle] handled ? 85.755582 send: S.5R0003 85.755624 read: S.5R0003 85.755639 instcmd: command [shutdown.return] handled ? 109.496753 send: T10 109.496769 read: T10 109.496782 instcmd: command [test.battery.start] handled No obvious reaction from the UPS at all, to any of the commands. -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6171 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20120503/618abdbe/attachment.bin>