<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello, <br>
    <br>
    I'm trying to get an energenie EG-UPS-033
    (<a class="moz-txt-link-freetext" href="http://energenie.com/item.aspx?id=8087">http://energenie.com/item.aspx?id=8087</a>) to work with nut. It
    standard comes with linux software (UPSmart), which shows the
    input/output voltage, load level, input frequency. and battery  and
    case temperature. The values change about every second. The selected
    monitor mode in this tool is Mega(USB). The bad thing of this tool
    that it requires an X server, and does not provide a command line
    version. <br>
    <br>
    with NUT, I am able to connect to the UPS using the  blazer_usb and
    nutdrv_qx. However, the reported values are constant, and only
    change if I run the UPSmart tool (It can run in parallel). What can
    I do to get NUT to receive updated values?<br>
    I already tried the various subdrivers, and langid_fix , but to no
    avail. <br>
    <br>
    Is there a way to sniff the USB communication of the UPSmart? <br>
    <br>
    <br>
    thanks a lot for your help,<br>
    Marc<br>
    <br>
    here my details:<br>
    <div class="ulist" style="color: rgb(0, 0, 0); font-family: serif;
      font-size: 14.4px; font-style: normal; font-variant-ligatures:
      normal; font-variant-caps: normal; font-weight: normal;
      letter-spacing: normal; orphans: 2; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(255, 255, 255);">
      <ul style="margin-top: 0px; list-style-position: outside;">
        <li>
          <p style="margin-top: 0px; margin-bottom: 0.5em;">OS name and
            version,: ubuntu 14.04.1 64bit<br>
          </p>
        </li>
        <li>
          <p style="margin-top: 0px; margin-bottom: 0.5em;">exact NUT
            version: 2.74<br>
          </p>
        </li>
        <li>
          <p style="margin-top: 0px; margin-bottom: 0.5em;">NUT
            installation method: from source tarball, package or
            Subversion, compiled from source tarball<br>
          </p>
        </li>
        <li>
          <p style="margin-top: 0px; margin-bottom: 0.5em;">exact device
            name and related information (manufacturing date, web
            pointers, …), energenie EG-UPS-033
            (<a class="moz-txt-link-freetext" href="http://energenie.com/item.aspx?id=8087">http://energenie.com/item.aspx?id=8087</a>)</p>
        </li>
        <li>
          <p style="margin-top: 0px; margin-bottom: 0.5em;">complete
            problem description, with any relevant traces, like system
            log excerpts, and driver debug output. You can obtain the
            latter using the following command, as root and after having
            stopped NUT:</p>
        </li>
      </ul>
      <p>dmesg output upon connecting the UPS:</p>
      <p>[168841.020036] usb 5-2: new low-speed USB device number 8
        using uhci_hcd<br>
        [168841.187222] usb 5-2: New USB device found, idVendor=0001,
        idProduct=0000<br>
        [168841.187231] usb 5-2: New USB device strings: Mfr=0,
        Product=1, SerialNumber=0<br>
        [168841.187236] usb 5-2: Product: MEC0003<br>
        [168841.294695] hid-generic 0003:0001:0000.0005:
        hiddev0,hidraw0: USB HID v1.11 Device [MEC0003] on
        usb-0000:00:1d.3-2/input0<br>
      </p>
      <p>output of : sudo /lib/nut/blazer_usb -a myups -u nut -DDDD <br>
      </p>
    </div>
       0.000000    debug level is '4'<br>
       0.166331    Checking device (1D6B/0003) (007/001)<br>
       0.166618    - VendorID: 1d6b<br>
       0.166667    - ProductID: 0003<br>
       0.166698    - Manufacturer: unknown<br>
       0.166730    - Product: unknown<br>
       0.166761    - Serial Number: unknown<br>
       0.166793    - Bus: 007<br>
       0.166825    - Device release number: 0316<br>
       0.166855    Trying to match device<br>
       0.166897    Device does not match - skipping<br>
       0.167052    Checking device (1D6B/0002) (006/001)<br>
       0.167236    - VendorID: 1d6b<br>
       0.167277    - ProductID: 0002<br>
       0.167308    - Manufacturer: unknown<br>
       0.167339    - Product: unknown<br>
       0.167369    - Serial Number: unknown<br>
       0.167400    - Bus: 006<br>
       0.167431    - Device release number: 0316<br>
       0.167461    Trying to match device<br>
       0.167497    Device does not match - skipping<br>
       0.167584    Checking device (0001/0000) (005/008)<br>
       0.179225    - VendorID: 0001<br>
       0.179299    - ProductID: 0000<br>
       0.179330    - Manufacturer: unknown<br>
       0.179361    - Product: MEC0003<br>
       0.179392    - Serial Number: unknown<br>
       0.179423    - Bus: 005<br>
       0.179454    - Device release number: 0100<br>
       0.179484    Trying to match device<br>
       0.179585    Device matches<br>
       0.179666    nut_usb_set_altinterface: skipped
    usb_set_altinterface(udev, 0)<br>
       0.179755    Trying megatec protocol...<br>
       0.179792    send: Q1<br>
       0.201201    received 47 (40)<br>
       0.201251    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       0.201404    Status read in 1 tries<br>
       0.201439    Supported UPS detected with megatec protocol<br>
       0.201473    send: F<br>
       0.216208    received 22 (35)<br>
       0.216267    read: #   .        .     . <br>
       0.216325    blazer_rating: parsing failed<br>
       0.216358    Rating read 1 failed<br>
       0.216390    send: F<br>
       0.230202    received 22 (35)<br>
       0.230274    read: #   .        .     . <br>
       0.230324    blazer_rating: parsing failed<br>
       0.230356    Rating read 2 failed<br>
       0.230387    send: F<br>
       0.245193    received 22 (35)<br>
       0.245239    read: #   .        .     . <br>
       0.245284    blazer_rating: parsing failed<br>
       0.245315    Rating read 3 failed<br>
       0.245346    Rating information unavailable<br>
       0.245379    send: I<br>
       0.265189    received 39 (35)<br>
       0.265231    read: #   No  No  No  No  No  No  No  No  No <br>
       0.265285    Vendor information read in 1 tries<br>
       0.265317    No values provided for battery high/low voltages in
    ups.conf<br>
    <br>
       0.265379    Using 'guestimation' (low: 0.000000, high: 0.000000)!<br>
       0.265428    Battery runtime will not be calculated (runtimecal
    not set)<br>
       0.265504    send: Q1<br>
       0.287195    received 47 (40)<br>
       0.287267    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       0.287571    dstate_init: sock /var/state/ups/blazer_usb-myups
    open on fd 5<br>
       0.287642    send: Q1<br>
       0.309184    received 47 (40)<br>
       0.309232    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       2.289657    send: Q1<br>
       2.310891    received 47 (40)<br>
       2.310969    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       4.291662    send: Q1<br>
       4.313577    received 47 (40)<br>
       4.313655    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       6.293654    send: Q1<br>
       6.315258    received 47 (40)<br>
       6.315334    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
       8.295645    send: Q1<br>
       8.316944    received 47 (40)<br>
       8.317023    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      10.297646    send: Q1<br>
      10.319636    received 47 (40)<br>
      10.319716    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      12.299648    send: Q1<br>
      12.321319    received 47 (40)<br>
      12.321399    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      14.301651    send: Q1<br>
      14.323004    received 47 (40)<br>
      14.323083    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      16.303654    send: Q1<br>
      16.325692    received 47 (40)<br>
      16.325771    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      18.305656    send: Q1<br>
      18.327381    received 47 (40)<br>
      18.327462    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      20.307662    send: Q1<br>
      20.329063    received 47 (40)<br>
      20.329141    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      22.309645    send: Q1<br>
      22.331749    received 47 (40)<br>
      22.331828    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      24.311628    send: Q1<br>
      24.333437    received 47 (40)<br>
      24.333516    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      26.313606    send: Q1<br>
      26.335123    received 47 (40)<br>
      26.335202    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      28.315587    send: Q1<br>
      28.336808    received 47 (40)<br>
      28.336892    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      30.317591    send: Q1<br>
      30.339494    received 47 (40)<br>
      30.339577    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      32.319569    send: Q1<br>
      32.341185    received 47 (40)<br>
      32.341269    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      34.321573    send: Q1<br>
      34.342852    received 47 (40)<br>
      34.342934    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      36.323578    send: Q1<br>
      36.345556    received 47 (40)<br>
      36.345639    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      38.325585    send: Q1<br>
      38.347245    received 47 (40)<br>
      38.347328    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      40.327591    send: Q1<br>
      40.348931    received 47 (40)<br>
      40.349013    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      42.329593    send: Q1<br>
      42.351612    received 47 (40)<br>
      42.351695    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      44.331599    send: Q1<br>
      44.353285    received 47 (40)<br>
      44.353369    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      46.332727    send: Q1<br>
      46.354006    received 47 (40)<br>
      46.354090    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      48.333670    send: Q1<br>
      48.355673    received 47 (40)<br>
      48.355757    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      50.335668    send: Q1<br>
      50.356354    received 47 (40)<br>
      50.356438    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      52.337669    send: Q1<br>
      52.359041    received 47 (40)<br>
      52.359125    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      54.339669    send: Q1<br>
      54.361726    received 47 (40)<br>
      54.361809    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      56.341675    send: Q1<br>
      56.363411    received 47 (40)<br>
      56.363495    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      58.343682    send: Q1<br>
      58.365096    received 47 (40)<br>
      58.365180    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      60.345660    send: Q1<br>
      60.367787    received 47 (40)<br>
      60.367871    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      62.347658    send: Q1<br>
      62.369470    received 47 (40)<br>
      62.369553    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      64.349659    send: Q1<br>
      64.370176    received 47 (40)<br>
      64.370287    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      66.351663    send: Q1<br>
      66.373842    received 47 (40)<br>
      66.373926    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      68.353663    send: Q1<br>
      68.375526    received 47 (40)<br>
      68.375612    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      70.355666    send: Q1<br>
      70.377222    received 47 (40)<br>
      70.377306    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      72.357664    send: Q1<br>
      72.378901    received 47 (40)<br>
      72.378985    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      74.359665    send: Q1<br>
      74.381597    received 47 (40)<br>
      74.381678    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      76.361679    send: Q1<br>
      76.383271    received 47 (40)<br>
      76.383355    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      78.363676    send: Q1<br>
      78.383958    received 47 (40)<br>
      78.384041    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      80.365678    send: Q1<br>
      80.387643    received 47 (40)<br>
      80.387727    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      82.367679    send: Q1<br>
      82.389329    received 47 (40)<br>
      82.389413    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      84.369680    send: Q1<br>
      84.391003    received 47 (40)<br>
      84.391087    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      86.371684    send: Q1<br>
      86.393708    received 47 (40)<br>
      86.393791    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      88.373682    send: Q1<br>
      88.395389    received 47 (40)<br>
      88.395479    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      90.375685    send: Q1<br>
      90.397075    received 47 (40)<br>
      90.397158    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      92.377684    send: Q1<br>
      92.399763    received 47 (40)<br>
      92.399844    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      94.379686    send: Q1<br>
      94.401447    received 47 (40)<br>
      94.401530    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
      96.381689    send: Q1<br>
      96.403135    received 47 (40)<br>
      96.403219    read: (230.0 000.0 231.0 012 50.0 27.2 29.0 00001000<br>
    <br>
  </body>
</html>