Hello

In case anyone is interested and for the sake of updating the documentation from http://networkupstools.org/stable-hcl.html , I would like to report that nut v2.7.4 talks successfully ( at least partially ) with the UPS from $topic, which is part of the product line from http://www.informups.com/guardian_guardian_lcd600va_2000va.html ( Inform is a Turkish manufacturer that was acquired by Legrand a couple of years ago so now all their products are branded as "Inform by Legrand" or even just Legrand )

    Some technical data:
- the OS is centos 6 fully updated, using my own rpm packages for nut-2.7.4 ( https://wolfy.fedorapeople.org/nut/ ) - other info ( ups.conf setting , USB related messages from /var/log/messages, output from upsc ) is included in the attached file. - during the last 3 days I have tested several drivers that seemed appropriate. The only one that worked properly is nutdrv_qx with protocol q1 ( blazer_usb, usbhid-ups, powercom as well as all other protocols implemented by nutdrv_qx did not work for me )

Leaving aside the rather odd value for the battery voltage ( which should be fully charged as there is nothing at all connected to the UPS and it's been powered for several days already ) , one question: what's the proper approach that a sane person should use to tackle 12.311259 Can't autodetect number of battery packs [-1/27.70] 12.311264 Battery runtime will not be calculated (runtimecal not set) ?

I guess I should run with simulated loads, see how long the battery lasts and use runtimecal, right ?

    wolfy

--
     Manuel Wolfshant       linux registered user #131416
        IT manager    NoBug Consulting SRL
  A: Yes.
  >Q: Are you sure?
  >>A: Because it reverses the logical flow of conversation.
  >>>Q: Why is top posting frowned upon?

#  lsusb -s 2:7 -v                                                              
                                             

Bus 002 Device 007: ID 0001:0000 Fry's Electronics
Device Descriptor:                                
  bLength                18                       
  bDescriptorType         1                       
  bcdUSB               1.10                       
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0                            
  bDeviceProtocol         0                            
  bMaxPacketSize0         8                            
  idVendor           0x0001 Fry's Electronics          
  idProduct          0x0000                            
  bcdDevice            1.00                            
  iManufacturer           1                            
  iProduct                2 MEC0003                    
  iSerial                 0                            
  bNumConfigurations      1                            
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     624
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000

# tail -9 /etc/ups/ups.conf
[guardian]
        driver = nutdrv_qx
        port = auto
        desc = "Guardian LCD 1500 AP by Inform"
        #manufacturer = Inform
        #modelname = "Guardian LCD 1500 AP"
        vendorid = 0001
        productID = 0000
        protocol = q1

excerpt from /var/log/messages:

Jan  3 13:50:06 tunis kernel: usb 2-1.2: new low speed USB device number 6 
using ehci_hcd
Jan  3 13:50:16 tunis kernel: usb 2-1.2: New USB device found, idVendor=0001, 
idProduct=0000
Jan  3 13:50:16 tunis kernel: usb 2-1.2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=0
Jan  3 13:50:16 tunis kernel: usb 2-1.2: Product: MEC0003
Jan  3 13:50:16 tunis kernel: usb 2-1.2: configuration #1 chosen from 1 choice
Jan  3 13:50:16 tunis kernel: generic-usb 0003:0001:0000.0003: 
hiddev96,hidraw0: USB HID v1.00 Device [MEC0003] on usb-0000:00:1d.0-1.2/input0

# /usr/bin/upsc guardian@localhost
battery.voltage: 27.70
device.type: ups
driver.name: nutdrv_qx
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productID: 0000
driver.parameter.synchronous: no
driver.parameter.vendorid: 0001
driver.version: 2.7.4
driver.version.data: Q1 0.07
driver.version.internal: 0.28
input.frequency: 50.0
input.voltage: 233.3
input.voltage.fault: 233.3
output.voltage: 233.3
ups.beeper.status: enabled
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 0
ups.productid: 0000
ups.status: OL
ups.type: offline / line interactive
ups.vendorid: 0001

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to