On Sep 24, 2015, at 10:28 AM, Louis G. <lo...@frentzgzesh.info> wrote:
> 
>> usbconfig -u 4 -a 2 dump_curr_config_desc 
> 
> Here is output of the command. Thank you for your help with this.
> 
> ugen4.2: <product 0x0601 CyberPower Systems> at usbus4, cfg=0 md=HOST spd=LOW 
> (1.5Mbps) pwr=ON (50mA)
> 
[...]
>      bLength = 0x09
>      bDescriptorType = 0x21
>      bDescriptorSubType = 0x10
>       RAW dump: 
>       0x00 | 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, 0x90, 
>       0x08 | 0x02

This looks reasonable.

What about this?

usbconfig -u 4 -a 2 do_request 0x81 0x06 0x2200 0 0x100

One thing I noticed about the report descriptor that NUT returned: it has extra 
zero bytes.

For instance, these lines:

   0.157417     Report Descriptor: (656 bytes) => 05 00 84 00 09 00 04 00 a1 00 
01 00 09 00
   0.157431      24 00 a1 00 00 00 85 00 01 00 09 00 fe 00 75 00 08 00 95 00 01 
00 15 00 00

would parse fairly normally if they read as follows:

   0.157417     Report Descriptor: (656 bytes) => 05 84 09 04 a1 01 09
   0.157431      24 a1 00 85 01 09 fe 75 08 95 01 15 00

-- 
Charles Lepple
clepple@gmail




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

Reply via email to