Citeren Arjen de Korte <[email protected]>:

Any ideas? The libusb support in 6.x is pretty crappy so maybe it's
that :(

If it is very slow in timing out on the USB communication, that could be a problem. The following worries me:

   1.272355     upsdrv_updateinfo...
  30.839759     file_report_buffer: expected 4 bytes, but got 128!

This means the HIDGetEvents() functions takes almost 30 seconds to return, where we expect it to return almost immediately. This means the interrupt pipeline is not being handled correctly. Since the driver stalls so long here, the server will give up on it. My first suggestion would be to check if upgrading libusb helps, possibly by trying it out on a more recent OS.

If the latter isn't feasible, you can also checkout the latest version from the SVN trunk and add the 'pollonly' flag to ups.conf. This will make the driver ignore the interrupt pipe, hopefully working around this problem.

Best regards, Arjen
--
Please keep list traffic on the list


_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to