[Nut-upsdev] Mustek Powermust 600USB and newhidups

Peter Selinger selinger at mathstat.dal.ca
Fri Apr 14 23:02:22 UTC 2006


This does not look like a proper HID device to me. It only has a
single usage variable, ff000001.ff000002. Looks like a proprietary
protocol. -- Peter

Carlos Rodrigues wrote:
> 
> So, I have this Mustek Powermust 600USB (no serial port) here
> temporarily. It seems to be a hid device.
> 
> The output from "lsusb -v" and "newhidups -DDDDD" (with "generic" and
> "vendorid=3D06da") are (respectively):
> 
> ---------------------------------------------------------------------------=
> --------------------
> Bus 001 Device 002: ID 06da:0003 Phoenixtec Power Co., Ltd
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.10
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0
>   bDeviceProtocol         0
>   bMaxPacketSize0         8
>   idVendor           0x06da Phoenixtec Power Co., Ltd
>   idProduct          0x0003
>   bcdDevice            0.00
>   iManufacturer           3 OMRON
>   iProduct                1 87XXUPS
>   iSerial                 0
>   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.11
>           bCountryCode            0 Not supported
>           bNumDescriptors         1
>           bDescriptorType        34 Report
>           wDescriptorLength      27
>           Report Descriptor: (length is 27)
>             Item(Global): Usage Page, data=3D [ 0x00 0xff ] 65280
>                             (null)
>             Item(Local ): Usage, data=3D [ 0x01 ] 1
>                             (null)
>             Item(Main  ): Collection, data=3D [ 0x01 ] 1
>                             Application
>             Item(Local ): Usage, data=3D [ 0x02 ] 2
>                             (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 [ 0x82 ] 130
>                             Data Variable Absolute No_Wrap Linear
>                             Preferred_State No_Null_Position Volatile Bitfi=
> eld
>             Item(Local ): Usage, data=3D [ 0x02 ] 2
>                             (null)
>             Item(Global): Report Count, data=3D [ 0x08 ] 8
>             Item(Main  ): Output, data=3D [ 0x82 ] 130
>                             Data Variable Absolute No_Wrap Linear
>                             Preferred_State No_Null_Position Volatile Bitfi=
> eld
>             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              20
> 
> ---------------------------------------------------------------------------=
> ---------------------
> 
> debug level is '5'
> Checking device (06DA/0003) (001/002)
> - VendorID: 06da
> - ProductID: 0003
> - Manufacturer: OMRON
> - Product: 87XXUPS
> - Serial Number: unknown
> - Bus: 001
> Trying to match device
> Device matches
> HID descriptor retrieved (Reportlen =3D 27)
> Report descriptor retrieved (Reportlen =3D 27)
> Found HID device
> Report Descriptor size =3D 27
> Report Descriptor: (200 bytes) =3D> 06 00 FF 09 01 A1 01 09 02 15 00 26
> FF 00 75 08
> Detected a UPS: OMRON/87XXUPS
> Using subdriver: GENERIC HID 0.1
> Looking up ff000001
> Looking up ff000002
> entering string_to_path()
> parsing ff000001
> Looking up ff000001
> parsing ff000002
> Looking up ff000002
> Path depth =3D 2
> 0: UPage(ff00), Usage(1)
> 1: UPage(ff00), Usage(2)
> Can't find object ff000001.ff000002
> Path: ff000001.ff000002, Type: Input
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up ff000002
> entering string_to_path()
> parsing ff000001
> Looking up ff000001
> parsing ff000002
> Looking up ff000002
> Path depth =3D 2
> 0: UPage(ff00), Usage(1)
> 1: UPage(ff00), Usage(2)
> Can't find object ff000001.ff000002
> Path: ff000001.ff000002, Type: Output
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> Looking up ff000001
> Looking up 00000000
> entering identify_ups(0x06da, 0x0003)
> 
> upsdrv_updateinfo...
> dstate_init: sock /home/carlos/dev/nut/live/var/state/ups/ups open on fd 5
> upsdrv_updateinfo...
> Waiting for notifications...
> Signal 2: exiting
> Closing device
> 
> 
> --
> Carlos Rodrigues
> 
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
> 




More information about the Nut-upsdev mailing list