Steve,

Thanks for your advice. My weewx-rtld is now running on Raspbian Buster!

I had to put 'blacklist dvb_usb_rtl28xxu' in file 
/etc/modprobe.d/blacklist.conf

and added in weewx section [Rtldavis] in weewx.conf:

    # set the library path to the local build librtlsdr
    ld_library_path = /home/weewx/librtlsdr/build/src

Cheers,
Luc

On Saturday, 25 April 2020 00:00:02 UTC-3, Steve Wormley wrote:
>
> 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/c469fb69-b553-4c76-b4d4-b21d12dc84b3%40googlegroups.com.

Reply via email to