Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-10 Thread Arnaud Quette
2008/10/4 Raphael Geissert [EMAIL PROTECTED]: 2008/10/4 Arjen de Korte [EMAIL PROTECTED]: Citeren Arnaud Quette [EMAIL PROTECTED]: you missed to add an entry in drivers/tripplite-hid.c -tripplite_claim() for that ;-) And beware that you need to put it in the correct place as well. Some

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-10 Thread Arnaud Quette
2008/10/4 Raphael Geissert [EMAIL PROTECTED]: 2008/10/4 Charles Lepple [EMAIL PROTECTED]: I don't know much about the Tripp Lite devices covered by the usbhid-ups driver, but the usual debug suggestions apply. You can run the driver with -DDD on the command line, and look for messages

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Charles Lepple
On Sat, Oct 4, 2008 at 8:44 AM, Arnaud Quette [EMAIL PROTECTED] wrote: 2008/10/4 Raphael Geissert [EMAIL PROTECTED]: Package: nut Version: 2.2.2-8 Severity: wishlist Tags: patch [...] * the battery charge information, at least as displayed by knutclient 0.9.4, is either 0% or 100%, the

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Arjen de Korte
Citeren Arnaud Quette [EMAIL PROTECTED]: Attached is a patch adding support for tripplite's avr750u UPS. Issues: * productid still needs to be specified in ups.conf you missed to add an entry in drivers/tripplite-hid.c -tripplite_claim() for that ;-) And beware that you need to put it in

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Arjen de Korte
Citeren Charles Lepple [EMAIL PROTECTED]: Going out on a limb here, maybe it's something that we have to explicitly poll (versus waiting for it to be reported on the interrupt pipe), for the times when it is below 100%. The usbhid-ups driver polls for practically all variables. The polling

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Arnaud Quette
2008/10/4 Arjen de Korte [EMAIL PROTECTED]: Citeren Arnaud Quette [EMAIL PROTECTED]: Attached is a patch adding support for tripplite's avr750u UPS. Issues: * productid still needs to be specified in ups.conf you missed to add an entry in drivers/tripplite-hid.c -tripplite_claim() for that

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Arnaud Quette
2008/10/4 Arjen de Korte [EMAIL PROTECTED]: Citeren Charles Lepple [EMAIL PROTECTED]: Going out on a limb here, maybe it's something that we have to explicitly poll (versus waiting for it to be reported on the interrupt pipe), for the times when it is below 100%. The usbhid-ups driver polls

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Raphael Geissert
2008/10/4 Arjen de Korte [EMAIL PROTECTED]: Citeren Arnaud Quette [EMAIL PROTECTED]: you missed to add an entry in drivers/tripplite-hid.c -tripplite_claim() for that ;-) And beware that you need to put it in the correct place as well. Some Tripp Lite HID devices (incorrectly) report

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Raphael Geissert
2008/10/4 Arnaud Quette [EMAIL PROTECTED]: I missed that one. thanks for pointing it ;-) @Raphael: would you be able to test a trunk version for fine tuning? Sure, why not? :) [...] thanks Arjen and Charles, Arnaud -- Linux / Unix Expert RD - MGE Office Protection Systems -

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Raphael Geissert
2008/10/4 Charles Lepple [EMAIL PROTECTED]: I don't know much about the Tripp Lite devices covered by the usbhid-ups driver, but the usual debug suggestions apply. You can run the driver with -DDD on the command line, and look for messages related to battery charge. Attaching the output of

Bug#501087: [Nut-upsdev] Bug#501087: nut: support for a tripplite avr750u

2008-10-04 Thread Arjen de Korte
Citeren Raphael Geissert [EMAIL PROTECTED]: Attaching the output of usbhid-ups -. That sucks... :-( This device doesn't seem to report any measured voltage value, so I wouldn't be surprised if the battery charge would something like an online/onbatt flag too (100% @ online and 0% @