On Monday, 14 November 2016 11:46:25 UTC+10, Cameron D wrote:
>
> Hmm, more debugging needed.
>

I think I have made a bit of progress - but not on the missing data problem.

I have adjusted the code to be able to choose between libusb0 and libusb1 - 
and to save what version is being used.

When using libusb0, the reported exceptions are unreliable. I have two 
cases:
1.USB cable has been removed and replugged - detaching kernel HID is 
required. USB read timeouts return USBError with 
      strerror set to "Connection timed out"
      errno set to None
      backend_error_code set to -110
2. restarting without replugging cable (HID not attached). USB read 
timeouts return USBError with:
      strerror set to "could not detach kernel driver from interface 0: No 
data available"
      errno set to None
      backend_error_code set to -110

when I use libusb1, the following happens, in both cases:
      strerror set to "Connection timed out"
      errno set to 110
      backend_error_code set to -7

However, there are still problems, possibly with my code, so wait for more 
details.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to