Thanks Kjell for the help with the build problem. Thanks for your input, too, Charles.

Now I have a new problem that I think has already been solved. I have Tripp Lite Smart1000LCD UPS (usb), but I can't get the newhidups driver to communicate correctly. I found a thread on the development list from last December where Jonathan Freedman described had a problem with this UPS in a thread called "Fun with TrippLite". The problem apparently was resolved with some help from Charles, so presumably is can work.

The command I'm trying is:
newhidups -x vendorid=09ae -x productid=2005 -DD -uroot auto

The relevant part of the output:
Checking device (09AE/2005) (001/003)
- VendorID: 09ae
- ProductID: 2005
- Manufacturer: Tripp Lite
- Product: TRIPP LITE UPS
- Serial Number: 692195 A
- Bus: 001
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 459)
Unable to get Report descriptor (-75)
No appropriate HID device found
No matching HID UPS found

In case it is helpful, lsusb -v gives the following for the UPS (trimmed for brevity--let me know if you want it all):
Bus 001 Device 003: ID 09ae:2005 Tripp Lite
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x09ae Tripp Lite
  idProduct          0x2005
  bcdDevice            0.10
  iManufacturer           3 Tripp Lite
  iProduct                1 TRIPP LITE UPS
  iSerial                 2 692195 A
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  bytes 8 once
        bInterval              40
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     618
          Report Descriptor: (length is 618)
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Local ): Usage, data= [ 0x04 ] 4
                            UPS
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Local ): Usage, data= [ 0x24 ] 36
                            Power Summary
            Item(Main  ): Collection, data= [ 0x02 ] 2
                            Logical
            Item(Global): Usage Page, data= [ 0x84 ] 132
                            Power Device Page
            Item(Global): Report ID, data= [ 0x28 ] 40
            Item(Local ): Usage, data= [ 0xfe ] 254
                            iProduct
---- cut ----


Thanks for any help!

Phil

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

Reply via email to