Germano,
First of all I don't understand why you got:
22:38:46.823774 SetFreqCorrection 0 ppm Successful
I expected a message like:
SetFreqCorrection -14 ppm Successful
Below two solutions for possible problems with Debian Buster.
Solution for “Allocating 1 zero-copy buffers”
Find location of librtlsdr.so with:
cd /
find -name librtlsdr.so
...
./home/weewx/librtlsdr/build/src/librtlsdr.so
export LD_LIBRARY_PATH=/home/weewx/librtlsdr/build/src
Solution for error: “Kernel driver is active, or device is claimed by
second instance of librtlsdr”.
-----
Error message:
usb_claim_interface error -6
12:47:50.630484 resource busy
-----
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.
nano /etc/modprobe.d/blacklist.conf
blacklist dvb_usb_rtl28xxu
rmmod dvb_usb_rtl28xxu
Luc
Op woensdag 23 september 2020 om 18:46:51 UTC-3 schreef Germano S:
> Thank you Steve for the quick response. (sorry i think it sent it
> directly to your email)
> I am using an x86/x64 system.
> I have tried with both the one bundled with Debian and the compiled one
> linked in the git repo.
>
> Occasionally the Zero buffer does pop up, there are no errors or
> warnings that come with it, just no data seams to be found
>
> germano@weewx:~$ $GOPATH/bin/rtldavis -tf US -tr 1 -ppm -14
> 22:38:14.085423 rtldavis.go VERSION=0.15
> 22:38:14.094201 tr=1 fc=0 ppm=-14 gain=0 maxmissed=51 ex=0
> receiveWindow=300 actChan=[0] maxChan=1
> 22:38:14.094250 undefined=false verbose=false disableAfc=false
> deviceString=0
> 22:38:14.094526 BitRate: 19200
> 22:38:14.094538 SymbolLength: 14
> 22:38:14.094545 SampleRate: 268800
> 22:38:14.094552 Preamble: 1100101110001001
> 22:38:14.094559 PreambleSymbols: 16
> 22:38:14.094566 PreambleLength: 224
> 22:38:14.094572 PacketSymbols: 80
> 22:38:14.094579 PacketLength: 1120
> 22:38:14.094585 BlockSize: 512
> 22:38:14.094592 BufferLength: 2048
> Found Rafael Micro R820T tuner
> 22:38:46.554454 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0
> Transmitter:0}
> Exact sample rate is: 268800.001367 Hz
> 22:38:46.823028 GetTunerGain: 0 Db
> 22:38:46.823774 SetFreqCorrection 0 ppm Successful
> 22:38:46.830107 Init channels: wait max 135 seconds for a message of
> each transmitter
> 22:41:02.643549 Init channels: wait max 135 seconds for a message of
> each transmitter
> 22:41:02.645021 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0
> Transmitter:0}
>
>
> On Wed, 2020-09-23 at 14:08 -0700, Steve Wormley wrote:
> > If you're using the version from: https://github.com/lheijst/rtldavis
> > it should just work provided you told it "-tr US" and provided any
> > ppm correction.
> >
> > Now, the one problem you may have is if you're using the system
> > provided librtlsdr, and if it's saying something about Zero Copy
> > Buffers, not sure if it's a problem on x86/amd64 but the Raspberry
> > Pi's definitely didn't like it. Unless they fixed that you'll need to
> > uninstall the system librtlsdr and compile one from scratch per the
> > instructions and give it the -DENABLE_ZEROCOPY=0 flag when compiling.
> > (Or set LD_LIBRARY_PATH to your version if you don't want to remove
> > the system version)
> >
> > -Steve
> >
> >
> >
> >
> >
> > On Wed, Sep 23, 2020 at 1:06 PM Germano S <[email protected]> wrote:
> > > Hello,
> > > Just checking in if there is still development on this driver.
> > >
> > > I was given a used Vantage pro (US) a not to long a ago. I have
> > > installed everything as far as i can tell, but rtldavis reports no
> > > data being transmitted which makes me think my frequencies are
> > > incorrect.
> > >
> > > I am running on Debian 10 (Buster) with Weewx 4.1.1 along with an
> > > RTL-SDR V3 which has been calibrated. I am scanning the frequencies
> > > to see if i can find anything.
> > >
> > > If anyone can give me a bit of further direction or if anyone has
> > > succeeded i would be most appreciative. :)
> > >
> > >
> > >
> > >
> > >
> > > On Friday, May 10, 2019 at 5:45:24 PM UTC+1 [email protected]
> > > wrote:
> > > > Luc
> > > >
> > > > Is there a way to put the Channel Id, Channel Freq, and Error
> > > > into the LOOP packet with the data? I looked through rtldavis.py
> > > > but could not find a the spot.
> > > >
> > > > Rich
> > > >
>
>
--
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/9c2537c1-e975-4398-9b01-efa7b8a7361en%40googlegroups.com.