[Nut-upsuser] Dynamix 1000 VA USB and NUT

Glen Ogilvie nelg at linuxsolutions.co.nz
Sat Sep 18 00:15:25 UTC 2010


Hi,

I've got two Dynamix UPS's, both of which are USB and don't seem to
work with NUT yet.

Can anyone give me some advise on where I should start with working on
getting them working.
I can do a little C programming, so happy to give things a go but need
some guidance.

Brian R. Smith (who also subscribes to this list) has one as well.

I've attached the output of lsusb -v and usbhid-ups -DDD -a ups -x
vendorid=0001 -x productid=0000  -x explore

Advise on where to start with getting these working would be helpful.
I could capture the USB communication with a windows machine if that
is useful.

Regards
Glen Ogilvie
New Zealand.
-------------- next part --------------

Bus 001 Device 002: ID 0001:0000 Fry's Electronics 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  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 
  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 Descriptor: (length is 624)
            Item(Global): Usage Page, data= [ 0x86 ] 134
                            Power Pages
            Item(Local ): Usage, data= [ 0x04 ] 4
                            (null)
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x1e ] 30
                            Flow
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Report ID, data= [ 0x01 ] 1
            Item(Local ): Usage, data= [ 0x1f ] 31
                            Flow ID
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x40 ] 64
                            Config Voltage
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Config Frequency
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0xf0 ] 61441
                            System: SI Linear, Unit: Seconds^-1
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x3c ] 60
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x53 ] 83
                            Low Voltage Transfer
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x54 ] 84
                            High Voltage Transfer
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0xfd ] 253
                            iManufacturer
            Item(Local ): Usage, data= [ 0xfe ] 254
                            iProduct
            Item(Local ): Usage, data= [ 0xff ] 255
                            iSerialNumber
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Feature, data= [ 0x00 ] 0
                            Data Array Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x1e ] 30
                            Flow
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Report ID, data= [ 0x02 ] 2
            Item(Local ): Usage, data= [ 0x1f ] 31
                            Flow ID
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x40 ] 64
                            Config Voltage
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfa 0x00 ] 250
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x42 ] 66
                            Config Frequency
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0xf0 ] 61441
                            System: SI Linear, Unit: Seconds^-1
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x3c ] 60
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x43 ] 67
                            Config Apparent Power
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 ] 53537
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x44 ] 68
                            Config Active Power
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Unit, data= [ 0x21 0xd1 ] 53537
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3
            Item(Global): Unit Exponent, data= [ 0x07 ] 7
                            Unit Exponent: 7
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x56 ] 86
                            Delay Before Startup
            Item(Global): Report Size, data= [ 0x18 ] 24
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0x10 ] 4097
                            System: SI Linear, Unit: Seconds
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x57 ] 87
                            Delay Before Shutdown
            Item(Global): Report Size, data= [ 0x18 ] 24
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0x10 ] 4097
                            System: SI Linear, Unit: Seconds
            Item(Global): Unit Exponent, data= [ 0x00 ] 0
                            Unit Exponent: 0
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x10 ] 16
                            Battery System
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Report ID, data= [ 0x03 ] 3
            Item(Local ): Usage, data= [ 0x11 ] 17
                            Battery System ID
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x02 ] 2
                            Present Status
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x6d ] 109
                            Used
            Item(Local ): Usage, data= [ 0x61 ] 97
                            Good
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x06 ] 6
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Voltage
            Item(Global): Report Size, data= [ 0x18 ] 24
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x05 ] 5
                            Unit Exponent: 5
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x36 ] 54
                            Temperature
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0x00 0x01 0x00 ] 65537
                            System: SI Linear, Unit: Kelvin
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x58 ] 88
                            Test
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x06 ] 6
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x02 ] 2
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x58 ] 88
                            Test
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x04 ] 4
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Feature, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x16 ] 22
                            Power Converter
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Report ID, data= [ 0x04 ] 4
            Item(Local ): Usage, data= [ 0x17 ] 23
                            Power Converter ID
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x1a ] 26
                            Input
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Local ): Usage, data= [ 0x1b ] 27
                            Input ID
            Item(Local ): Usage, data= [ 0x1f ] 31
                            Flow ID
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x02 ] 2
                            Present Status
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x61 ] 97
                            Good
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x07 ] 7
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Voltage
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x05 ] 5
                            Unit Exponent: 5
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x32 ] 50
                            Frequency
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0xf0 ] 61441
                            System: SI Linear, Unit: Seconds^-1
            Item(Global): Unit Exponent, data= [ 0x05 ] 5
                            Unit Exponent: 5
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Local ): Usage, data= [ 0x1c ] 28
                            Output
            Item(Main  ): Collection, data= [ 0x00 ] 0
                            Physical
            Item(Global): Report ID, data= [ 0x05 ] 5
            Item(Local ): Usage, data= [ 0x1d ] 29
                            Output ID
            Item(Local ): Usage, data= [ 0x1f ] 31
                            Flow ID
            Item(Global): Report Size, data= [ 0x04 ] 4
            Item(Global): Report Count, data= [ 0x02 ] 2
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x0f ] 15
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x30 ] 48
                            Voltage
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x21 0xd1 0xf0 0x00 ] 15782177
                            System: SI Linear, Unit: Centimeter^2*Gram*Seconds^-3*Ampere^-1
            Item(Global): Unit Exponent, data= [ 0x05 ] 5
                            Unit Exponent: 5
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x32 ] 50
                            Frequency
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x01 0xf0 ] 61441
                            System: SI Linear, Unit: Seconds^-1
            Item(Global): Unit Exponent, data= [ 0x05 ] 5
                            Unit Exponent: 5
            Item(Global): Logical Maximum, data= [ 0xfe 0xff 0x00 0x00 ] 65534
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x35 ] 53
                            Percent Load
            Item(Global): Report Size, data= [ 0x10 ] 16
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage, data= [ 0x02 ] 2
                            Present Status
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Local ): Usage, data= [ 0x65 ] 101
                            Overload
            Item(Local ): Usage, data= [ 0x6e ] 110
                            Boost
            Item(Local ): Usage, data= [ 0x6f ] 111
                            Buck
            Item(Global): Report Size, data= [ 0x01 ] 1
            Item(Global): Report Count, data= [ 0x03 ] 3
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0x01 ] 1
            Item(Global): Unit, data= [ 0x00 ] 0
                            System: None, Unit: (None)
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Global): Report Size, data= [ 0x05 ] 5
            Item(Global): Report Count, data= [ 0x01 ] 1
            Item(Main  ): Input, data= [ 0x03 ] 3
                            Constant Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
            Item(Main  ): End Collection, data=none
      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
  (Bus Powered)
-------------- next part --------------
[root at localhost bin]# ./usbhid-ups -DDD -a ups -x vendorid=0001 -x productid=0000  -x explore 
Network UPS Tools - Generic HID driver 0.35 (2.4.3-2519)
USB communication driver 0.31
   0.000000     debug level is '3'
   0.000829     upsdrv_initups...
   2.135423     Checking device (1D6B/0001) (001/001)
   2.135689     - VendorID: 1d6b
   2.135701     - ProductID: 0001
   2.135707     - Manufacturer: Linux 2.6.33.7-server-1mnb uhci_hcd
   2.135714     - Product: UHCI Host Controller
   2.135720     - Serial Number: 0000:02:00.0
   2.135727     - Bus: 001
   2.135733     Trying to match device
   2.135769     Device does not match - skipping
   2.135790     Checking device (0001/0000) (001/002)
   2.143468     - VendorID: 0001
   2.143509     - ProductID: 0000
   2.143517     - Manufacturer: unknown
   2.143524     - Product: unknown
   2.143530     - Serial Number: unknown
   2.143537     - Bus: 001
   2.143543     Trying to match device
   2.143631     Device matches
   2.152322     HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 70 02
   2.153148     HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 70 02
   2.153163     HID descriptor length 624
   2.169388     Report Descriptor size = 624
   2.169431     Report Descriptor: (624 bytes) => 05 86 09 04 a1 01 05 84 09 1e a1 00 85 01
   2.169446      09 1f 65 00 75 04 95 01 15 00 25 0f 65 00 b1 02 75 04 95 01 b1 03 09 40 75
   2.169459      10 95 01 67 21 d1 f0 00 55 07 15 00 26 fa 00 b1 02 09 42 75 10 95 01 66 01
   2.169472      f0 55 00 15 00 25 3c b1 02 09 53 75 10 95 01 67 21 d1 f0 00 55 07 15 00 26
   2.169486      fa 00 b1 02 09 54 75 10 95 01 67 21 d1 f0 00 55 07 15 00 26 fa 00 b1 02 09
   2.169498      fd 09 fe 09 ff 75 08 95 03 26 ff 00 65 00 b1 00 c0 05 84 09 1e a1 00 85 02
   2.169511      09 1f 65 00 75 04 95 01 15 00 25 0f 65 00 b1 02 95 01 75 04 b1 03 09 40 75
   2.169525      10 95 01 67 21 d1 f0 00 55 07 15 00 26 fa 00 b1 02 09 42 75 10 95 01 66 01
   2.169537      f0 55 00 15 00 25 3c b1 02 09 43 75 10 95 01 66 21 d1 55 07 15 00 27 fe ff
   2.169551      00 00 b1 02 09 44 95 01 75 10 66 21 d1 55 07 15 00 27 fe ff 00 00 b1 02 09
   2.169563      56 75 18 95 01 66 01 10 55 00 15 00 27 fe ff 00 00 b1 02 09 57 75 18 95 01
   2.169576      66 01 10 55 00 15 00 27 fe ff 00 00 b1 02 c0 05 84 09 10 a1 00 85 03 09 11
   2.169589      65 00 75 04 95 01 15 00 25 0f 65 00 b1 02 75 04 95 01 b1 03 09 02 a1 02 09
   2.169602      6d 09 61 75 01 95 02 15 00 25 01 b1 02 75 06 95 01 b1 03 c0 09 30 75 18 95
   2.169615      01 67 21 d1 f0 00 55 05 27 fe ff 00 00 b1 02 09 36 75 10 95 01 67 01 00 01
   2.169628      00 27 fe ff 00 00 b1 02 09 58 75 01 95 06 15 00 25 01 81 02 75 02 95 01 81
   2.169641      03 09 58 75 01 95 04 15 00 25 01 b1 02 75 04 95 01 b1 03 c0 05 84 09 16 a1
   2.169654      00 85 04 09 17 75 04 95 01 15 00 25 0f 65 00 81 02 75 04 95 01 81 03 09 1a
   2.169667      a1 00 09 1b 09 1f 75 04 95 02 15 00 25 0f 65 00 81 02 09 02 a1 02 09 61 75
   2.169680      01 95 01 15 00 25 01 81 02 75 07 95 01 81 03 c0 09 30 75 10 95 01 67 21 d1
   2.169693      f0 00 55 05 27 fe ff 00 00 81 02 09 32 75 10 95 01 66 01 f0 55 05 27 fe ff
   2.169706      00 00 81 02 c0 09 1c a1 00 85 05 09 1d 09 1f 75 04 95 02 15 00 25 0f 65 00
   2.169719      81 02 09 30 75 10 95 01 67 21 d1 f0 00 55 05 27 fe ff 00 00 81 02 09 32 75
   2.169732      10 95 01 66 01 f0 55 05 27 fe ff 00 00 81 02 09 35 75 10 95 01 15 00 26 ff
   2.169745      00 81 02 09 02 a1 02 09 65 09 6e 09 6f 75 01 95 03 15 00 25 01 65 00 81 02
   2.169754      75 05 95 01 81 03 c0 c0 c0 c0
   2.169763     Using subdriver: EXPLORE HID 0.1
   2.177605     Can't retrieve Report 01: Broken pipe
   2.177656     Path: 00860004.Flow.FlowID, Type: Feature, ReportID: 0x01, Offset: 0, Size: 4
   2.182302     Can't retrieve Report 01: Broken pipe
   2.182374     Path: 00860004.Flow.ConfigVoltage, Type: Feature, ReportID: 0x01, Offset: 8, Size: 16
   2.186418     Can't retrieve Report 01: Broken pipe
   2.186465     Path: 00860004.Flow.ConfigFrequency, Type: Feature, ReportID: 0x01, Offset: 24, Size: 16
   2.189481     Can't retrieve Report 01: Broken pipe
   2.189548     Path: 00860004.Flow.LowVoltageTransfer, Type: Feature, ReportID: 0x01, Offset: 40, Size: 16
   2.192433     Can't retrieve Report 01: Broken pipe
   2.192477     Path: 00860004.Flow.HighVoltageTransfer, Type: Feature, ReportID: 0x01, Offset: 56, Size: 16
   2.195381     Can't retrieve Report 01: Broken pipe
   2.195427     Path: 00860004.Flow.iManufacturer, Type: Feature, ReportID: 0x01, Offset: 72, Size: 8
   2.198332     Can't retrieve Report 01: Broken pipe
   2.198408     Path: 00860004.Flow.iProduct, Type: Feature, ReportID: 0x01, Offset: 80, Size: 8
   2.203368     Can't retrieve Report 01: Broken pipe
   2.203412     Path: 00860004.Flow.iSerialNumber, Type: Feature, ReportID: 0x01, Offset: 88, Size: 8
   2.206367     Can't retrieve Report 02: Broken pipe
   2.206412     Path: 00860004.Flow.FlowID, Type: Feature, ReportID: 0x02, Offset: 0, Size: 4
   2.209670     Can't retrieve Report 02: Broken pipe
   2.209723     Path: 00860004.Flow.ConfigVoltage, Type: Feature, ReportID: 0x02, Offset: 8, Size: 16
   2.212446     Can't retrieve Report 02: Broken pipe
   2.212493     Path: 00860004.Flow.ConfigFrequency, Type: Feature, ReportID: 0x02, Offset: 24, Size: 16
   2.215326     Can't retrieve Report 02: Broken pipe
   2.215374     Path: 00860004.Flow.ConfigApparentPower, Type: Feature, ReportID: 0x02, Offset: 40, Size: 16
   2.218339     Can't retrieve Report 02: Broken pipe
   2.218380     Path: 00860004.Flow.ConfigActivePower, Type: Feature, ReportID: 0x02, Offset: 56, Size: 16
   2.221540     Can't retrieve Report 02: Broken pipe
   2.221738     Path: 00860004.Flow.DelayBeforeStartup, Type: Feature, ReportID: 0x02, Offset: 72, Size: 24
   2.225491     Can't retrieve Report 02: Broken pipe
   2.225537     Path: 00860004.Flow.DelayBeforeShutdown, Type: Feature, ReportID: 0x02, Offset: 96, Size: 24
   2.228304     Can't retrieve Report 03: Broken pipe
   2.228348     Path: 00860004.BatterySystem.BatterySystemID, Type: Feature, ReportID: 0x03, Offset: 0, Size: 4
   2.232572     Can't retrieve Report 03: Broken pipe
   2.232679     Path: 00860004.BatterySystem.PresentStatus.Used, Type: Feature, ReportID: 0x03, Offset: 8, Size: 1
   2.236419     Can't retrieve Report 03: Broken pipe
   2.236464     Path: 00860004.BatterySystem.PresentStatus.Good, Type: Feature, ReportID: 0x03, Offset: 9, Size: 1
   2.240326     Can't retrieve Report 03: Broken pipe
   2.240363     Path: 00860004.BatterySystem.Voltage, Type: Feature, ReportID: 0x03, Offset: 16, Size: 24
   2.244460     Can't retrieve Report 03: Broken pipe
   2.244499     Path: 00860004.BatterySystem.Temperature, Type: Feature, ReportID: 0x03, Offset: 40, Size: 16
   2.247924     Can't retrieve Report 03: Broken pipe
   2.247961     Path: 00860004.BatterySystem.Test, Type: Input, ReportID: 0x03, Offset: 0, Size: 1
   2.251394     Can't retrieve Report 03: Broken pipe
   2.251414     Path: 00860004.BatterySystem.Test, Type: Feature, ReportID: 0x03, Offset: 56, Size: 1
   2.254254     Can't retrieve Report 04: Broken pipe
   2.254272     Path: 00860004.PowerConverter.PowerConverterID, Type: Input, ReportID: 0x04, Offset: 0, Size: 4
   2.257400     Can't retrieve Report 04: Broken pipe
   2.257434     Path: 00860004.PowerConverter.Input.InputID, Type: Input, ReportID: 0x04, Offset: 8, Size: 4
   2.260426     Can't retrieve Report 04: Broken pipe
   2.260466     Path: 00860004.PowerConverter.Input.FlowID, Type: Input, ReportID: 0x04, Offset: 12, Size: 4
   2.264310     Can't retrieve Report 04: Broken pipe
   2.264387     Path: 00860004.PowerConverter.Input.PresentStatus.Good, Type: Input, ReportID: 0x04, Offset: 16, Size: 1
   2.268547     Can't retrieve Report 04: Broken pipe
   2.268599     Path: 00860004.PowerConverter.Input.Voltage, Type: Input, ReportID: 0x04, Offset: 24, Size: 16
   2.272283     Can't retrieve Report 04: Broken pipe
   2.272321     Path: 00860004.PowerConverter.Input.Frequency, Type: Input, ReportID: 0x04, Offset: 40, Size: 16
   2.275535     Can't retrieve Report 05: Broken pipe
   2.275581     Path: 00860004.PowerConverter.Output.OutputID, Type: Input, ReportID: 0x05, Offset: 0, Size: 4
   2.279407     Can't retrieve Report 05: Broken pipe
   2.279454     Path: 00860004.PowerConverter.Output.FlowID, Type: Input, ReportID: 0x05, Offset: 4, Size: 4
   2.282530     Can't retrieve Report 05: Broken pipe
   2.282576     Path: 00860004.PowerConverter.Output.Voltage, Type: Input, ReportID: 0x05, Offset: 8, Size: 16
   2.285462     Can't retrieve Report 05: Broken pipe
   2.285509     Path: 00860004.PowerConverter.Output.Frequency, Type: Input, ReportID: 0x05, Offset: 24, Size: 16
   2.289393     Can't retrieve Report 05: Broken pipe
   2.289441     Path: 00860004.PowerConverter.Output.PercentLoad, Type: Input, ReportID: 0x05, Offset: 40, Size: 16
   2.292523     Can't retrieve Report 05: Broken pipe
   2.292571     Path: 00860004.PowerConverter.Output.PresentStatus.Overload, Type: Input, ReportID: 0x05, Offset: 56, Size: 1
   2.296691     Can't retrieve Report 05: Broken pipe
   2.296737     Path: 00860004.PowerConverter.Output.PresentStatus.Boost, Type: Input, ReportID: 0x05, Offset: 57, Size: 1
   2.299400     Can't retrieve Report 05: Broken pipe
   2.299448     Path: 00860004.PowerConverter.Output.PresentStatus.Buck, Type: Input, ReportID: 0x05, Offset: 58, Size: 1
   2.299479     Report descriptor retrieved (Reportlen = 624)
   2.299486     Found HID device
   2.299494     Detected a UPS: unknown/unknown
   2.299503     find_nut_info: unknown info type: load.off.delay
   2.299510     find_nut_info: unknown info type: load.on.delay
   2.299517     find_nut_info: unknown info type: load.off.delay
   2.299532     upsdrv_initinfo...
   2.299545     upsdrv_updateinfo...
   2.552766     libusb_get_interrupt: Connection timed out
   2.552812     Got 0 HID objects...
   2.552819     Quick update...
   2.553027     dstate_init: sock /var/state/ups/usbhid-ups-ups open on fd 8
   2.553042     upsdrv_updateinfo...
   2.805343     libusb_get_interrupt: Connection timed out


More information about the Nut-upsuser mailing list