[Nut-upsuser] Tripp Lite OMNI1000 LCD issues

John Darrah xyllyx at gmail.com
Wed Apr 23 02:20:18 UTC 2008


On Tue, Apr 22, 2008 at 11:15:27AM +0200, Arjen de Korte wrote:
> > Attached is approx 30 sec of output from the following command:
> 

[...]

> 
> 	/* Get HID notifications on Interrupt pipe first */
> 	/* TODO: cap number of times we check for events? */
> 	while ((evtCount = HIDGetEvents(udev, event, MAX_EVENT_NUM)) > 0) {
> 
> If you replace the 'while' with 'if', you'll probably be fine. Having said
> that, it makes sense to upgrade to nut-2.2.2-pre2 as well (this has the
> same bug), since that also fixed some other issues with the 'usbhid-ups'
> driver.

I changed the 'while' to an 'if'.

I now responds to Ctl-C.
The socket is being created.
Nothing more to fix... now i'm bored ;-)

Thanks

-- 
John



More information about the Nut-upsuser mailing list