[Nut-upsdev] Powercom black knight 800VA (usb)

Peter Selinger selinger at mathstat.dal.ca
Mon Feb 5 02:38:31 CET 2007


Your device is not supported by newhidups. 

For more information, please see yesterday's thread on nut-upsdev,
subject "PowerCom USB units...".

-- Peter

Libor =?utf-8?q?Klep=C3=A1=C4=8D?= wrote:
> 
> hello.
> i have this new ups. It shows up like hiddev, but i think, it's not support=
> ed=20
> by nut (i have version 2.0.5 from debian)
> it has usbid 0d9f:0002
> i used
> /lib/nut/newhidups -DD -u root -x explore -x vendorid=3D0d9f auto
> (attached) but i don't know, what to do with it (it has lots of "Can't find=
> =20
> object something ;)
> 
> cu
> 
> libor
> 
> Bus 001 Device 003: ID 0d9f:0002 Powercom Co., Ltd=20
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0=20
>   bDeviceProtocol         0=20
>   bMaxPacketSize0         8
>   idVendor           0x0d9f Powercom Co., Ltd
>   idProduct          0x0002=20
>   bcdDevice            0.00
>   iManufacturer           1 POWERCOM CO., LTD.
>   iProduct                2 USB to Serial
>   iSerial                 0=20
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           41
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          4 Sample HID
>     bmAttributes         0x80
>       (Bus Powered)
>     MaxPower              100mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         3 Human Interface Devices
>       bInterfaceSubClass      0 No Subclass
>       bInterfaceProtocol      0 None
>       iInterface              0=20
>         HID Device Descriptor:
>           bLength                 9
>           bDescriptorType        33
>           bcdHID               1.00
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      37
>           Report Descriptor: (length is 37)
>             Item(Global): Usage Page, data=3D [ 0xa0 0xff ] 65440
>                             (null)
>             Item(Local ): Usage, data=3D [ 0x01 ] 1
>                             (null)
>             Item(Main  ): Collection, data=3D [ 0x01 ] 1
>                             Application
>             Item(Local ): Usage, data=3D [ 0x01 ] 1
>                             (null)
>             Item(Global): Logical Minimum, data=3D [ 0x00 ] 0
>             Item(Global): Logical Maximum, data=3D [ 0xff 0x00 ] 255
>             Item(Global): Report Size, data=3D [ 0x08 ] 8
>             Item(Global): Report Count, data=3D [ 0x08 ] 8
>             Item(Main  ): Input, data=3D [ 0x02 ] 2
>                             Data Variable Absolute No_Wrap Linear
>                             Preferred_State No_Null_Position Non_Volatile B=
> itfield
>             Item(Local ): Usage, data=3D [ 0x02 ] 2
>                             (null)
>             Item(Global): Report Size, data=3D [ 0x08 ] 8
>             Item(Global): Report Count, data=3D [ 0x08 ] 8
>             Item(Main  ): Output, data=3D [ 0x02 ] 2
>                             Data Variable Absolute No_Wrap Linear
>                             Preferred_State No_Null_Position Non_Volatile B=
> itfield
>             Item(Local ): Usage, data=3D [ 0x03 ] 3
>                             (null)
>             Item(Global): Report Size, data=3D [ 0x08 ] 8
>             Item(Global): Report Count, data=3D [ 0x05 ] 5
>             Item(Main  ): Feature, data=3D [ 0x02 ] 2
>                             Data Variable Absolute No_Wrap Linear
>                             Preferred_State No_Null_Position Non_Volatile B=
> itfield
>             Item(Main  ): End Collection, data=3Dnone
>       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
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x02  EP 2 OUT
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0008  1x 8 bytes
>         bInterval              10
> Device Status:     0x0000
>   (Bus Powered)
> 
> --Boundary-01=_0AnxF01uJtR+hqB
> Content-Type: text/plain;
>   charset="us-ascii";
>   name="ups.txt"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: attachment;
> 	filename="ups.txt"
> 
> debug level is '2'
> Checking device (0000/0000) (005/001)
> - VendorID: 0000
> - ProductID: 0000
> - Manufacturer: Linux 2.6.19-beyond2-lev-2 ehci_hcd
> - Product: EHCI Host Controller
> - Serial Number: 0000:00:1d.7
> - Bus: 005
> Trying to match device
> Device does not match - skipping
> Checking device (0000/0000) (003/001)
> - VendorID: 0000
> - ProductID: 0000
> - Manufacturer: Linux 2.6.19-beyond2-lev-2 uhci_hcd
> - Product: UHCI Host Controller
> - Serial Number: 0000:00:1d.2
> - Bus: 003
> Trying to match device
> Device does not match - skipping
> Checking device (0D9F/0002) (001/003)
> - VendorID: 0d9f
> - ProductID: 0002
> - Manufacturer: POWERCOM CO., LTD.
> - Product: USB to Serial
> - Serial Number: unknown
> - Bus: 001
> Trying to match device
> Device matches
> HID descriptor retrieved (Reportlen = 37)
> Report descriptor retrieved (Reportlen = 37)
> Found HID device
> Network UPS Tools: 0.28 USB communication driver 0.28 - core 0.30 (2.0.5)
> 
> Report Descriptor size = 37
> Detected a UPS: POWERCOM CO., LTD./USB to Serial
> Using subdriver: EXPLORE HID 0.1
> Can't find object ffa00001.ffa00001
> Path: ffa00001.ffa00001, Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Path: ffa00001., Type: Input
> Can't find object ffa00001.ffa00002
> Path: ffa00001.ffa00002, Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001., Type: Output
> Path: ffa00001.ffa00003, Type: Feature, Value: 0.000000
> Path: ffa00001., Type: Feature
> Path: ffa00001., Type: Feature
> Path: ffa00001., Type: Feature
> Path: ffa00001., Type: Feature
> upsdrv_updateinfo...
> dstate_init: sock /var/run/nut/newhidups-auto open on fd 7
> upsdrv_updateinfo...
> Waiting for notifications...
> upsdrv_updateinfo...
> Waiting for notifications...
> upsdrv_updateinfo...
> Waiting for notifications...
> Signal 2: exiting
> Closing device
> 



More information about the Nut-upsdev mailing list