[Nut-upsdev] Re: Tr : NUT patches
Peter Selinger
selinger at mathstat.dal.ca
Mon Aug 29 21:04:20 UTC 2005
Charles Lepple wrote:
>
> would you mind forwarding (to either me, or the list) the .txt file
> showing the hidparser bug? I am trying to revamp libhid's hidparser,
> and it would be helpful to have the descriptor.
>
> Also useful would be a hex dump of the descriptor itself (available
> with libhid's test program), but if you don't have time to get libhid
> up and running, I understand.
Charles, I finally got my hands on that hex dump. Here is descriptor
22/0, from an APC Back-UPS ES 650:
05 84 09 04 a1 01 09 24 a1 00 85 01 09 fe 79 01 75 08 95 01 15 00 26 ff
00 b1 22 85 02 09 ff 79 02 b1 22 85 03 05 85 09 89 79 04 b1 22 85 04 09
8f 79 03 b1 22 85 05 09 8b b1 22 85 06 06 86 ff 09 60 81 a2 09 60 b1 a2
85 07 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85 08 05 84 09 40 67 21 d1
f0 00 55 05 b1 22 85 09 09 30 b1 a2 85 0a 09 fd 75 08 26 ff 00 65 00 55
00 79 03 b1 22 85 0b 05 85 09 2c b1 22 85 0c 09 66 25 64 81 a2 09 66 b1
a2 09 68 75 10 27 ff ff 00 00 66 01 10 81 a2 09 68 b1 a2 85 0d 09 83 75
08 25 64 65 00 b1 22 85 0e 09 67 b1 22 85 0f 09 8c b1 22 85 10 09 8e b1
22 85 11 09 29 15 01 b1 a2 85 12 09 8d 15 00 b1 22 05 84 09 02 a1 02 85
16 05 85 75 01 25 01 09 44 81 a2 09 44 b1 a2 09 45 81 a2 09 45 b1 a2 09
d0 81 a2 09 d0 b1 a2 09 d1 81 a2 09 d1 b1 a2 09 42 81 a2 09 42 b1 a2 05
84 09 69 81 a2 09 69 b1 a2 05 85 09 43 81 a2 09 43 b1 a2 09 4b 81 a2 09
4b b1 a2 05 84 09 65 81 a2 09 65 b1 a2 95 17 81 01 b1 01 c0 85 17 05 85
09 2a 95 01 75 10 27 ff ff 00 00 66 01 10 b1 a2 85 18 05 84 09 5a 75 08
15 01 25 03 65 00 b1 a2 c0 09 12 a1 00 85 1c 06 86 ff 09 16 75 18 15 00
27 ff ff ff 00 b2 a2 01 85 20 05 85 09 85 75 10 27 ff ff 00 00 b1 a2 85
22 09 66 75 08 25 64 b1 a2 85 23 09 68 75 10 27 ff ff 00 00 66 01 10 09
68 b1 a2 85 24 09 2a b1 a2 85 25 05 84 09 40 67 21 d1 f0 00 55 05 b1 22
85 26 09 30 b1 a2 85 27 06 86 ff 09 24 75 08 16 e8 00 26 fe 00 65 00 55
00 b1 a2 85 28 09 18 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 05
84 09 1a a1 00 85 30 05 84 09 40 75 08 15 00 26 ff 00 67 21 d1 f0 00 55
07 b1 22 85 31 09 30 b1 a2 85 32 09 53 15 57 25 61 b1 a2 85 33 09 54 15
7f 26 8b 00 b1 a2 85 34 06 86 ff 09 24 16 aa 00 26 fe 00 65 00 55 00 b1
a2 85 35 09 61 15 00 25 02 b1 a2 85 36 09 52 25 0d b1 a2 c0 09 05 a1 00
85 40 09 7c 25 01 b1 a2 85 41 09 7d 75 10 16 ff ff 26 ff 7f 66 01 10 b1
a2 c0 05 84 09 16 a1 00 85 50 09 35 75 08 15 00 25 64 65 00 b1 a2 85 51
06 86 ff 09 24 16 6d 00 26 b8 00 b1 a2 c0 06 86 ff 09 01 a1 00 85 60 09
23 75 10 15 00 27 ff ff 00 00 b1 a2 85 61 09 26 75 08 15 84 25 8c b1 a2
85 62 09 25 75 20 17 01 00 00 80 27 ff ff ff 7f b2 a2 01 c0 85 7f 05 84
09 fe 79 05 75 08 95 01 15 00 26 ff 00 b1 22 85 7e 06 86 ff 09 42 79 06
b1 22 85 7d 05 84 09 ff 79 02 b1 22 85 7c 09 fd 79 03 b1 22 85 7b 05 85
09 85 75 10 27 ff ff 00 00 b1 a2 05 84 09 02 a1 02 85 7a 05 85 09 44 75
01 25 01 b1 a2 09 45 b1 a2 09 d0 b1 a2 09 d1 b1 a2 09 42 b1 a2 05 84 09
69 b1 a2 05 85 09 43 b1 a2 09 4b b1 a2 05 84 09 65 b1 a2 95 17 b1 01 c0
85 79 06 86 ff 09 72 75 08 95 01 b1 a2 85 78 05 84 09 5a 15 01 25 03 b1
a2 85 75 06 86 ff 09 29 26 ff 00 b1 a2 85 74 09 2a 75 20 17 01 00 00 80
27 ff ff ff 7f b1 a2 c0
-- Peter
More information about the Nut-upsdev
mailing list