[Nut-upsuser] MGE Pulsar Extreme - restart problem

Axel Bergerhoff axelbergerhoff at compuserve.com
Thu Jul 20 09:53:47 UTC 2006


> 2006/7/14, Axel Bergerhoff <axelbergerhoff at compuserve.com>:
> > ...
> > Addendum:
> > Looked to the thread mentioned above - found that I already knew it.
> > My current problem is not delaying power on of outlet.1 and
> > outlet.2(although this does not work for me either) but automatically
> > powering on the main outlet when reapplying mains after a complete
> > shutdown and an indefinite off
> > time.
>
> right, sorry. I mixed with another case.
>
> Can you make a shutdown test?
> - remove the load on the ups output (ie computers, ...),
> - stop nut
> - call mge-shut in shutdown mode with debug info:
> mge-shut -DD -k /dev/ttyS0
>
> the ups should be turned off after 20 sec, and on 10 after.
> send me back the above mge-shut output.
>
> Arnaud

UPS behaves differently (see below).
Additionally I dumped the traffic with a serial analyzer - if that helps I 
could post it, too (lenghty).


My tests:
Setup:
- computer directly connected to mains
- 100W bulb used as load
- load manually switched on at UPS
- nut-2.0.3

nut started:
  tfp-3:~ # rcnut start
  NUT Starting UPS model drivers: Network UPS Tools - UPS driver controller 
2.0.3
  Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.65 (2.0.3)
  Detected (null) [1Y2G15069] on /dev/ttyS1
  
  NUT Starting UPS daemon: Network UPS Tools upsd 2.0.3
  Connected to UPS [Pulsar1000]: mge-shut-ttyS1
  Synchronizing...........done
  
  Network UPS Tools upsmon 2.0.3
  UPS: Pulsar1000 at localhost (master) (power value 1)
  Using power down flag file /var2/nut/killpower
  
  tfp-3:~ #

nut stopped:
  tfp-3:~ # rcnut stop
  Network UPS Tools upsmon 2.0.3
  NUT Stopping UPS daemon
  Network UPS Tools upsd 2.0.3
  NUT Stopping UPS model drivers
  Network UPS Tools - UPS driver controller 2.0.3
  Stopping UPS: Pulsar1000
  tfp-3:~ #

test:
08:54:10

  tfp-3:~ # mge-shut -DD -k /dev/ttyS1
  Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.65 (2.0.3)
  debug level is '2'
  entering upsdrv_initups()
  entering shut_ups_start()
  
  Communication with UPS established
  entering shut_get_descriptor(n 21, 9)
  shut_wait_ack(): ACK received
  entering shut_get_descriptor(n 01, 18)
  shut_wait_ack(): ACK received
  Device Descriptor:
  bLength:                0x12
  bDescriptorType:                                        0x01
  bcdUSB:                 0x0110
  bDeviceClass:           0x00
  bDeviceSubClass:                                        0x00
  bDeviceProtocol:        0x00
  bMaxPacketSize0:                                        0x08
  idVendor:               0x0463
  idProduct:              0xffff
  bcdDevice:                                              0x0100
  iManufacturer:          0x01
  iProduct:                                               0x02
  iSerialNumber:          0x04
  bNumConfigurations:     0x01
  
  entering shut_get_descriptor(n 22, 2002)
  shut_wait_ack(): ACK received
  Initiating UPS shutdown
  ============== entering hid_set_value(ups.delay.start, 3) ==============
  entering shut_get_report(id: 0a, len: 1800)
  shut_wait_ack(): ACK received
  entering shut_set_report(id: 0a, len: 05)
  shut_wait_ack(): ACK received
  shut_wait_ack(): ACK received
  ============== entering hid_set_value(ups.delay.shutdown, 20) ==============
  entering shut_get_report(id: 09, len: 1800)
  shut_wait_ack(): ACK received
  entering shut_set_report(id: 09, len: 05)
  shut_wait_ack(): ACK received
  shut_wait_ack(): ACK received
  tfp-3:~ #



08:54:50
  load off

09:26:00
  nothing happened
    UPS-display:
      load not powered, on/off to start
  tried to start by button
    UPS-display:
      UPS off in progress

09:26:05
  UPS-display:
    load not powered, on/off to start

09:27:00
  tried to start by button again
    load is on
    
---------------------------------------------
Tried nut-2.0.4-pre1

start nut:
  tfp-3:~ # rcnut start
  NUT Starting UPS model drivers: Network UPS Tools - UPS driver controller 
2.0.4-pre1
  Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.66 (2.0.4-pre1)
  Detected Pulsar 1000 [1Y2G15069] on /dev/ttyS1
  
  NUT Starting UPS daemon: Network UPS Tools upsd 2.0.4-pre1
  Connected to UPS [Pulsar1000]: mge-shut-ttyS1
  Synchronizing..........done
  
  Network UPS Tools upsmon 2.0.4-pre1
  UPS: Pulsar1000 at localhost (master) (power value 1)
  Using power down flag file /var2/nut/killpower
  
  tfp-3:~ #

stop nut:
  tfp-3:~ # rcnut stop
  Network UPS Tools upsmon 2.0.4-pre1
  NUT Stopping UPS daemon
  Network UPS Tools upsd 2.0.4-pre1
  NUT Stopping UPS model drivers
  Network UPS Tools - UPS driver controller 2.0.4-pre1
  Stopping UPS: Pulsar1000
  tfp-3:~ #

test:
09:42:00
  tfp-3:~ # mge-shut -DD -k /dev/ttyS1
  Network UPS Tools - MGE UPS SYSTEMS/SHUT driver 0.66 (2.0.4-pre1)
  debug level is '2'
  entering upsdrv_initups()
  entering shut_ups_start()
  
  Communication with UPS established
  entering shut_get_descriptor(n 21, 9)
  shut_wait_ack(): ACK received
  entering shut_get_descriptor(n 01, 18)
  shut_wait_ack(): ACK received
  Device Descriptor:
  bLength:                0x12
  bDescriptorType:                                        0x01
  bcdUSB:                 0x0110
  bDeviceClass:           0x00
  bDeviceSubClass:                                        0x00
  bDeviceProtocol:        0x00
  bMaxPacketSize0:                                        0x08
  idVendor:               0x0463
  idProduct:              0xffff
  bcdDevice:                                              0x0100
  iManufacturer:          0x01
  iProduct:                                               0x02
  iSerialNumber:          0x04
  bNumConfigurations:     0x01
  
  entering shut_get_descriptor(n 22, 2002)
  shut_wait_ack(): ACK received
09:42:20
  Initiating UPS shutdown
  ============== entering hid_set_value(ups.delay.start, 3) ==============
  entering shut_get_report(id: 0a, len: 1800)
  shut_wait_ack(): ACK received
  entering shut_set_report(id: 0a, len: 05)
  shut_wait_ack(): ACK received
  shut_wait_ack(): ACK received
  ============== entering hid_set_value(ups.delay.shutdown, 20) ==============
  entering shut_get_report(id: 09, len: 1800)
  shut_wait_ack(): ACK received
  entering shut_set_report(id: 09, len: 05)
  shut_wait_ack(): ACK received
  shut_wait_ack(): ACK received
  tfp-3:~ #


09:42:42
  load off

Rest same as before

Axel




More information about the Nut-upsuser mailing list