[Nut-upsdev] APC Smart-UPS 1000 RM USB problems with newhidups

George Ross gdmr at inf.ed.ac.uk
Fri Feb 3 12:02:13 UTC 2006


> I am attaching below a program that one can use (as root) to read
> descriptors from a USB device and dump them to stdout.

If that's the same program that I got from Charles Lepple in January, then 
I expect the output will still be:

> [haitink+]root: ./get_descriptor 002 002 1 0 0 128 0x21 0
> Bus 002 device 002 configuration 1 interface 0 altsetting 0 endpoint 128 descriptor 0x21 index 0:
> 
>  09 21 10 01 21 01 22 f3 f1
> 
>  .!..!."..
> 
> (which corresponds with what I'd got when I hacked newhidups's libusb.c to
> print out the HID descriptor contents).  The "f3 f1" looks wrong, both here
> and as obtained by newhidups -- I would have expected "10 04".  Linux with 
> a 2.6.12-1.1381_FC3 kernel and libusb-0.1.10a, btw.

(I see that was on the nut-upsuser list, probably as a result of following 
up a message thread which started out there.)

-- 
Dr George D M Ross, School of Informatics, University of Edinburgh
    Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ
Mail: gdmr at inf.ed.ac.uk   Voice: +44 131 650 5147   Fax: +44 131 667 7209
 PGP: 1024D/AD758CC5  B91E D430 1E0D 5883 EF6A  426C B676 5C2B AD75 8CC5


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 239 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20060203/2dc62722/attachment.pgp


More information about the Nut-upsdev mailing list