Re: [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

Re: [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

Re: [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

Re: [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

Re: [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 -

Re: [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

Re: [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% @