[Nut-upsdev] HP T/R2200 G2

Charles Lepple clepple at gmail.com
Wed Sep 10 13:54:26 UTC 2008


On Sep 10, 2008, at 8:52 AM, Charles Lepple wrote:

> [moved to nut-upsdev]
>
> On Sep 10, 2008, at 8:29 AM, James Harper wrote:
>
>>
>>
>>> -----Original Message-----
>>> From: Charles Lepple [mailto:clepple at gmail.com]
>>> Sent: Wednesday, 10 September 2008 22:11
>>> To: James Harper
>>> Cc: nut-upsuser at lists.alioth.debian.org
>>> Subject: Re: [Nut-upsuser] HP T/R2200 G2
>>>
>>> On Wed, Sep 10, 2008 at 6:18 AM, James Harper
>>> <james.harper at bendigoit.com.au> wrote:
>>>>>
>>>>> Has anyone had any success with the HP T/R2200 G2? I have used the
>>>>> T/R2200 with nut a few times before and it works great, but the G2
>>>>> doesn't want to talk to me.
>>>>>
>>>>> I have tried bcmxcp from 2.0.4, 2.2.2, and svn, as well as the usb
>>>>> drivers. Maybe the G2 isn't a rebadged powerware unit?
>>>
>>> What errors are you getting with the USB drivers? (Permissions are a
>>> little more complicated with USB peripherals.)
>>
>> 'Can't open POWERWARE USB device, retrying ...' with the bcmxcp_usb
>> driver.
>>
>> I'm running the drivers directly for testing, and specifying '-u  
>> root'
>> to make sure that permissions aren't an issue. An strace shows no  
>> access
>> denied type errors.
>>
>>>> One more thing... if it helps, the usb info is:
>>>>
>>>> Bus 003 Device 003: ID 03f0:1f0a Hewlett-Packard
>>>
>>> What does 'lsusb -vvv -d 03f0:1f0a' return?
>>>
>>
>> Attached.
>>
>> The source code definitely makes no reference to that vendorid or
>> productid that I can see.
>>
>> I did try the '-x explore' with the usbhid-ups driver (2.2.2  
>> version),
>> debug output of that is attached if that helps.
>>
>> Thanks
>>
>> James<r2200g2.txt><r2200g2-explore.txt>
>
> Here they are, compressed.
>
> I think that it should be relatively easy to support this model,  
> since it appears to follow the HID Power Device Class spec. (The  
> devil is in the details, such as what the UPS actually reports as  
> the battery runs down.)


James,

The private usage pages for this UPS look remarkably similar to what  
is mentioned in the Tripp Lite sub-driver of usbhid-ups.

Can you try the following patch against the SVN trunk? (You will want  
to remove "-x explore" from the command line after patching.)

-- 
Charles Lepple
clepple at gmail

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hp-tr2200g2.patch
Type: application/octet-stream
Size: 3198 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20080910/64e1e4f3/attachment.obj 


More information about the Nut-upsdev mailing list