More information Re: [Nut-upsdev] TrippLite OMNI1000LCD hiddev

Joel Peshkin joel at peshkin.net
Mon Nov 7 15:20:54 UTC 2005


Peter Selinger wrote:

>Better. What you actually need is:
>
>/usr/local/ups/bin/newhidups -u root -x vendorid=09AE -x generic -DD auto
>
>

It is still being strange....  

After trying this /dev/usb/hiddev0 disappears (actually, dev/usb 
disappears, but it is the only thing there) and I have to rmmod usb_uhci 
and udb_ehci and re-insmod them to get the device back.

By the way, this is on a ubuntu (breezy) system fwiw, but I switched to 
a fresh cvs checkout of nut to debug.



# /usr/local/ups/bin/newhidups -uroot -x vendorid=09AE -x generic -DD
Network UPS Tools: New USB/HID UPS driver 0.28 (2.1.0)

debug level is '2'
Checking device (0000/0000) (005/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.12-9-amd64-generic ehci_hcd
- Product: VIA Technologies, Inc. USB 2.0
- Serial Number: 0000:00:10.4
- Bus: 005
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (004/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.12-9-amd64-generic uhci_hcd
- Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#4)
- Serial Number: 0000:00:10.3
- Bus: 004
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (003/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.12-9-amd64-generic uhci_hcd
- Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
- Serial Number: 0000:00:10.2
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.12-9-amd64-generic uhci_hcd
- Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
- Serial Number: 0000:00:10.1
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (09AE/2005) (001/003)
- VendorID: 09ae
- ProductID: 2005
- Manufacturer: Tripp Lite
- Product: TRIPP LITE UPS
- Serial Number: 692185 A
- Bus: 001
Trying to match device
Device matches
HID descriptor retrieved (Reportlen = 459)
Unable to get Report descriptor (-75)
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.12-9-amd64-generic uhci_hcd
- Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
- Serial Number: 0000:00:10.0
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching USB/HID UPS found




Also, here is the appropriate section from lsusb -v

Bus 002 Device 002: 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 692185 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
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     618
         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              40





More information about the Nut-upsdev mailing list