[Nut-upsdev] TrippLite OMNI1000LCD hiddev

Peter Selinger selinger at mathstat.dal.ca
Wed Nov 9 04:02:19 UTC 2005


OK, thanks for the data. Your HID Descriptor (0x21) definitely claims
that the length of your Report Descriptor (0x22) is 459 bytes (=0x01cb).
However, your Report Descriptor is 618 bytes long. I think this
confirms that there is a firmware bug.

I parsed parts of the Report Descriptor "by hand", and I found that
NUT, according to your debug output a few days ago, had indeed parsed
it correctly and all the way to the end.

Now the question is why your remaining variables are not showing up. I
am a bit baffled by this. I'll have to study the code more carefully,
perhaps I'll have an idea on the weekend. -- Peter

Joel Peshkin wrote:
> 
> Peter Selinger wrote:
> 
> >Did you try descriptors 0x21 and 0x22? They are the most important
> >ones in this context. -- Peter
> 
> root at gate:~# ~joel/nut/drivers/get_descriptor 001 003 1 0 0 128 0x21 0
> Bus 001 device 003 configuration 1 interface 0 altsetting 0 endpoint 128 
> descriptor 0x21 index 0:
> 
>  09 21 10 01 00 01 22 cb 01
>  ...
> root at gate:~# ~joel/nut/drivers/get_descriptor 001 003 1 0 0 128 0x22 0
> Bus 001 device 003 configuration 1 interface 0 altsetting 0 endpoint 128 
> descriptor 0x22 index 0:
> 
>  05 84 09 04 a1 01 09 24 a1 02 05 84 85 28 09 fe 75 08 95 01 26 ff 00 15
>  00 b1 03 85 29 09 ff b1 03 85 2b 09 fd b1 03 09 1a a1 02 09 40 85 30 b1
>  83 c0 75 08 95 01 26 ff 00 85 11 09 5a b1 82 05 85 95 01 75 08 26 ff 00
>  15 00 85 2a 09 89 b1 03 85 33 09 2c b1 03 25 64 85 34 09 66 81 a2 85 34
>  09 66 b1 a2 85 37 09 67 b1 03 05 84 09 02 a1 02 25 01 75 01 85 32 05 84
>  95 01 09 69 81 a2 09 d0 81 a2 95 03 09 44 09 45 09 4b 81 a2 95 03 81 01
>  85 32 05 84 75 01 95 01 09 69 b1 a2 05 85 09 d0 b1 a2 95 03 09 44 09 45
>  09 4b b1 a2 95 03 b1 01 c0 c0 05 84 09 10 a1 02 09 12 a1 02 85 04 09 40
>  75 10 95 01 27 ff ff 00 00 b1 02 75 08 05 84 09 02 a1 02 85 23 05 85 75
>  01 25 01 95 03 09 44 09 45 09 4b b1 82 95 05 b1 01 c0 c0 05 84 95 01 75
>  08 26 ff 00 09 58 85 10 b1 82 c0 05 84 09 1e a1 02 95 01 75 08 26 ff 00
>  85 01 09 40 b1 03 85 02 09 42 b1 03 05 84 85 03 09 43 75 10 95 01 27 ff
>  ff 00 00 b1 03 c0 05 84 95 01 75 08 15 00 26 ff 00 09 18 a1 02 09 20 a1
>  02 75 08 15 00 25 01 95 01 75 10 27 ff ff 00 00 15 00 85 15 09 57 b1 82
>  75 08 15 00 26 ff 00 06 ff ff 85 51 09 91 b1 82 85 52 09 92 b1 82 85 b6
>  09 c7 b1 82 c0 c0 06 ff ff 09 10 a1 81 75 10 95 01 27 ff ff 00 00 85 6c
>  09 7d b1 03 c0 06 ff ff 09 15 a1 81 75 08 95 01 26 ff 00 15 00 85 96 09
>  c0 b1 02 75 20 85 b4 09 d2 b1 02 75 10 85 97 09 c1 b1 02 75 08 85 98 09
>  c2 b1 02 75 10 85 99 09 c3 b1 02 85 9b 09 c5 b1 02 75 20 85 9a 09 c4 b1
>  02 c0 05 84 09 24 a1 02 85 31 09 30 75 08 95 01 26 ff 00 15 00 b1 03 c0
>  09 10 a1 02 09 12 a1 02 85 20 09 30 75 10 27 ff ff 00 00 b1 02 c0 c0 09
>  16 a1 02 09 1a a1 02 85 18 55 0f 09 30 b1 82 85 19 09 32 b1 82 c0 55 00
>  85 22 09 02 a1 02 75 01 95 03 25 01 05 84 09 63 09 6f 09 6e b1 82 95 01
>  b1 03 09 65 b1 82 09 6d 95 01 b1 03 09 67 09 62 95 02 b1 82 95 06 b1 03
>  95 01 09 72 b1 82 95 01 b1 03 c0 c0 05 84 09 18 a1 02 09 20 a1 02 75 10
>  95 01 15 00 27 ff ff 00 00 85 17 09 55 b1 82 c0 c0 c0




More information about the Nut-upsdev mailing list