Hi Charles,<div><br></div><div>I´ve try get_descriptor.</div><div>Here are the results:</div><div><br></div><div># lsusb -v</div><div>Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</div><div>Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</div>
<div>Bus 003 Device 005: ID 10af:0008 Liebert Corp. PowerSure Interactive UPS</div><div>Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</div><div>Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</div>
<div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div><br></div><div>The first run as root</div><div><br></div><div># ./get_descriptor 003 005 1 0 0 128 0x22 0</div><div>Warning: could not set config 1: Device or resource busy</div>
<div>Warning: could not set alt intf 0/0: Connection timed out</div><div>Can't get endpoint 128 descriptor 0x22 index 0: error sending control message: Protocol error</div><div><br></div><div>The second run as root</div>
<div><br></div><div># ./get_descriptor 003 005 1 0 0 128 0x22 0</div><div>Warning: could not set config 1: Protocol error</div><div>Warning: could not set alt intf 0/0: Protocol error</div><div>Can't get endpoint 128 descriptor 0x22 index 0: error sending control message: Protocol error</div>
<div><br></div><div>I could try again anything!</div><div><br></div><div>Juan Pablo</div><div><br><div class="gmail_quote">2011/6/11 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, Jun 8, 2011 at 9:00 AM, Charles Lepple <<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>> wrote:<br>
> On Wed, Jun 8, 2011 at 8:39 AM, Arnaud Quette <<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>> wrote:<br>
>><br>
>> 2011/6/8 Don Gould <<a href="mailto:don@bowenvale.co.nz">don@bowenvale.co.nz</a>><br>
>>><br>
>>> On 8/06/2011 11:04 p.m., Charles Lepple wrote:<br>
>>>><br>
>>>> On Jun 8, 2011, at 6:29 AM, Don Gould wrote:<br>
>>>><br>
>>>>> it was suggested to me that nut might support my new ups.<br>
>>>>><br>
>>>>> I have a headless debian box that it will be powering.<br>
>>>>><br>
>>>>> Can someone tell me what packages I need to install?<br>
>>>><br>
>>>> The base package for NUT in Debian is just called "nut" (currently at<br>
>>>> version 2.4.3):<br>
>>>><br>
>>>> <a href="http://packages.debian.org/squeeze/nut" target="_blank">http://packages.debian.org/squeeze/nut</a><br>
>>>><br>
>>>> However, I don't think any of the NUT developers currently own a GXT3,<br>
>>><br>
>>> Well I have one and I'm more than willing to provide system access to the<br>
>>> devs if they want to help figure this out.<br>
>>><br>
>>> I've been though a number of weeks bouncing messages at the manufacture of<br>
>>> the UPS to end up with a less than satisfactory answer and I'd just love to<br>
>>> see this puppy with some functional FLOSS driving it.<br>
><br>
> Don,<br>
><br>
> There's a simple program that Peter Selinger wrote a few years ago to<br>
> grab some of the information from the UPS's USB interface - I'll dig<br>
> that up and we can try to figure out what's going on. As a minimum,<br>
> you'll need the Debian build-essentials package, as well as<br>
> libusb-dev.<br>
<br>
</div>Here's the program:<br>
<br>
<a href="http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-November/001292.html" target="_blank">http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-November/001292.html</a><br>
<br>
You should be able to build it with the following command:<br>
<br>
$ gcc -o get_descriptor get_descriptor.c -lusb<br>
<br>
(after installing the packages listed above)<br>
<br>
Assuming that 'lsusb -v' (run as root) returns the same information as<br>
Juan Pablo Valles posted on 5/30/2011, I think you'll need to run it<br>
as follows:<br>
<br>
# ./get_descriptor <bus> <device> 1 0 0 128 0x22 0<br>
<br>
<bus> and <device> are from the line of lsusb output which matches your UPS.<br>
<br>
Juan, if you would like to try the same program, that would also be<br>
useful to compare results.<br>
<br>
--<br>
<font color="#888888">- Charles Lepple<br>
</font></blockquote></div><br></div>