Help with providing Loudoun to the Calls platform (possibly a trunk-recorder config issue?)

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Thought I'd hit up the local brain trust first before heading to the SDR forum:

I've been providing the traditional feed for LC-CFRS for years (currently via a Pi 3 and RTL-STL v3), and recently found the funds to expand with the hope of providing the system to the Calls platform (since the previous source apparently stopped).

I'm having an issue that I hope is operator error (and thus an easy fix). I'll provide more details as needed, but the short version is this:

Running the current Broadcastify image on a new Raspberry Pi 5 with a RTL-SDL.com v4. I'm able to get things working fine using sdrtrunk (which leads me to believe that the hardware and location are all sufficient). However, when starting trunk-recorder it seems to start OK but then fails with:

(error) [loudoun] Control Channel Message Decode Rate: 0/sec, count: 1
(error) P25 Parse error, s: Len: 0

My best guess is that it's something wrong in the config file. I'm a Linux sysadmin, so I'm comfortable there, but I can just barely spell "RF", so I don't really know what I'm doing and all my trial and error over the past few days has failed. I was unable to get anything useful from GQRX (as suggested by the truck-recorder config site), again perhaps due to my lack of understanding.

Code:
{
    "ver": 2,
    "sources": [
        {
            "center": 852728125,
            "rate": 4800000,
            "ppm": 1,
            "gain": 0,
            "agc": false,
            "digitalRecorders": 11,
            "analogRecorders": 0,
            "driver": "osmosdr",
            "device": "rtl=0"
        }
    ],
    "systems": [
        {
            "control_channels": [
                853912500,
                853050000,
                853662500,
                853775000
            ],
            "type": "p25",
            "digitalLevels": 1,
            "talkgroupsFile": "",
            "shortName": "loudoun",
            "modulation": "qpsk",
            "hideEncrypted": false,
            "uploadScript": "",
            "talkgroupDisplayFormat": "id_tag",
            "compressWav": true,
        "rrsysid": "6524",
            "rrsiteid": "16224",
        "broadcastifyApiKey": "---",
        "broadcastifySystemId": ----
        }
    ],
        "broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
        "frequencyFormat": "mhz",
        "captureDir": "/home/pi/bcfy/audio",
        "controlWarnRate": 2,
        "callTimeout": 1,
    "newCallFromUpdate": false
}

For others that end up here, a few links that I found helpful (or perhaps led me astray):
Center Frequency Finder: https://alertapi.alertpage.net/sdr/
Trunk-recorder Configurator: GitHub - AlertPageSDR/tr_configurator: Tunk-Recorder config auto generation with Radio Reference
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Output (that wouldn't fit in the original post):

Code:
[2025-04-27 18:02:05.395165] (info) 
-------------------------------------
     Trunk Recorder
-------------------------------------
[2025-04-27 18:02:05.395237] (info) 

-------------------------------------
INSTANCE
-------------------------------------
[2025-04-27 18:02:05.395249] (info)   Using Config file: /home/pi/bcfy/configs/trunk-recorder/config.json
[2025-04-27 18:02:05.395258] (info)   Trunk-Recorder: Version: 5.0.0
[2025-04-27 18:02:05.395266] (info)   Log to File: false
[2025-04-27 18:02:05.395279] (info)   Log Directory: logs
[2025-04-27 18:02:05.395354] (info)   Temporary Transmission Directory: /dev/shm
[2025-04-27 18:02:05.395372] (info)   Capture Directory: /home/pi/bcfy/audio
[2025-04-27 18:02:05.395382] (info)   Upload Server:
[2025-04-27 18:02:05.395392] (info)   Broadcastify Calls Server: https://api.broadcastify.com/call-upload
[2025-04-27 18:02:05.395401] (info)   Status Server:
[2025-04-27 18:02:05.395411] (info)   Instance Key:
[2025-04-27 18:02:05.395420] (info)   Instance Id:
[2025-04-27 18:02:05.395429] (info)   Broadcast Signals: false
[2025-04-27 18:02:05.395439] (info)   Default Mode: digital
[2025-04-27 18:02:05.395448] (info)   Call Timeout (seconds): 1
[2025-04-27 18:02:05.395471] (info)   Control channel warning rate: 2
[2025-04-27 18:02:05.395484] (info)   Control channel retune limit: 0
[2025-04-27 18:02:05.395493] (info)   Phase 1 Software Vocoder: false
[2025-04-27 18:02:05.395502] (info)   Enable Audio Streaming: false
[2025-04-27 18:02:05.395512] (info)   Record Unit to Unit Voice Calls: true
[2025-04-27 18:02:05.395521] (info)   New Call from UPDATE Messages: false
[2025-04-27 18:02:05.395532] (info)   Frequency format: mhz
[2025-04-27 18:02:05.395542] (info)   Status as String: true
[2025-04-27 18:02:05.395552] (info)   Log Level: info
[2025-04-27 18:02:05.395562] (info)   Color Console/Logfile Output: console
[2025-04-27 18:02:05.395573] (info) 
-------------------------------------
SYSTEMS
-------------------------------------
[2025-04-27 18:02:05.395595] (info) 

System Number: 1
-------------------------------------
[2025-04-27 18:02:05.395604] (info)   Short Name: loudoun
[2025-04-27 18:02:05.395614] (info)   System Type: p25
[2025-04-27 18:02:05.395625] (info)   Control Channels:
[2025-04-27 18:02:05.395635] (info)     853.912500 MHz
[2025-04-27 18:02:05.395659] (info)     853.050000 MHz
[2025-04-27 18:02:05.395672] (info)     853.662500 MHz
[2025-04-27 18:02:05.395684] (info)     853.775000 MHz
[2025-04-27 18:02:05.395697] (info)   Loading Talkgroups...
[2025-04-27 18:02:05.395706] (info)   Talkgroups File:
[2025-04-27 18:02:05.395719] (info)   Modulation: qpsk
[2025-04-27 18:02:05.395728] (info)   Conversation Mode: true
[2025-04-27 18:02:05.395737] (info)   Analog Recorder Maximum Deviation: 4000
[2025-04-27 18:02:05.395747] (info)   Filter Width: 1
[2025-04-27 18:02:05.395771] (info)   Squelch: -160
[2025-04-27 18:02:05.395779] (info)   De-emphasis Tau: 0.00075
[2025-04-27 18:02:05.395789] (info)   API Key:
[2025-04-27 18:02:05.395796] (info)   Broadcastify API Key: ---
[2025-04-27 18:02:05.395804] (info)   Broadcastify Calls System ID: ----
[2025-04-27 18:02:05.395811] (info)   Upload Script:
[2025-04-27 18:02:05.395818] (info)   Compress .wav Files: true
[2025-04-27 18:02:05.395826] (info)   Call Log: true
[2025-04-27 18:02:05.395833] (info)   Audio Archive: true
[2025-04-27 18:02:05.395840] (info)   Transmission Archive: false
[2025-04-27 18:02:05.395847] (info)   Loading Unit Tags...
[2025-04-27 18:02:05.395854] (info)   Unit Tags File:
[2025-04-27 18:02:05.395861] (info)   Record Unknown Talkgroups: true
[2025-04-27 18:02:05.395869] (info)   Decode MDC: false
[2025-04-27 18:02:05.395876] (info)   Decode FSync: false
[2025-04-27 18:02:05.395883] (info)   Decode Star: false
[2025-04-27 18:02:05.395890] (info)   Decode TPS: false
[2025-04-27 18:02:05.395898] (info)   Talkgroup Display Format: id_tag
[2025-04-27 18:02:05.395907] (info)   Hide Encrypted Talkgroups: false
[2025-04-27 18:02:05.395915] (info)   Hide Unknown Talkgroups: false
[2025-04-27 18:02:05.395922] (info)   Minimum Call Duration (in seconds): 0
[2025-04-27 18:02:05.395931] (info)   Maximum Call Duration (in seconds): 0
[2025-04-27 18:02:05.395939] (info)   Minimum Transmission Duration (in seconds): 0
[2025-04-27 18:02:05.395947] (info)   Multiple Site System: false
[2025-04-27 18:02:05.395955] (info)   Multiple Site System Name:
[2025-04-27 18:02:05.395962] (info)   Multiple Site System Number: 0
[2025-04-27 18:02:05.395972] (info) 
[2025-04-27 18:02:05.395986] (info) 

-------------------------------------
SOURCES
-------------------------------------
[2025-04-27 18:02:05.395997] (info)   Driver: osmosdr
[2025-04-27 18:02:05.396004] (info)   Device: rtl=0
[2025-04-27 18:02:05.396015] (info)   Center: 852.728125 MHz
[2025-04-27 18:02:05.396027] (info)   Rate: 4800000
[2025-04-27 18:02:05.396038] (info)   Error: 0
[2025-04-27 18:02:05.396046] (info)   PPM Error: 1
[2025-04-27 18:02:05.396054] (info)   Auto gain control: false
[2025-04-27 18:02:05.396061] (info)   Gain: 327
[2025-04-27 18:02:05.396068] (info)   IF Gain: 0
[2025-04-27 18:02:05.396075] (info)   BB Gain: 0
[2025-04-27 18:02:05.396082] (info)   LNA Gain: 0
[2025-04-27 18:02:05.396089] (info)   PGA Gain: 0
[2025-04-27 18:02:05.396096] (info)   TIA Gain: 0
[2025-04-27 18:02:05.396102] (info)   MIX Gain: 0
[2025-04-27 18:02:05.396109] (info)   AMP Gain: 0
[2025-04-27 18:02:05.396116] (info)   VGA Gain: 0
[2025-04-27 18:02:05.396123] (info)   VGA1 Gain: 0
[2025-04-27 18:02:05.396130] (info)   VGA2 Gain: 0
[2025-04-27 18:02:05.396136] (info)   Idle Silence: 0
[2025-04-27 18:02:05.396256] (info)   signal_detector_cvf_impl: samp_rate: 4.8e+06 fft_len: 1024 window_type: 0 threshold: -45 sensitivity: 0.9 auto_threshold: true average: 0.8 quantization: 0.01 min_bw: 0 filename:
[2025-04-27 18:02:05.396279] (info)   signal_detector_cvf_impl: FFT Bucket Size: 4687.5 Hz Quatization: 47999
[2025-04-27 18:02:05.397921] (info)   Made the Signal Detector
[2025-04-27 18:02:05.398000] (info)   Source Device: rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace airspy redpitaya
Using device #0 RTLSDRBlog Blog V4 SN: 00000001
Found Rafael Micro R828D tuner
[R82XX] PLL not locked!
[2025-04-27 18:02:06.071244] (info)   SOURCE TYPE OSMOSDR (osmosdr)
[2025-04-27 18:02:06.071294] (info)   Setting sample rate to: 4800000
Invalid sample rate: 4800000 Hz
[2025-04-27 18:02:06.071333] (info)   Actual sample rate: 1024000
[2025-04-27 18:02:06.071344] (info)   Tuning to 852.728125 MHz
[R82XX] PLL not locked!
[2025-04-27 18:02:06.129859] (info)   Gain Stage: LNA supported values: 0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48 49.6
[2025-04-27 18:02:06.158628] (info)   Gain set to: 49.6
[2025-04-27 18:02:06.158769] (info)   Auto gain control is OFF
[2025-04-27 18:02:06.158780] (info)   Setting antenna to [RX]
[R82XX] PLL not locked!
[2025-04-27 18:02:06.232645] (info)   PPM set to: 1
[2025-04-27 18:02:06.232787] (info)   Max Frequency: 855.096125 MHz
[2025-04-27 18:02:06.232849] (info)   Min Frequency: 850.360125 MHz
[2025-04-27 18:02:06.232896] (info)   Digital Recorders: 11
[2025-04-27 18:02:06.232942] (info)   SigMF Recorders: 0
[2025-04-27 18:02:06.232983] (info)   Analog Recorders: 0
[2025-04-27 18:02:06.237394] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.237514] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
[2025-04-27 18:02:06.246459] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.246548] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.256288] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.256368] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.268161] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.268229] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.278437] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.278525] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.290887] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.290955] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.306414] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.306478] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.319640] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.319710] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.331808] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.332115] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.345931] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.346025] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.360148] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.360229] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.372228] (info) 
-------------------------------------

[2025-04-27 18:02:06.372280] (info) 

-------------------------------------
PLUGINS
-------------------------------------
[2025-04-27 18:02:06.372303] (info)   Setting up plugin -  Name: openmhz_uploader     Library file: libopenmhz_uploader.so
[2025-04-27 18:02:06.380916] (info)   Setting up plugin -  Name: broadcastify_uploader     Library file: libbroadcastify_uploader.so
[2025-04-27 18:02:06.381815] (info)       [Broadcastify]    Broadcastify Server: https://api.broadcastify.com/call-upload
[2025-04-27 18:02:06.382027] (info)       [Broadcastify]    Uploading calls for: loudoun     Broadcastify System: 5486     API Key: ******39
[2025-04-27 18:02:06.382103] (info)   Setting up plugin -  Name: unit_script     Library file: libunit_script.so
[2025-04-27 18:02:06.382588] (info)   Setting up plugin -  Name: stat_socket     Library file: libstat_socket.so
[2025-04-27 18:02:06.384176] (info)   No plugins configured
[2025-04-27 18:02:06.384237] (info) 

[2025-04-27 18:02:06.384259] (info)   [loudoun]    Started with Control Channel: 853.912500 MHz
[2025-04-27 18:02:06.389856] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.389929] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
Allocating 15 zero-copy buffers
[2025-04-27 18:02:07.515555] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:08.541632] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:09.014371] (error)   [loudoun] Retuning to Control Channel: 853.050000 MHz
[2025-04-27 18:02:09.014450] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:09.014475] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:09.560254] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:10.587222] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:11.613445] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:12.015990] (error)   [loudoun] Retuning to Control Channel: 853.662500 MHz
[2025-04-27 18:02:12.016084] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:12.016118] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:12.633333] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:13.658306] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:14.684633] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:15.017153] (error)   [loudoun] Retuning to Control Channel: 853.775000 MHz
[2025-04-27 18:02:15.017246] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:15.017275] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:15.708728] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:16.731528] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:17.758563] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:18.020284] (error)   [loudoun] Retuning to Control Channel: 853.912500 MHz
[2025-04-27 18:02:18.020374] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:18.020404] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:18.775490] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:19.803127] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:20.831421] (error)   P25 Parse error, s:  Len: 0
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
I've been providing the traditional feed for LC-CFRS for years (currently via a Pi 3 and RTL-STL v3), and recently found the funds to expand with the hope of providing the entire system (Loudoun County Trunking System, Various, Virginia) to the Calls platform (since the previous source apparently stopped).

I'm having an issue that I hope is operator error (and thus an easy fix). I'll provide more details as needed, but the short version is this:

Running the current Broadcastify image on a new Raspberry Pi 5 with a RTL-SDL.com v4. I'm able to get things working fine using sdrtrunk (which leads me to believe that the hardware and location are all sufficient). However, when starting trunk-recorder it seems to start OK but then fails with:

(error) [loudoun] Control Channel Message Decode Rate: 0/sec, count: 1
(error) P25 Parse error, s: Len: 0

My best guess is that it's something wrong in the config file. I'm a Linux sysadmin, so I'm comfortable there, but I can just barely spell "RF", so I don't really know what I'm doing and all my trial and error over the past few days has failed. I was unable to get anything useful from GQRX (as suggested by the truck-recorder config site), again perhaps due to my lack of understanding.

Code:
{
    "ver": 2,
    "sources": [
        {
            "center": 852728125,
            "rate": 4800000,
            "ppm": 1,
            "gain": 0,
            "agc": false,
            "digitalRecorders": 11,
            "analogRecorders": 0,
            "driver": "osmosdr",
            "device": "rtl=0"
        }
    ],
    "systems": [
        {
            "control_channels": [
                853912500,
                853050000,
                853662500,
                853775000
            ],
            "type": "p25",
            "digitalLevels": 1,
            "talkgroupsFile": "",
            "shortName": "loudoun",
            "modulation": "qpsk",
            "hideEncrypted": false,
            "uploadScript": "",
            "talkgroupDisplayFormat": "id_tag",
            "compressWav": true,
        "rrsysid": "6524",
            "rrsiteid": "16224",
        "broadcastifyApiKey": "---",
        "broadcastifySystemId": ----
        }
    ],
        "broadcastifyCallsServer": "https://api.broadcastify.com/call-upload",
        "frequencyFormat": "mhz",
        "captureDir": "/home/pi/bcfy/audio",
        "controlWarnRate": 2,
        "callTimeout": 1,
    "newCallFromUpdate": false
}

trunk-recorder logs in the next post so I won't break the character limit.

For others that end up here, a few links that I found helpful (or perhaps led me astray):
Center Frequency Finder: https://alertapi.alertpage.net/sdr/
Trunk-recorder Configurator: GitHub - AlertPageSDR/tr_configurator: Tunk-Recorder config auto generation with Radio Reference
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Output (that wouldn't fit in the original post):
Code:
[2025-04-27 18:02:05.395165] (info) 
-------------------------------------
     Trunk Recorder
-------------------------------------
[2025-04-27 18:02:05.395237] (info) 

-------------------------------------
INSTANCE
-------------------------------------
[2025-04-27 18:02:05.395249] (info)   Using Config file: /home/pi/bcfy/configs/trunk-recorder/config.json
[2025-04-27 18:02:05.395258] (info)   Trunk-Recorder: Version: 5.0.0
[2025-04-27 18:02:05.395266] (info)   Log to File: false
[2025-04-27 18:02:05.395279] (info)   Log Directory: logs
[2025-04-27 18:02:05.395354] (info)   Temporary Transmission Directory: /dev/shm
[2025-04-27 18:02:05.395372] (info)   Capture Directory: /home/pi/bcfy/audio
[2025-04-27 18:02:05.395382] (info)   Upload Server:
[2025-04-27 18:02:05.395392] (info)   Broadcastify Calls Server: https://api.broadcastify.com/call-upload
[2025-04-27 18:02:05.395401] (info)   Status Server:
[2025-04-27 18:02:05.395411] (info)   Instance Key:
[2025-04-27 18:02:05.395420] (info)   Instance Id:
[2025-04-27 18:02:05.395429] (info)   Broadcast Signals: false
[2025-04-27 18:02:05.395439] (info)   Default Mode: digital
[2025-04-27 18:02:05.395448] (info)   Call Timeout (seconds): 1
[2025-04-27 18:02:05.395471] (info)   Control channel warning rate: 2
[2025-04-27 18:02:05.395484] (info)   Control channel retune limit: 0
[2025-04-27 18:02:05.395493] (info)   Phase 1 Software Vocoder: false
[2025-04-27 18:02:05.395502] (info)   Enable Audio Streaming: false
[2025-04-27 18:02:05.395512] (info)   Record Unit to Unit Voice Calls: true
[2025-04-27 18:02:05.395521] (info)   New Call from UPDATE Messages: false
[2025-04-27 18:02:05.395532] (info)   Frequency format: mhz
[2025-04-27 18:02:05.395542] (info)   Status as String: true
[2025-04-27 18:02:05.395552] (info)   Log Level: info
[2025-04-27 18:02:05.395562] (info)   Color Console/Logfile Output: console
[2025-04-27 18:02:05.395573] (info) 
-------------------------------------
SYSTEMS
-------------------------------------
[2025-04-27 18:02:05.395595] (info) 

System Number: 1
-------------------------------------
[2025-04-27 18:02:05.395604] (info)   Short Name: loudoun
[2025-04-27 18:02:05.395614] (info)   System Type: p25
[2025-04-27 18:02:05.395625] (info)   Control Channels:
[2025-04-27 18:02:05.395635] (info)     853.912500 MHz
[2025-04-27 18:02:05.395659] (info)     853.050000 MHz
[2025-04-27 18:02:05.395672] (info)     853.662500 MHz
[2025-04-27 18:02:05.395684] (info)     853.775000 MHz
[2025-04-27 18:02:05.395697] (info)   Loading Talkgroups...
[2025-04-27 18:02:05.395706] (info)   Talkgroups File:
[2025-04-27 18:02:05.395719] (info)   Modulation: qpsk
[2025-04-27 18:02:05.395728] (info)   Conversation Mode: true
[2025-04-27 18:02:05.395737] (info)   Analog Recorder Maximum Deviation: 4000
[2025-04-27 18:02:05.395747] (info)   Filter Width: 1
[2025-04-27 18:02:05.395771] (info)   Squelch: -160
[2025-04-27 18:02:05.395779] (info)   De-emphasis Tau: 0.00075
[2025-04-27 18:02:05.395789] (info)   API Key:
[2025-04-27 18:02:05.395796] (info)   Broadcastify API Key: ---
[2025-04-27 18:02:05.395804] (info)   Broadcastify Calls System ID: ----
[2025-04-27 18:02:05.395811] (info)   Upload Script:
[2025-04-27 18:02:05.395818] (info)   Compress .wav Files: true
[2025-04-27 18:02:05.395826] (info)   Call Log: true
[2025-04-27 18:02:05.395833] (info)   Audio Archive: true
[2025-04-27 18:02:05.395840] (info)   Transmission Archive: false
[2025-04-27 18:02:05.395847] (info)   Loading Unit Tags...
[2025-04-27 18:02:05.395854] (info)   Unit Tags File:
[2025-04-27 18:02:05.395861] (info)   Record Unknown Talkgroups: true
[2025-04-27 18:02:05.395869] (info)   Decode MDC: false
[2025-04-27 18:02:05.395876] (info)   Decode FSync: false
[2025-04-27 18:02:05.395883] (info)   Decode Star: false
[2025-04-27 18:02:05.395890] (info)   Decode TPS: false
[2025-04-27 18:02:05.395898] (info)   Talkgroup Display Format: id_tag
[2025-04-27 18:02:05.395907] (info)   Hide Encrypted Talkgroups: false
[2025-04-27 18:02:05.395915] (info)   Hide Unknown Talkgroups: false
[2025-04-27 18:02:05.395922] (info)   Minimum Call Duration (in seconds): 0
[2025-04-27 18:02:05.395931] (info)   Maximum Call Duration (in seconds): 0
[2025-04-27 18:02:05.395939] (info)   Minimum Transmission Duration (in seconds): 0
[2025-04-27 18:02:05.395947] (info)   Multiple Site System: false
[2025-04-27 18:02:05.395955] (info)   Multiple Site System Name:
[2025-04-27 18:02:05.395962] (info)   Multiple Site System Number: 0
[2025-04-27 18:02:05.395972] (info) 
[2025-04-27 18:02:05.395986] (info) 

-------------------------------------
SOURCES
-------------------------------------
[2025-04-27 18:02:05.395997] (info)   Driver: osmosdr
[2025-04-27 18:02:05.396004] (info)   Device: rtl=0
[2025-04-27 18:02:05.396015] (info)   Center: 852.728125 MHz
[2025-04-27 18:02:05.396027] (info)   Rate: 4800000
[2025-04-27 18:02:05.396038] (info)   Error: 0
[2025-04-27 18:02:05.396046] (info)   PPM Error: 1
[2025-04-27 18:02:05.396054] (info)   Auto gain control: false
[2025-04-27 18:02:05.396061] (info)   Gain: 327
[2025-04-27 18:02:05.396068] (info)   IF Gain: 0
[2025-04-27 18:02:05.396075] (info)   BB Gain: 0
[2025-04-27 18:02:05.396082] (info)   LNA Gain: 0
[2025-04-27 18:02:05.396089] (info)   PGA Gain: 0
[2025-04-27 18:02:05.396096] (info)   TIA Gain: 0
[2025-04-27 18:02:05.396102] (info)   MIX Gain: 0
[2025-04-27 18:02:05.396109] (info)   AMP Gain: 0
[2025-04-27 18:02:05.396116] (info)   VGA Gain: 0
[2025-04-27 18:02:05.396123] (info)   VGA1 Gain: 0
[2025-04-27 18:02:05.396130] (info)   VGA2 Gain: 0
[2025-04-27 18:02:05.396136] (info)   Idle Silence: 0
[2025-04-27 18:02:05.396256] (info)   signal_detector_cvf_impl: samp_rate: 4.8e+06 fft_len: 1024 window_type: 0 threshold: -45 sensitivity: 0.9 auto_threshold: true average: 0.8 quantization: 0.01 min_bw: 0 filename:
[2025-04-27 18:02:05.396279] (info)   signal_detector_cvf_impl: FFT Bucket Size: 4687.5 Hz Quatization: 47999
[2025-04-27 18:02:05.397921] (info)   Made the Signal Detector
[2025-04-27 18:02:05.398000] (info)   Source Device: rtl=0
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.5.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace airspy redpitaya
Using device #0 RTLSDRBlog Blog V4 SN: 00000001
Found Rafael Micro R828D tuner
[R82XX] PLL not locked!
[2025-04-27 18:02:06.071244] (info)   SOURCE TYPE OSMOSDR (osmosdr)
[2025-04-27 18:02:06.071294] (info)   Setting sample rate to: 4800000
Invalid sample rate: 4800000 Hz
[2025-04-27 18:02:06.071333] (info)   Actual sample rate: 1024000
[2025-04-27 18:02:06.071344] (info)   Tuning to 852.728125 MHz
[R82XX] PLL not locked!
[2025-04-27 18:02:06.129859] (info)   Gain Stage: LNA supported values: 0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48 49.6
[2025-04-27 18:02:06.158628] (info)   Gain set to: 49.6
[2025-04-27 18:02:06.158769] (info)   Auto gain control is OFF
[2025-04-27 18:02:06.158780] (info)   Setting antenna to [RX]
[R82XX] PLL not locked!
[2025-04-27 18:02:06.232645] (info)   PPM set to: 1
[2025-04-27 18:02:06.232787] (info)   Max Frequency: 855.096125 MHz
[2025-04-27 18:02:06.232849] (info)   Min Frequency: 850.360125 MHz
[2025-04-27 18:02:06.232896] (info)   Digital Recorders: 11
[2025-04-27 18:02:06.232942] (info)   SigMF Recorders: 0
[2025-04-27 18:02:06.232983] (info)   Analog Recorders: 0
[2025-04-27 18:02:06.237394] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.237514] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
[2025-04-27 18:02:06.246459] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.246548] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.256288] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.256368] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.268161] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.268229] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.278437] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.278525] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.290887] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.290955] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.306414] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.306478] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.319640] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.319710] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.331808] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.332115] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.345931] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.346025] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.360148] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.360229] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
[2025-04-27 18:02:06.372228] (info) 
-------------------------------------

[2025-04-27 18:02:06.372280] (info) 

-------------------------------------
PLUGINS
-------------------------------------
[2025-04-27 18:02:06.372303] (info)   Setting up plugin -  Name: openmhz_uploader     Library file: libopenmhz_uploader.so
[2025-04-27 18:02:06.380916] (info)   Setting up plugin -  Name: broadcastify_uploader     Library file: libbroadcastify_uploader.so
[2025-04-27 18:02:06.381815] (info)       [Broadcastify]    Broadcastify Server: https://api.broadcastify.com/call-upload
[2025-04-27 18:02:06.382027] (info)       [Broadcastify]    Uploading calls for: loudoun     Broadcastify System: 5486     API Key: ******39
[2025-04-27 18:02:06.382103] (info)   Setting up plugin -  Name: unit_script     Library file: libunit_script.so
[2025-04-27 18:02:06.382588] (info)   Setting up plugin -  Name: stat_socket     Library file: libstat_socket.so
[2025-04-27 18:02:06.384176] (info)   No plugins configured
[2025-04-27 18:02:06.384237] (info) 

[2025-04-27 18:02:06.384259] (info)   [loudoun]    Started with Control Channel: 853.912500 MHz
[2025-04-27 18:02:06.389856] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-27 18:02:06.389929] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
Allocating 15 zero-copy buffers
[2025-04-27 18:02:07.515555] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:08.541632] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:09.014371] (error)   [loudoun] Retuning to Control Channel: 853.050000 MHz
[2025-04-27 18:02:09.014450] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:09.014475] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:09.560254] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:10.587222] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:11.613445] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:12.015990] (error)   [loudoun] Retuning to Control Channel: 853.662500 MHz
[2025-04-27 18:02:12.016084] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:12.016118] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:12.633333] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:13.658306] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:14.684633] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:15.017153] (error)   [loudoun] Retuning to Control Channel: 853.775000 MHz
[2025-04-27 18:02:15.017246] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:15.017275] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:15.708728] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:16.731528] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:17.758563] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:18.020284] (error)   [loudoun] Retuning to Control Channel: 853.912500 MHz
[2025-04-27 18:02:18.020374] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-27 18:02:18.020404] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-27 18:02:18.775490] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:19.803127] (error)   P25 Parse error, s:  Len: 0
[2025-04-27 18:02:20.831421] (error)   P25 Parse error, s:  Len: 0
 

Enix316

Member
Joined
Apr 7, 2011
Messages
37
Keep in mind that I only use sdrtrunk...

See if changing your rate to 2400000 helps.

Also, your gain should probably be more than 0 (like 30+ depending) unless 0 is auto. And the PPM may need to be adjusted. If you still have sdrtrunk running look at what frequency the tuner is locked on to, that will usually be different from what the actual control channel frequency is. It will also show you the ppm for that tuner.

Again, I have never used trunk-recorder or the broadcastify image.

Good luck. Maybe someone with more concrete help will come along.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,617
Location
Massachusetts
Your problem may be shown in the line under Sources in the log:

Actual sample rate: 1024000

your control channel frequencies are outside the band being monitored by the sdr stick with the centerfrequency you have chosen. As an experiment, try changing your center frequency in the Sources section of your config to something like 853300000. See if that will lock onto the Control channel.

if this is the case, you will likely need a second sdr stick to cover all the frequencies needed for your system.

i am no expert in these matters so may not be 100% correct. However, through MANY hours of trial and error…
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Thanks for the ideas. Changing to 2400000 specifically didn't help. (I'm pretty sure I've tried that before, as well as a range of other values.) Gain is 0 in the posted config, but I've tried a variety of values there as well. You can see it's actually at the max 49.6 in the output logs. I've tried a variety of ranges.

Here's a screenshot from sdrtrunk that might help someone smarter than me learn something:
 

Attachments

  • Screenshot From 2025-04-29 05-50-12.png
    Screenshot From 2025-04-29 05-50-12.png
    97.4 KB · Views: 9

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Thanks for the ideas. I've tried a variety of sample rates with no apparent effect. I tried changing the center frequency as suggested and get the same results. (I'm aware that I may end up needing multiple SDRs at some point to better capture the entire system, but am trying to crawl before I walk. I have 2 other setups that are working just fine with a single SDR, but they're only trying to catch a subset of the talkgroups.)

From the thread I posted in the Virginia forums initially, we also tried adjusting the sample rate (and I'd tried a variety of values) and gain (also something I've tried changing).
 

Whiskey3JMC

Chimer Inner
Premium Subscriber
Joined
Jul 16, 2006
Messages
9,095
Location
Out of Area 🇺🇸
If the OP only intends on covering Site 001 (1) Simulcast as their code seems to suggest then only one dongle would be needed
1745920625159.png

If West Simulcast is added to the platform that an additional 2 dongles would be needed to broadcast this and the main simulcast at the same time (total of 3)
1745920799722.png 1745920820063.png

An additional dongle also for Site 3
1745920988231.png
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Yes, I only intend to capture Site 1, so I'm hoping that only one will be needed.
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Upon closer inspection I did see something that I hadn't noticed in previous attempts:

Code:
[2025-04-29 04:57:28.021369] (error)   [loudoun] Retuning to Control Channel: 853.775000 MHz
[2025-04-29 04:57:28.021464] (info)        - System Source 0 - Min Freq: 852.150000 MHz Max Freq: 854.450000 MHz
[2025-04-29 04:57:28.021497] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-29 04:57:28.021514] (info)   Active Calls: 0
[2025-04-29 04:57:28.021525] (info)   Active Patches:
[2025-04-29 04:57:28.021536] (info)   [ loudoun ] 0 active talkgroup patches:
[2025-04-29 04:57:28.021551] (info)   Control Channel Decode Rates:
[2025-04-29 04:57:28.021560] (info)   [loudoun]    853.775000 MHz    0 msg/sec
[2025-04-29 04:57:28.021573] (info)   Recorders:
[2025-04-29 04:57:28.021581] (info)   [ Source 0: 853.300000 MHz ] rtl=0

****************************************************************************
[2025-04-29 04:57:28.021594] (info)       [ 0 ] P25    State: available
[2025-04-29 04:57:28.021605] (info)       [ 1 ] P25    State: available
[2025-04-29 04:57:28.021614] (info)       [ 2 ] P25    State: available
[2025-04-29 04:57:28.021624] (info)       [ 3 ] P25    State: available
[2025-04-29 04:57:28.021633] (info)       [ 4 ] P25    State: available
[2025-04-29 04:57:28.021642] (info)       [ 5 ] P25    State: available
[2025-04-29 04:57:28.021651] (info)       [ 6 ] P25    State: available
[2025-04-29 04:57:28.021660] (info)       [ 7 ] P25    State: available
[2025-04-29 04:57:28.021668] (info)       [ 8 ] P25    State: available
[2025-04-29 04:57:28.021677] (info)       [ 9 ] P25    State: available
[2025-04-29 04:57:28.021686] (info)       [ 10 ] P25    State: available
****************************************************************************

[2025-04-29 04:57:28.375129] (error)   P25 Parse error, s:  Len: 0
[2025-04-29 04:57:29.412438] (error)   P25 Parse error, s:  Len: 0
[2025-04-29 04:57:30.449112] (error)   P25 Parse error, s:  Len: 0

Not sure if the [ 0 ] P25 State: available lines are a clue. However, they were surrounded by many instances of the "standard" failure I've been seeing.

Changes were a new center frequency (853300000) and sample rate 2400000
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Upon closer inspection I did see something that I hadn't noticed in previous attempts :

Code:
[2025-04-29 04:57:28.021369] (error)   [loudoun] Retuning to Control Channel: 853.775000 MHz
[2025-04-29 04:57:28.021464] (info)        - System Source 0 - Min Freq: 852.150000 MHz Max Freq: 854.450000 MHz
[2025-04-29 04:57:28.021497] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-29 04:57:28.021514] (info)   Active Calls: 0
[2025-04-29 04:57:28.021525] (info)   Active Patches: 
[2025-04-29 04:57:28.021536] (info)   [ loudoun ] 0 active talkgroup patches:
[2025-04-29 04:57:28.021551] (info)   Control Channel Decode Rates: 
[2025-04-29 04:57:28.021560] (info)   [loudoun]    853.775000 MHz    0 msg/sec
[2025-04-29 04:57:28.021573] (info)   Recorders: 
[2025-04-29 04:57:28.021581] (info)   [ Source 0: 853.300000 MHz ] rtl=0

****************************************************************************
[2025-04-29 04:57:28.021594] (info)       [ 0 ] P25    State: available
[2025-04-29 04:57:28.021605] (info)       [ 1 ] P25    State: available
[2025-04-29 04:57:28.021614] (info)       [ 2 ] P25    State: available
[2025-04-29 04:57:28.021624] (info)       [ 3 ] P25    State: available
[2025-04-29 04:57:28.021633] (info)       [ 4 ] P25    State: available
[2025-04-29 04:57:28.021642] (info)       [ 5 ] P25    State: available
[2025-04-29 04:57:28.021651] (info)       [ 6 ] P25    State: available
[2025-04-29 04:57:28.021660] (info)       [ 7 ] P25    State: available
[2025-04-29 04:57:28.021668] (info)       [ 8 ] P25    State: available
[2025-04-29 04:57:28.021677] (info)       [ 9 ] P25    State: available
[2025-04-29 04:57:28.021686] (info)       [ 10 ] P25    State: available
****************************************************************************

[2025-04-29 04:57:28.375129] (error)   P25 Parse error, s:  Len: 0
[2025-04-29 04:57:29.412438] (error)   P25 Parse error, s:  Len: 0
[2025-04-29 04:57:30.449112] (error)   P25 Parse error, s:  Len: 0

Not sure if the [ 0 ] P25 State: available lines are a clue. However, they were surrounded by many instances of the "standard" failure I've been seeing.

Changes were a new center frequency (853300000) and sample rate 2400000
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Also, here's some data from sdrtrunk that seems like it might be useful
 

Attachments

  • Screenshot From 2025-04-29 05-50-12.png
    Screenshot From 2025-04-29 05-50-12.png
    97.4 KB · Views: 4

Enix316

Member
Joined
Apr 7, 2011
Messages
37
The screenshot shows that the frequency it's locked onto is that 852.7500 and the ppm of 0.695. Also the sample rate of that tuner is 2.4(2400000) so don't change that.

I'd try to adjust the ppm in your config.

Other than that I don't see anything that stands out.
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Looks like my two threads were joined into one. My fault for trying in the regional forums first, but I thought someone local might have a working config that would be helpful.

Sorry for all the duplicate posts above. I'd clean it up if I could, but the Edit function isn't available.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,617
Location
Massachusetts
Ok, so sdrtrunk shows a control channel freq of 852.750 and in TR you are trying to tune to 852.775? Is there perhaps a typo in the RR database?
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
From sdrtrunk "Now Playing", it shows 853.9125 as the CC, which is what I'd expect based on what I've seen in the past.
 

Attachments

  • Screenshot From 2025-04-29 07-42-11.png
    Screenshot From 2025-04-29 07-42-11.png
    84.3 KB · Views: 8

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Played around some more today updating all the software I could, etc.
Messages are slightly different now, but I still haven't run down a fix.

Code:
[2025-04-29 19:43:07.607199] (info)   [loudoun]    Started with Control Channel: 853.912500 MHz
[2025-04-29 19:43:07.613052] (info)        Xlating Channelizer decimator - freq_xlating taps: 39 Decim: 4 Resampled Rate: 25600 Lowpass Taps: 89
[2025-04-29 19:43:07.613129] (info)        Channelizer ARB - Symbol Rate: 24000 Resampled Rate: 25600 ARB Rate: 0.9375 ARB Taps: 233 BW: 0.375 TB: 0.1875
Allocating 15 zero-copy buffers
[2025-04-29 19:43:10.016037] (error)   [loudoun] Retuning to Control Channel: 853.050000 MHz
[2025-04-29 19:43:10.016112] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-29 19:43:10.016135] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-29 19:43:10.016143] (debug)   Found 0 active talkgroup patches:
[2025-04-29 19:43:13.019333] (error)   [loudoun] Retuning to Control Channel: 853.662500 MHz
[2025-04-29 19:43:13.019432] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-29 19:43:13.019462] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-29 19:43:13.019475] (debug)   Found 0 active talkgroup patches:
[2025-04-29 19:43:16.017995] (error)   [loudoun] Retuning to Control Channel: 853.775000 MHz
[2025-04-29 19:43:16.018087] (info)        - System Source 0 - Min Freq: 850.360125 MHz Max Freq: 855.096125 MHz
[2025-04-29 19:43:16.018118] (error)   [loudoun]     Control Channel Message Decode Rate: 0/sec, count:  1
[2025-04-29 19:43:16.018130] (debug)   Found 0 active talkgroup patches:
[2025-04-29 19:43:19.017147] (error)   [loudoun] Retuning to Control Channel: 853.912500 MHz
 

j2brown

Member
Feed Provider
Joined
Dec 18, 2003
Messages
164
Update: I never could get trunk-recorder to work, but I was always able to get SDRTrunk working so after some poking around I got it set up to use SDRTrunk as the source. Less than ideal, but better than nothing.

For anybody else that find themselves in a similar situation, some helpful links:


I set up my own systemd service (sorta). It doesn't start on boot as it should (probably a dependency or something I haven't run down), but leaving it disabled, but issuing the start via cron @reboot seems to work. I'm sure there's a fix, but I need a break and it's working, so...

sdrtrunk.service
Code:
[Unit]
Description=SDRTrunk
Wants=network-online.target
StartLimitInterval=200
StartLimitBurst=5
After=graphical.target

[Service]
ExecStart=/home/pi/bcfy/sdr-trunk-linux-aarch64-v0.6.1/bin/sdr-trunk
User=pi
Group=pi
Environment="DISPLAY=:0"
Restart=always
RestartSec=30
ExecStop=/usr/bin/kill -15 $MAINPID

[Install]
WantedBy=multi-user.target
 
Top