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

_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to