robotastic / trunk-recorder

Records calls from a Trunked Radio System (P25 & SmartNet)
GNU General Public License v3.0
865 stars 194 forks source link

RPI4 issues with latest release #317

Closed rpdale closed 4 years ago

rpdale commented 4 years ago

I grabbed sox via apt-get, fdkaac was not available that way so I compiled that. Grabbed the updated trunk-recorder files and make ran fine. No changes to the config or anything else. I saved the old compiled "recorder" and it's running just fine.

The only note in make:

/usr/bin/ld: warning: libboost_system.so.1.62.0, needed by //usr/lib/arm-linux-gnueabihf/libgnuradio-iqbalance.so.3.7.11, may conflict with libboost_system.so.1.67.0 /usr/bin/ld: warning: libboost_filesystem.so.1.62.0, needed by //usr/lib/arm-linux-gnueabihf/libgnuradio-fcdproplus.so.3.7.11, may conflict with libboost_filesystem.so.1.67.0

{ "sources": [{ "center": 852362500.0, "rate": 2240000.0, "error": 1000, "gain": 48, "digitalRecorders": 5, "modulation": "fsk4", "driver": "osmosdr", "device": "rtl=1" }, { "center": 770543750.0, "rate": 1800000, "error": -32000, "gain": 48, "digitalRecorders": 3, "modulation": "fsk4", "driver": "osmosdr", "device": "rtl=2" }], "systems": [{ "control_channels": [853475000], "talkgroupsFile": "ChanList.csv", "type": "p25", "shortName": "mpscs" }], "captureDir": "/media/pi/F4D9-02F5", "uploadServer": "https://api.openmhz.com" }

[2020-02-15 15:43:41.112412] (info) Using Config file: ./config.json

[2020-02-15 15:43:41.118530] (info)

 Trunk Recorder

0 [2020-02-15 15:43:41.118605] (info)

SYSTEMS

0 [2020-02-15 15:43:41.121726] (info)

System Number: 1

1 [2020-02-15 15:43:41.121780] (info) Short Name: mpscs [2020-02-15 15:43:41.121810] (info) System Type: p25 [2020-02-15 15:43:41.121842] (info) Control Channels: [2020-02-15 15:43:41.121967] (info) 8.53475e+08 [2020-02-15 15:43:41.122062] (info) Upload Script: [2020-02-15 15:43:41.122088] (info) Call Log: true [2020-02-15 15:43:41.122122] (info) Audio Archive: true [2020-02-15 15:43:41.122148] (info) Loading Talkgroups... [2020-02-15 15:43:41.171614] (info) Read 4434 talkgroups. [2020-02-15 15:43:41.171775] (info) Talkgroups File: ChanList.csv [2020-02-15 15:43:41.171817] (info) Loading Unit Tags... [2020-02-15 15:43:41.171869] (error) Error Opening Unit Tag File: [2020-02-15 15:43:41.171934] (info) Unit Tags File: [2020-02-15 15:43:41.171963] (info) Record Unknown Talkgroups: true [2020-02-15 15:43:41.171991] (info) Decode MDC: false [2020-02-15 15:43:41.172018] (info) Decode FSync: false [2020-02-15 15:43:41.172044] (info) Decode Star: false [2020-02-15 15:43:41.172070] (info) Decode TPS: false [2020-02-15 15:43:41.172121] (info) Talkgroup Display Format: Id [2020-02-15 15:43:41.172159] (info) Hide Encrypted Talkgroups: false [2020-02-15 15:43:41.172189] (info) Hide Unknown Talkgroups: false [2020-02-15 15:43:41.172216] (info) Minimum Call Duration (in seconds): 0 [2020-02-15 15:43:41.172268] (info)
[2020-02-15 15:43:41.172314] (info)


SOURCES

[2020-02-15 15:43:41.172490] (info) Driver: osmosdr [2020-02-15 15:43:41.172539] (info) Center: 8.523625e+08 [2020-02-15 15:43:41.172727] (info) Rate: 2240000 [2020-02-15 15:43:41.172778] (info) Error: 1000 [2020-02-15 15:43:41.172816] (info) PPM Error: 0 [2020-02-15 15:43:41.172845] (info) Gain: 48 [2020-02-15 15:43:41.172883] (info) IF Gain: 0 [2020-02-15 15:43:41.172913] (info) BB Gain: 0 [2020-02-15 15:43:41.172943] (info) LNA Gain: 0 [2020-02-15 15:43:41.172972] (info) PGA Gain: 0 [2020-02-15 15:43:41.173001] (info) TIA Gain: 0 [2020-02-15 15:43:41.173031] (info) MIX Gain: 0 [2020-02-15 15:43:41.173061] (info) VGA1 Gain: 0 [2020-02-15 15:43:41.173089] (info) VGA2 Gain: 0 [2020-02-15 15:43:41.173163] (info) Squelch: 0 [2020-02-15 15:43:41.173198] (info) Idle Silence: false [2020-02-15 15:43:41.173227] (info) Digital Recorders: 5 [2020-02-15 15:43:41.173263] (info) Debug Recorder: false [2020-02-15 15:43:41.173290] (info) SigMF Recorders: 0 [2020-02-15 15:43:41.173316] (info) Analog Recorders: 0 [2020-02-15 15:43:41.173348] (info) Modulation: fsk4 [2020-02-15 15:43:41.173404] (info) Source Device: rtl=1 gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4 built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp Using device #0 Realtek RTL2838UHIDIR SN: 1 Detached kernel driver Found Rafael Micro R820T tuner [R82XX] PLL not locked! [2020-02-15 15:43:41.947170] (info) SOURCE TYPE OSMOSDR (osmosdr) [2020-02-15 15:43:41.947239] (info) Setting sample rate to: 2240000 Exact sample rate is: 2240000.071208 Hz [R82XX] PLL not locked! [2020-02-15 15:43:42.067810] (info) Actual sample rate: 2240000 [2020-02-15 15:43:42.067917] (info) Tunning to 8.523635e+08 [2020-02-15 15:43:42.117720] (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 [2020-02-15 15:43:42.117794] (info) Max Freqency: 8.534505e+08 [2020-02-15 15:43:42.117841] (info) Min Freqency: 8.512745e+08 [2020-02-15 15:43:42.142707] (info) Gain set to: 48 [2020-02-15 15:43:42.142826] (info) Setting antenna to [RX] Decim: 35 Decim2: 2 [2020-02-15 15:43:42.154694] (info) P25 Recorder two-stage decimator - Initial decimated rate: 64000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2240000 [2020-02-15 15:43:42.256344] (info) P25 Recorder ARB - Initial Rate: 2240000 Resampled Rate: 32000 Initial Decimation: 35 System Rate: 24000 ARB Rate: 0.75 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. Decim: 35 Decim2: 2 [2020-02-15 15:43:42.279415] (info) P25 Recorder two-stage decimator - Initial decimated rate: 64000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2240000 [2020-02-15 15:43:42.298481] (info) P25 Recorder ARB - Initial Rate: 2240000 Resampled Rate: 32000 Initial Decimation: 35 System Rate: 24000 ARB Rate: 0.75 Decim: 35 Decim2: 2 [2020-02-15 15:43:42.309099] (info) P25 Recorder two-stage decimator - Initial decimated rate: 64000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2240000 [2020-02-15 15:43:42.332541] (info) P25 Recorder ARB - Initial Rate: 2240000 Resampled Rate: 32000 Initial Decimation: 35 System Rate: 24000 ARB Rate: 0.75 Decim: 35 Decim2: 2 [2020-02-15 15:43:42.340667] (info) P25 Recorder two-stage decimator - Initial decimated rate: 64000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2240000 [2020-02-15 15:43:42.362262] (info) P25 Recorder ARB - Initial Rate: 2240000 Resampled Rate: 32000 Initial Decimation: 35 System Rate: 24000 ARB Rate: 0.75 Decim: 35 Decim2: 2 [2020-02-15 15:43:42.369990] (info) P25 Recorder two-stage decimator - Initial decimated rate: 64000 Second decimated rate: 32000 FA: 6250 FB: 16000 System Rate: 2240000 [2020-02-15 15:43:42.391878] (info) P25 Recorder ARB - Initial Rate: 2240000 Resampled Rate: 32000 Initial Decimation: 35 System Rate: 24000 ARB Rate: 0.75 [2020-02-15 15:43:42.399268] (info)

[2020-02-15 15:43:42.399428] (info) Driver: osmosdr [2020-02-15 15:43:42.399489] (info) Center: 7.705437e+08 [2020-02-15 15:43:42.399605] (info) Rate: 1800000 [2020-02-15 15:43:42.399681] (info) Error: -32000 [2020-02-15 15:43:42.399743] (info) PPM Error: 0 [2020-02-15 15:43:42.399795] (info) Gain: 48 [2020-02-15 15:43:42.399853] (info) IF Gain: 0 [2020-02-15 15:43:42.399905] (info) BB Gain: 0 [2020-02-15 15:43:42.399956] (info) LNA Gain: 0 [2020-02-15 15:43:42.400007] (info) PGA Gain: 0 [2020-02-15 15:43:42.400057] (info) TIA Gain: 0 [2020-02-15 15:43:42.400107] (info) MIX Gain: 0 [2020-02-15 15:43:42.400157] (info) VGA1 Gain: 0 [2020-02-15 15:43:42.400208] (info) VGA2 Gain: 0 [2020-02-15 15:43:42.400259] (info) Squelch: 0 [2020-02-15 15:43:42.400308] (info) Idle Silence: false [2020-02-15 15:43:42.400357] (info) Digital Recorders: 3 [2020-02-15 15:43:42.400411] (info) Debug Recorder: false [2020-02-15 15:43:42.400460] (info) SigMF Recorders: 0 [2020-02-15 15:43:42.400508] (info) Analog Recorders: 0 [2020-02-15 15:43:42.400563] (info) Modulation: fsk4 [2020-02-15 15:43:42.400615] (info) Source Device: rtl=2 gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4 built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp Using device #1 Realtek RTL2838UHIDIR SN: 2 Detached kernel driver Found Rafael Micro R820T tuner [R82XX] PLL not locked! [2020-02-15 15:43:43.173172] (info) SOURCE TYPE OSMOSDR (osmosdr) [2020-02-15 15:43:43.173243] (info) Setting sample rate to: 1800000 [R82XX] PLL not locked! [2020-02-15 15:43:43.286823] (info) Actual sample rate: 1800000 [2020-02-15 15:43:43.286929] (info) Tunning to 7.705117e+08 [2020-02-15 15:43:43.336645] (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 [2020-02-15 15:43:43.336720] (info) Max Freqency: 7.713937e+08 [2020-02-15 15:43:43.336770] (info) Min Freqency: 7.696938e+08 [2020-02-15 15:43:43.361686] (info) Gain set to: 48 [2020-02-15 15:43:43.361797] (info) Setting antenna to [RX] Decim: 18 Decim2: 4 [2020-02-15 15:43:43.362558] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 1800000 [2020-02-15 15:43:43.379785] (info) P25 Recorder ARB - Initial Rate: 1800000 Resampled Rate: 25000 Initial Decimation: 18 System Rate: 24000 ARB Rate: 0.96 Decim: 18 Decim2: 4 [2020-02-15 15:43:43.388444] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 1800000 [2020-02-15 15:43:43.407597] (info) P25 Recorder ARB - Initial Rate: 1800000 Resampled Rate: 25000 Initial Decimation: 18 System Rate: 24000 ARB Rate: 0.96 Decim: 18 Decim2: 4 [2020-02-15 15:43:43.415735] (info) P25 Recorder two-stage decimator - Initial decimated rate: 100000 Second decimated rate: 25000 FA: 6250 FB: 12500 System Rate: 1800000 [2020-02-15 15:43:43.434469] (info) P25 Recorder ARB - Initial Rate: 1800000 Resampled Rate: 25000 Initial Decimation: 18 System Rate: 24000 ARB Rate: 0.96 [2020-02-15 15:43:43.442128] (info)

[2020-02-15 15:43:43.442209] (info)


INSTANCE

[2020-02-15 15:43:43.442287] (info) Capture Directory: /media/pi/F4D9-02F5 [2020-02-15 15:43:43.442320] (info) Upload Server: https://api.openmhz.com [2020-02-15 15:43:43.442347] (info) Status Server: [2020-02-15 15:43:43.442375] (info) Instance Key: [2020-02-15 15:43:43.442401] (info) Instance Id: [2020-02-15 15:43:43.442428] (info) Default Mode: digital [2020-02-15 15:43:43.442505] (info) Call Timeout (seconds): 3 [2020-02-15 15:43:43.442534] (info) Log to File: false [2020-02-15 15:43:43.442561] (info) Control channel warning rate: 10 [2020-02-15 15:43:43.442590] (info) Control channel retune limit: 0 [2020-02-15 15:43:43.442619] (info) Frequency format: 0 [2020-02-15 15:43:43.442645] (info) Status as String: true [2020-02-15 15:43:43.442671] (info) Log Level: info [2020-02-15 15:43:43.442717] (info) [mpscs] Started with Control Channel: 8.534750e+08 [2020-02-15 15:43:43.442779] (error) Unable to setup a System to record, exiting...

rwcts commented 4 years ago

I’m not an expert at all so take what I offer as a grain of salt. I received this message when the config file was not correct. The directions for the raspberry pi worked on all the pi 4b, 4 and 3b+ units. I adjusted some of the wiki instructions as well. Your using buster or Ubuntu? You may need to change your modulation. The rate should be 2024000 or 2048000?