I actually just ran across this trying to get rtldavis working. It appears 
that the new zero-copy code in the packaged version of librtlsdr is the 
problem. I compiled a local copy without zero-copy support and pointed 
LD_LIBRARY_PATH at it to not use the system librtlsdr and all is well.

22:24:34.409069 SetFreqCorrection 0 ppm Successful
Allocating 1 zero-copy buffers  <-- broken

I've read things about zero copy expecting a 16k buffer which rtldavis 
doesn't use, but it could be a number of things like a bad interaction with 
the go library.

Well, mostly well. Eventually the frequency correction code wanders off far 
enough to cause it to eventually start failing 100% of the time. Disabling 
that gets me to well above 95% packet success for long periods. Not sure if 
this is also a librtlsdr problem or something else.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-development/69b4d3a1-e34b-48dc-93d3-de8860ae38a4%40googlegroups.com.

Reply via email to