Patrick

I'm running the RTLDavis driver for almost a year now on Raspbian GNU/Linux 
9 (stretch) with no issues.  

Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.676463 
rtldavis.go VERSION=0.12
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.676948 tr=1 
fc=0 ppm=0 gain=0 ex=0 maxmissed=51 actChan=[0] maxChan=1
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677518 
BitRate: 19200
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677604 
SymbolLength: 14
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677623 
SampleRate: 268800
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677637 
Preamble: 1100101110001001
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677652 
PreambleSymbols: 16
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677667 
PreambleLength: 224
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677681 
PacketSymbols: 80
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677698 
PacketLength: 1120
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677712 
BlockSize: 512
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:42.677729 
BufferLength: 2048
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: Found Rafael Micro 
R820T tuner
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: chan: 22:50:43.144108 Hop: 
{ChannelIdx:0 ChannelFreq:902419338 FreqError:0}
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: Exact sample rate is: 
268800.001367 Hz
Mar 19 22:50:43 DavisSDR weewx[1846]: manager: Daily summary version is 2.0
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:43.344512 
GetTunerGain: 0 Db
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:43.344576 
SetFreqCorrection 0 ppm Successful
Mar 19 22:50:43 DavisSDR weewx[1846]: rtldavis: info: 22:50:43.348503 Init 
channels: wait max 135 seconds for a message of each transmitter
Mar 19 22:52:29 DavisSDR weewx[1846]: rtldavis: info: 22:52:29.125524 
TRANSMITTER 0 SEEN
Mar 19 22:52:29 DavisSDR weewx[1846]: rtldavis: chan: 22:52:29.126139 Hop: 
{ChannelIdx:19 ChannelFreq:911952597 FreqError:11}
Mar 19 22:52:31 DavisSDR weewx[1846]: rtldavis: data: 22:52:31.689255 
E00550770100B3FD 2 0 0 0 0 msg.ID=0
Mar 19 22:52:31 DavisSDR weewx[1846]: bme280: BME280 data 
compensated_reading(id=c1169d86-82f3-4d65-b2d3-db82fd7e2c6f, 
timestamp=2020-03-19 22:52:31.757738, temp=25.082 °C, pressure=960.93 hPa, 
humidity=0.00 % rH)
Mar 19 22:52:31 DavisSDR weewx[1846]: bme280: {'txBatteryStatus': 0, 
'rain': 0.0, 'dateTime': 1584672752, 'windDir': 115.7905138339921, 
'windSpeed': 2.6822333333333335, 'inHumidity': 0.0, 'inTemp': 
25.081832114519784, 'usUnits': 17}
Mar 19 22:52:31 DavisSDR weewx[1846]: rtldavis: chan: 22:52:31.689505 Hop: 
{ChannelIdx:41 ChannelFreq:922991108 FreqError:-28}
Mar 19 22:52:34 DavisSDR weewx[1846]: rtldavis: data: 22:52:34.252057 
500550FF7100D2F3 3 0 0 0 0 msg.ID=0
Mar 19 22:52:34 DavisSDR weewx[1846]: bme280: BME280 data 
compensated_reading(id=11faef2a-0efa-49aa-933a-d42f22f789f1, 
timestamp=2020-03-19 22:52:34.321828, temp=25.062 °C, pressure=961.00 hPa, 
humidity=0.00 % rH)
Mar 19 22:52:34 DavisSDR weewx[1846]: bme280: {'txBatteryStatus': 0, 
'dateTime': 1584672754, 'windDir': 115.7905138339921, 'windSpeed': 
2.6822333333333335, 'inHumidity': 0.0, 'inTemp': 25.0622148035618, 
'rainRate': 0, 'usUnits': 17}
Mar 19 22:52:34 DavisSDR weewx[1846]: rtldavis: chan: 22:52:34.252289 Hop: 
{ChannelIdx:25 ChannelFreq:914963100 FreqError:-14}
Mar 19 22:52:36 DavisSDR weewx[1846]: rtldavis: data: 22:52:36.813679 
9006500800058F1E 4 0 0 0 0 msg.ID=0
Mar 19 22:52:36 DavisSDR weewx[1846]: bme280: BME280 data 
compensated_reading(id=3b6d93ef-4865-4612-8097-c777cc37a450, 
timestamp=2020-03-19 22:52:36.873941, temp=25.082 °C, pressure=960.93 hPa, 
humidity=0.00 % rH)
Mar 19 22:52:36 DavisSDR weewx[1846]: bme280: {'txBatteryStatus': 0, 
'dateTime': 1584672757, 'windDir': 115.7905138339921, 'windSpeed': 
3.1292722222222222, 'inHumidity': 0.0, 'inTemp': 25.081832114519784, 
'usUnits': 17}
Mar 19 22:52:36 DavisSDR weewx[1846]: rtldavis: chan: 22:52:36.813839 Hop: 
{ChannelIdx:8 ChannelFreq:906433342 FreqError:-81}
Mar 19 22:52:39 DavisSDR weewx[1846]: rtldavis: data: 22:52:39.375179 
8005501BB800A67A 5 0 0 0 0 msg.ID=0
Mar 19 22:52:39 DavisSDR weewx[1846]: bme280: BME280 data 
compensated_reading(id=df88b40c-8446-4816-8e58-f74365d6f438, 
timestamp=2020-03-19 22:52:39.434277, temp=25.077 °C, pressure=960.89 hPa, 
humidity=0.00 % rH)
Mar 19 22:52:39 DavisSDR weewx[1846]: bme280: {'txBatteryStatus': 0, 
'pressure': 960.8916787263882, 'dateTime': 1584672759, 'windDir': 
115.7905138339921, 'outTemp': 6.833333333333332, 'windSpeed': 
2.6822333333333335, 'inHumidity': 0.0, 'inTemp': 25.07692778634373, 
'usUnits': 17}
Mar 19 22:52:39 DavisSDR weewx[1846]: rtldavis: chan: 22:52:39.375340 Hop: 
{ChannelIdx:47 ChannelFreq:926001611 FreqError:17}



Yesterday I installed the driver on RPI running Raspbian GNU/Linux 10 
(buster) and I'm seem to be having the same issues you are having.

pi@raspberrypi:~ $ $GOPATH/bin/rtldavis -tr 1 -tf US
22:24:33.805278 rtldavis.go VERSION=0.12
22:24:33.806647 tr=1 fc=0 ppm=0 gain=0 ex=0 maxmissed=51 actChan=[0] maxChan
=1
22:24:33.807837 BitRate: 19200
22:24:33.807900 SymbolLength: 14
22:24:33.808431 SampleRate: 268800
22:24:33.808640 Preamble: 1100101110001001
22:24:33.808683 PreambleSymbols: 16
22:24:33.809030 PreambleLength: 224
22:24:33.809271 PacketSymbols: 80
22:24:33.809494 PacketLength: 1120
22:24:33.809703 BlockSize: 512
22:24:33.809896 BufferLength: 2048
Found Rafael Micro R820T tuner
22:24:34.231572 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0}
Exact sample rate is: 268800.001367 Hz
22:24:34.408971 GetTunerGain: 0 Db
22:24:34.409069 SetFreqCorrection 0 ppm Successful
Allocating 1 zero-copy buffers
22:24:34.415381 Init channels: wait max 135 seconds for a message of each 
transmitter
22:26:50.228986 Init channels: wait max 135 seconds for a message of each 
transmitter

At first, I was thinking it was location/antenna issue, but the only 
difference is the RPI OSes (Stretch vs Buster).I'm assuming you are running 
Buster?



On Thursday, March 19, 2020 at 10:03:50 PM UTC-4, Patrick Mendiuk wrote:

> Hi Rich,
> Thanks for the correct github repo.  There are two github repos that have 
> very similar names.  The first repo (
> https://github.com/lheijst/weewx-rtldavis) installation instructions are 
> missing a few things.
>
> https://github.com/lheijst/weewx-rtldavis
>
> *https://github.com/lheijst/rtldavis <https://github.com/lheijst/rtldavis>*
>
> After I installed using the repo you suggested I got the driver compiled 
> and was able to run it stand alone.  It soon it found the ISS transmitter 
> and I thought things were good.  I rebooted the RPi and ran it again and it 
> doesn't seem to be doing anything.
>
> pi@raspberrypi:~/work/src/github.com/lheijst/rtldavis $ $GOPATH/bin/rtldavis 
> -tf US
> 18:54:36.723394 rtldavis.go VERSION=0.12
> 18:54:36.724355 tr=1 fc=0 ppm=0 gain=0 ex=0 maxmissed=51 actChan=[0] 
> maxChan=1
> 18:54:36.725198 BitRate: 19200
> 18:54:36.725323 SymbolLength: 14
> 18:54:36.725403 SampleRate: 268800
> 18:54:36.725485 Preamble: 1100101110001001
> 18:54:36.725561 PreambleSymbols: 16
> 18:54:36.725638 PreambleLength: 224
> 18:54:36.725713 PacketSymbols: 80
> 18:54:36.725786 PacketLength: 1120
> 18:54:36.725860 BlockSize: 512
> 18:54:36.725934 BufferLength: 2048
> Detached kernel driver
> Found Rafael Micro R820T tuner
> 18:54:37.234946 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0}
> Exact sample rate is: 268800.001367 Hz
> 18:54:37.425818 GetTunerGain: 0 Db
> 18:54:37.425898 SetFreqCorrection 0 ppm Successful
> Allocating 1 zero-copy buffers
> 18:54:37.430642 Init channels: wait max 135 seconds for a message of each 
> transmitter
> 18:56:53.244105 Init channels: wait max 135 seconds for a message of each 
> transmitter
> 18:56:53.244325 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0}
>
> I moved the rtl-sdr dongle to a PC and ran SDRsharp with no issue.  Is 
> there any additional debugging that can be done from the command line?
>
> Thanks,
> Patrick
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/452e1cac-9156-411d-a29d-995f36c51bc1%40googlegroups.com.

Reply via email to