[Nut-upsuser] blazer_usb MEC0002 problem Fry's Electronics (Turbo-X)

Vassilis Virvilis vasvir at iit.demokritos.gr
Thu Sep 8 08:26:30 UTC 2016


Hi,

I have two ups (Turbo-X 1000SD, Turbo-X 1500SD). The both report
themselves as

# lsusb
Bus 008 Device 002: ID 0001:0000 Fry's Electronics

The are produced by MEC and report MEC0002 as product (although the
working one report it in dmesg but not in lsusb)

The 1000 (bcdUSB 1.00) works with blazer_usb while the 1500 (bcdUSB 1.10)
doesn't.

I am attaching lsusb and blazer_urb output for the problematic (1500) one.

Any ideas on how to debug this further? Anything else to post that may
help solving the problem.


#lsusb -vv
Bus 008 Device 002: 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 MEC
  iProduct                2 MEC0002
  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)


---------------------------

# /lib/nut/blazer_usb -DDD  -a turbo-x
Network UPS Tools - Megatec/Q1 protocol USB driver 0.12 (2.7.4)
   0.000000     debug level is '3'
   0.332848     Checking device (067B/2305) (008/006)
   0.332905     - VendorID: 067b
   0.332914     - ProductID: 2305
   0.332925     - Manufacturer: unknown
   0.332946     - Product: unknown
   0.332966     - Serial Number: unknown
   0.332986     - Bus: 008
   0.333006     - Device release number: 0202
   0.333025     Trying to match device
   0.333062     Device does not match - skipping
   0.333091     Checking device (0001/0000) (008/002)
   0.355824     - VendorID: 0001
   0.355836     - ProductID: 0000
   0.355846     - Manufacturer: MEC
   0.355855     - Product: MEC0002
   0.355863     - Serial Number: unknown
   0.355871     - Bus: 008
   0.355879     - Device release number: 0100
   0.355887     Trying to match device
   0.355926     Device matches
   0.355955     nut_usb_set_altinterface: skipped
usb_set_altinterface(udev, 0)
   0.355980     Trying megatec protocol...
   0.355988     send: Q1
   0.533830     received 10 (85)
   0.533859     read: UPS No Ack
   0.711832     received 10 (85)
   0.711853     read: UPS No Ack
   0.889835     received 10 (85)
   0.889848     read: UPS No Ack
   1.067839     received 10 (85)
   1.067858     read: UPS No Ack
   1.245841     received 10 (85)
   1.245856     read: UPS No Ack
   1.423845     received 10 (85)
   1.423856     read: UPS No Ack
   1.601848     received 10 (85)
   1.601858     read: UPS No Ack
   1.779851     received 10 (85)
   1.779874     read: UPS No Ack
   1.957856     received 10 (85)
   1.957871     read: UPS No Ack
   2.135857     received 10 (85)
   2.135874     read: UPS No Ack
   2.135881     blazer_status: short reply
   2.135887     Status read 1 failed
   2.135892     send: Q1
   2.313860     received 10 (85)
   2.313872     read: UPS No Ack
   2.491864     received 10 (85)
   2.491878     read: UPS No Ack
   2.669867     received 10 (85)
   2.669881     read: UPS No Ack
   2.847871     received 10 (85)
   2.847884     read: UPS No Ack
   3.025874     received 10 (85)
   3.025886     read: UPS No Ack
   3.203877     received 10 (85)
   3.203894     read: UPS No Ack
   3.381881     received 10 (85)
   3.381899     read: UPS No Ack
   3.559884     received 10 (85)
   3.559897     read: UPS No Ack
   3.737887     received 10 (85)
   3.737901     read: UPS No Ack
   3.915892     received 10 (85)
   3.915907     read: UPS No Ack
   3.915915     blazer_status: short reply
   3.915921     Status read 2 failed
   3.915926     send: Q1
   4.093895     received 10 (85)
   4.093907     read: UPS No Ack
   4.271896     received 10 (85)
   4.271910     read: UPS No Ack
   4.449901     received 10 (85)
   4.449915     read: UPS No Ack
   4.627903     received 10 (85)
   4.627916     read: UPS No Ack
   4.805906     received 10 (85)
   4.805918     read: UPS No Ack
   4.983910     received 10 (85)
   4.983935     read: UPS No Ack
   5.161913     received 10 (85)
   5.161927     read: UPS No Ack
   5.339916     received 10 (85)
   5.339930     read: UPS No Ack
   5.517920     received 10 (85)
   5.517942     read: UPS No Ack
   5.695922     received 10 (85)
   5.695936     read: UPS No Ack
   5.695944     blazer_status: short reply
   5.695950     Status read 3 failed
   5.695954     Trying mustek protocol...
   5.695969     send: QS
   5.695992     read: QS
   5.696013     blazer_status: short reply
   5.696033     Status read 1 failed
   5.696053     send: QS
   5.696072     read: QS
   5.696092     blazer_status: short reply
   5.696112     Status read 2 failed
   5.696132     send: QS
   5.696152     read: QS
   5.696172     blazer_status: short reply
   5.696193     Status read 3 failed
   5.696213     Trying megatec/old protocol...
   5.696233     send: D
   5.696253     read: D
   5.696274     blazer_status: short reply
   5.696294     Status read 1 failed
   5.696313     send: D
   5.696333     read: D
   5.696353     blazer_status: short reply
   5.696373     Status read 2 failed
   5.696393     send: D
   5.696413     read: D
   5.696433     blazer_status: short reply
   5.696453     Status read 3 failed
   5.696473     Trying zinto protocol...
   5.696493     send: Q1
   5.873927     received 10 (85)
   5.873953     read: UPS No Ack
   6.051930     received 10 (85)
   6.051944     read: UPS No Ack
   6.229934     received 10 (85)
   6.229962     read: UPS No Ack
   6.407936     received 10 (85)
   6.407952     read: UPS No Ack
   6.585938     received 10 (85)
   6.585952     read: UPS No Ack
   6.763942     received 10 (85)
   6.763956     read: UPS No Ack
   6.941946     received 10 (85)
   6.941968     read: UPS No Ack
   7.119949     received 10 (85)
   7.119961     read: UPS No Ack
   7.297952     received 10 (85)
   7.297974     read: UPS No Ack
   7.475957     received 10 (85)
   7.475984     read: UPS No Ack
   7.476005     blazer_status: short reply
   7.476027     Status read 1 failed
   7.476048     send: Q1
   7.653959     received 10 (85)
   7.653971     read: UPS No Ack
   7.831962     received 10 (85)
   7.831976     read: UPS No Ack
   8.009967     received 10 (85)
   8.009992     read: UPS No Ack
   8.187970     received 10 (85)
   8.187999     read: UPS No Ack
   8.365972     received 10 (85)
   8.365989     read: UPS No Ack
   8.543975     received 10 (85)
   8.543997     read: UPS No Ack
   8.721984     received 10 (85)
   8.722006     read: UPS No Ack
   8.899983     received 10 (85)
   8.900002     read: UPS No Ack
   9.077985     received 10 (85)
   9.077999     read: UPS No Ack
   9.254988     received 10 (85)
   9.255001     read: UPS No Ack
   9.255011     blazer_status: short reply
   9.255017     Status read 2 failed
   9.255022     send: Q1
   9.432994     received 10 (85)
   9.433008     read: UPS No Ack
   9.610995     received 10 (85)
   9.611009     read: UPS No Ack
   9.788998     received 10 (85)
   9.789011     read: UPS No Ack
   9.967002     received 10 (85)
   9.967016     read: UPS No Ack
  10.145006     received 10 (85)
  10.145019     read: UPS No Ack
  10.322008     received 10 (85)
  10.322024     read: UPS No Ack
  10.500012     received 10 (85)
  10.500024     read: UPS No Ack
  10.678026     received 10 (85)
  10.678055     read: UPS No Ack
  10.856018     received 10 (85)
  10.856032     read: UPS No Ack
  11.034022     received 10 (85)
  11.034035     read: UPS No Ack
  11.034045     blazer_status: short reply
  11.034051     Status read 3 failed
  11.034055     No supported UPS detected



Regards

     Vassilis Virvilis




More information about the Nut-upsuser mailing list