Hi,<br><br><div class="gmail_quote">2011/9/12 Dupdup Sys <span dir="ltr"><<a href="mailto:dupdupsystems@gmail.com">dupdupsystems@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    Hi,<br>
    I would like firstly be more precise: The ups is an EATON Evolution
    1550. I tried two different servers with debian amd64. On the first
    one I had several usb issues such as disconnections occuring
    sometimes and that maked ups monitoring impossible on nut
    impossible. <br>
    On the new server (dell sc1430, running on a xeon quadcore), I still
    have usb issues, however it only occurs when the power came back.<br></div></blockquote><div><br>thanks for the details.<br>are there any other USB devices on the same bus than the UPS?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF" text="#000000">
    
    <b>upssched.conf:</b><br>
    <br>
    CMDSCRIPT /etc/nut/upsalert<br>
    <br>
    PIPEFN /var/run/nut/upssched/upssched.pipe<br>
    LOCKFN /var/run/nut/upssched/upssched.lock<br>
    <br>
    AT ONBATT * START-TIMER timerondubatterie 600<br>
    AT ONLINE * CANCEL-TIMER timerondubatterie<br>
    <br>
    <br>
    <b>ups.conf:</b><br>
    [EATON]<br>
    driver=usbhid-ups<br>
    port=auto<br>
    <br>
    <br>
    <br>
    <br>
    <b>A copy of /var/log/daemon.log before a power loss:</b><br>
    <br>
    
    
    
    
    
    
    
    
    
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell
      usbhid-ups[1770]: Startup successful<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell
      upsd[1771]: listening on 127.0.0.1 port 3493<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell
      upsd[1771]: Connected to UPS [EATON]: usbhid-ups-EATON<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell
      upsd[1772]: Startup successful<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell
      upsmon[1774]: Startup successful<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:47:49 debiandell upsd[1772]:
      User </span><a href="mailto:onduuser@127.0.0.1" target="_blank"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:blue" lang="EN-US">onduuser@127.0.0.1</span></a><span style="font-size:12pt;font-family:"Times New Roman","serif"" lang="EN-US"> logged into UPS
      [EATON]<br>
    </span><br>
    <br>
    <b>daemon.log showing a power loss:</b><br>
    
    
    
    
    
    
    
    
    
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:54:19 debiandell
        upsmon[1776]: UPS EATON@localhost on battery<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:54:19 debiandell
        upssched[1786]: New timer: onbatt (600 seconds)<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:04 debiandell
        usbhid-ups[1770]: libusb_get_interrupt: error submitting URB: No
        such device<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:04 debiandell
        usbhid-ups[1770]: libusb_get_report: error sending control
        message: No such
        device<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:18 debiandell upsd[1772]:
        Data for UPS [EATON] is stale - check driver<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:19 debiandell
        upsmon[1776]: Poll UPS [EATON@localhost] failed - Data stale<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:19 debiandell
        upsmon[1776]: Communications with UPS EATON@localhost lost<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:24 debiandell
        upsmon[1776]: Poll UPS [EATON@localhost] failed - Data stale<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:28 debiandell
        upsd[1772]: UPS [EATON] data is no longer stale<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:29 debiandell
        upsmon[1776]: Communications with UPS EATON@localhost
        established<u></u><u></u></span></p>
    <p class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:29 debiandell
        upsmon[1776]: UPS EATON@localhost on line power<u></u><u></u></span></p>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US"><u></u><u></u></span><br>
    <br>
    <b>syslog:</b><br>
    <br>
    <br>
    
    
    
    
    
    
    
    
    
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:54:19 debiandell
      upsmon[1776]: UPS EATON@localhost on battery<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:54:19 debiandell
      upssched[1786]: New timer: onbatt (600 seconds)<u></u><u></u></span><br>
    <br>
    <u><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:04 debiandell kernel: [<span> 
        </span>590.640043] hub 4-0:1.0: port 2 disabled by hub (EMI?),
        re-enabling...</span></u><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US"><u></u><u></u></span><br>
    <br>
    <u><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
        17:55:04 debiandell kernel: [<span> 
        </span>590.640144] usb 4-2: USB disconnect, address 4</span></u><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US"><u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:04 debiandell
      usbhid-ups[1770]: libusb_get_interrupt: error submitting URB: No
      such device<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:04 debiandell
      usbhid-ups[1770]: libusb_get_report: error sending control
      message: No such
      device<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:04 debiandell kernel:
      [<span>  </span>590.880772] usb 4-2: new
      low speed USB
      device using uhci_hcd and address 5<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501730] usb 4-2: New
      USB device
      found, idVendor=0463, idProduct=ffff<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501735] usb 4-2: New
      USB device
      strings: Mfr=1, Product=2, SerialNumber=3<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501738] usb 4-2:
      Product:
      Evolution<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501741] usb 4-2:
      Manufacturer:
      EATON<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501743] usb 4-2:
      SerialNumber:
      ARDM0204T<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.501873] usb 4-2:
      configuration #1
      chosen from 1 choice<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.690745] generic-usb:
      probe of
      0003:0463:FFFF.0004 failed with error -71<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.880039] hub 4-0:1.0:
      port 2
      disabled by hub (EMI?), re-enabling...<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>591.880115] usb 4-2: USB
      disconnect,
      address 5<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:05 debiandell kernel:
      [<span>  </span>592.120009] usb 4-2: new
      low speed USB
      device using uhci_hcd and address 6<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:11 debiandell kernel:
      [<span>  </span>597.236010] usb 4-2:
      device descriptor
      read/64, error -32<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:11 debiandell kernel:
      [<span>  </span>597.460009] usb 4-2:
      device descriptor
      read/64, error -32<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:11 debiandell kernel:
      [<span>  </span>597.676017] usb 4-2: new
      low speed USB
      device using uhci_hcd and address 7<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep <span> </span>2
      17:55:11 debiandell kernel:
      [<span>  </span>597.796009] usb 4-2:
      device descriptor
      read/64, error -32<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel:
      [<span>  </span>598.520581] usb 4-2: New
      USB device
      found, idVendor=0463, idProduct=ffff<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel:
      [<span>  </span>598.520585] usb 4-2: New
      USB device
      strings: Mfr=1, Product=2, SerialNumber=3<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel:
      [<span>  </span>598.520588] usb 4-2:
      Product:
      Evolution<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel:
      [<span>  </span>598.520590] usb 4-2:
      Manufacturer:
      EATON<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel: [<span>  </span>598.520593]
      usb 4-2: SerialNumber: ARDM0204T<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:12 debiandell kernel:
      [<span>  </span>598.520694] usb 4-2:
      configuration #1
      chosen from 1 choice<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:18 debiandell
      upsd[1772]: Data for UPS [EATON] is stale - check driver<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:19 debiandell upsmon[1776]:
      Poll UPS [EATON@localhost] failed - Data stale<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:19 debiandell
      upsmon[1776]: Communications with UPS EATON@localhost lost<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:24 debiandell
      upsmon[1776]: Poll UPS [EATON@localhost] failed - Data stale<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:25 debiandell kernel:
      [<span>  </span>611.737424]
      /build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6.32/debian/build/source_amd64_none/drivers/hid/usbhid/hid-core.c:
usb_submit_urb(ctrl)
      failed<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:25 debiandell kernel:
      [<span>  </span>611.737551] generic-usb
      0003:0463:FFFF.0005:
      timeout initializing reports<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:25 debiandell kernel:
      [<span>  </span>611.737681] generic-usb
      0003:0463:FFFF.0005: hiddev0,hidraw1: USB HID v1.10 Device [EATON
      Evolution] on
      usb-0000:00:1d.2-2/input0<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:28 debiandell
      upsd[1772]: UPS [EATON] data is no longer stale<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:29 debiandell
      upsmon[1776]: Communications with UPS EATON@localhost established<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Sep<span>  </span>2
      17:55:29 debiandell
      upsmon[1776]: UPS EATON@localhost on line power<u></u><u></u></span><br>
    <br></div></blockquote><div><br>there, we should have the timer cleared!<br>do you have any further messages related to upssched?<br><br>I have to check more in depth, but upssched has probably cleared the connection with the UPS since it was broken. It then doesn't try to reopen it, which leaves a hole for your kind of issue.<br>
if it's the case, you should have "Tried to delete a bogus state connection" in your syslog.<br>(can you please check this one?)<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF" text="#000000">
    <b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">lsusb:</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US"></span><br>

    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 005 Device 001: ID 1d6b:0001 Linux Foundation
      1.1 root hub<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 004 Device 002: ID 0463:ffff MGE UPS Systems
      UPS<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 004 Device 001: ID 1d6b:0001 Linux Foundation
      1.1 root hub<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 003 Device 001: ID 1d6b:0001 Linux Foundation
      1.1 root hub<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 002 Device 002: ID 413c:2003 Dell Computer
      Corp. Keyboard<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 002 Device 001: ID 1d6b:0001 Linux Foundation
      1.1 root hub<u></u><u></u></span><br>
    <br>
    <span style="font-size:12.0pt;font-family:"Times New Roman","serif"" lang="EN-US">Bus 001 Device 001: ID 1d6b:0002 Linux Foundation
      2.0 root hub<u></u><u></u></span><br>
    <br>
    <br>
    Yet this makes me puzzled, for the following reasons: On windows 7,
    I do not have any message or errors showing a USB disconnection.
    Then, I was using a MGE Ellipse 1500, with the same driver, on the
    former server, and it worked perfectly for years. On the one side I
    feel like the problem is on the ups, but windows and the personnal
    solution pac software given are working.<br></div></blockquote><div><br>it's hard to tell: this may come from the UPS, server (USB hubs), kernel or a conjunction of several of these.<br><br>you may try with a low speed hub (ie, not an ehci nor in ehci mode), or try other root hub to see if there are differences.<br>
<br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com/" target="_blank">http://powerquality.eaton.com</a><br>Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org/" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div bgcolor="#FFFFFF" text="#000000">
    
    Le 12/09/2011 13:31, Arnaud Quette a écrit :
    <blockquote type="cite">Hi<br>
      <br>
      <div class="gmail_quote">2011/9/10 Dupdup Sys <span dir="ltr"><<a href="mailto:dupdupsystems@gmail.com" target="_blank">dupdupsystems@gmail.com</a>></span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Thanks for you answer.<br>
            When the UPS comes offline upssched is now lauching the
            timer. However when the UPS gets online the timer does not
            stop. <br>
            Yet I think it is due to another problem: when it comes
            online my UPS gets disconnected for a very short time, and
            it takes a few seconds to have it back on usb and with an
            online status on nut. I hope to receive pieces of advise
            from EATON regarding this issue. This might be a physical
            problem coming from my ups.<br>
            Best Regards.<br>
          </div>
        </blockquote>
        <div><br>
          I'd like to see your upssched.conf, along with an excerpt of
          your /var/log/syslog on the "ups" pattern please.<br>
          as for the disconnection, it may be the device or the kernel.<br>
          you should also have a look at the syslog for this, and send
          me anything you've found, related to that (grep on "connect")<br>
          <br>
          cheers,<br>
          Arnaud<br>
          -- <br>
          Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com/" target="_blank">http://powerquality.eaton.com</a><br>
          Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
          Debian Developer - <a href="http://www.debian.org/" target="_blank">http://www.debian.org</a><br>
          Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>
          <br>
        </div>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Le 08/09/2011 17:27,
            Arnaud Quette a écrit :
            <div>
              <div>
                <blockquote type="cite">Hi,<br>
                  <br>
                  <div class="gmail_quote">2011/9/1 Dupdup Sys <span dir="ltr"><<a href="mailto:dupdupsystems@gmail.com" target="_blank">dupdupsystems@gmail.com</a>></span><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Hello,<br>
                      I am currently building a new server using debian
                      amd64. Therefore I need to use my UPS EATON
                      Evolution 1550 on it, using usbhid-ups driver.<br>
                      I installed nut with apt (version
                      2.4.3-1.1squeeze1) on debian 2.6.32-5 amd64.<br>
                      <br>
                      I can currently use nut with the drivers, upsc and
                      upsmon: my UPS is detected and works. Actually
                      everything works except upssched: I can shut down
                      the server using upsmon -c fsd. I didn't try yet
                      but I think the automatic shutdown  would work
                      either, the server should stop when the ups
                      battery goes too low.<br>
                      <br>
                      However I definetely can't make upssched running,
                      which is such a big deal because I would like to
                      use the timer functions to have a shutdown after
                      ten minutes without electricity.<br>
                      I created in /var/run/nut an upssched folder to
                      contain the upssched files, made chgrp nut.nut and
                      chmod 755. My upsmon.conf contains the NOTIFYCMD
                      /sbin/upssched.<br>
                      <br>
                      Here comes the issue: I can't find any lead of
                      upssched in /var/log/daemon.log. While usbhid-ups,
                      upsd and upsmon have their entries in the logfile
                      and are working, I can't find anything about
                      upssched in the logs. Thereby I do think that
                      upssched is inactive, but I am still wondering if
                      the problem is not in upsmon: I tried several
                      permissions, tried to use an other script in
                      upsmon.conf, but didn't manage to have it working.<br>
                      <br>
                      Do you have any idea on how this could be solve ?<br>
                      Best Regards.<br>
                    </blockquote>
                  </div>
                  <br>
                  upssched is only active when needed, ie when upsmon
                  fires it because of execution triggers.<br>
                  <br>
                  so you have to meet these conditions, ie switching on
                  battery, ..., as you have defined in upsmon.conf or as
                  done by default.<br>
                  <br>
                  note that /var/run/nut is created automatically when
                  calling the nut init script on Debian.<br>
                  <br>
                  cheers,<br clear="all">
                  Arnaud<br>
                  -- <br>
                  Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
                  Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
                  Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
                  Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      <br>
    </blockquote>
    <br>
  </div>

</blockquote></div><br><br clear="all"><br>