OP25 Major New OP25 Release - Seeking Beta Testers

ctencore

Member
Joined
Dec 31, 2008
Messages
17
Location
Auburn, CA
Also, in the cfg JSON "rtl:xxx" args you'll need to change the serial numbers to match your RTLs, and the ppm correction will almost assuredly be different than what is shown in the example.....
Great, thank you, the solved that issue. I did change the serial numbers to what's listed, and these cards don't require an offset. This is the next issue I'm facing:

Do I need to blacklist the sdrs?

device: {'gains': 'lna:49', 'args': 'rtl=00000011', 'ppm': 54, 'rate': 1000000, 'frequency': 83235000000, 'tunable': False, 'offset': 0, 'name': 'rtl11_cc'}
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: 00000011
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
[R82XX] PLL not locked!
device: {'gains': 'lna:49', 'args': 'rtl=00000012', 'ppm': 54, 'rate': 1000000, 'frequency': 83235000000, 'tunable': True, 'offset': 0, 'name': 'rtl12_vc'}
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: 00000012
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
[R82XX] PLL not locked!
Traceback (most recent call last):
File "multi_rx.py", line 777, in <module>
rx = rx_main()
File "multi_rx.py", line 756, in __init__
self.tb = rx_block(options.verbosity, config = byteify(config), trunk_conf_file=options.trunk_conf_file, terminal_type=options.terminal_type, track_errors=options.freq_error_tracking, udp_player = options.udp_player)
File "multi_rx.py", line 420, in __init__
self.configure_channels(config['channels'])
File "multi_rx.py", line 694, in configure_channels
(k, v) = p.split('=')
ValueError: need more than 1 value to unpack
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
ValueError: need more than 1 value to unpack

It appears this crash is due to some remnants of the pre-beta (alpha) versions. I'll have to update the repo but could I have you change the "decode" parameter in each channel of the JSON as follows:

For each control channel (cc) - NOTE - also change dev and nac values to match your system
Code:
"decode": "p25_decoder:role=cc:dev=rtl11:nac=0x123",

For each voice channel
Code:
"decode": "p25_decoder:role=vc:dev=rtl12_vc",

Max
 

ctencore

Member
Joined
Dec 31, 2008
Messages
17
Location
Auburn, CA
I appreciate your assistance. It runs now so that worked. I'm not decoding the control channel though. This is how my config file reads now, with this showing on the screen:

{
"channels": [
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:56124",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 832500000,
"if_rate": 24000,
"name": "p25 control channel",
"plot": "symbol",
"decode": "p25_decoder:role=cc:dev=rtl11:nac=0x5fc",
"symbol_rate": 4800
},
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:23456",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 0,
"if_rate": 24000,
"name": "p25 voice channel",
"plot": "symbol",
"decode": "p25_decoder:role=vc:dev=rtl12_vc",
"symbol_rate": 4800
}
],
"devices": [
{
"args": "rtl=00000011",
"frequency": 8523500000,
"gains": "lna:49",
"name": "rtl11_cc",
"offset": 500,
"ppm": 54,
"rate": 1000000,
"tunable": false
},
{
"args": "rtl=00000012",
"frequency": 8523500000,
"gains": "lna:49",
"name": "rtl12_vc",
"offset": 500,
"ppm": 54,
"rate": 1000000,
"tunable": true
}
]
}



stderr.2:

device: {'gains': 'lna:49', 'args': 'rtl=00000011', 'ppm': 54, 'rate': 1000000, 'frequency': 8523500000, 'tunable': False, 'offset': 500, 'name': 'rtl11_cc'}
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: 00000011
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
[R82XX] PLL not locked!
device: {'gains': 'lna:49', 'args': 'rtl=00000012', 'ppm': 54, 'rate': 1000000, 'frequency': 8523500000, 'tunable': True, 'offset': 500, 'name': 'rtl12_vc'}
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: 00000012
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
[R82XX] PLL not locked!
* * * No device found for channel p25 control channel- ignoring!
channel (dev rtl12_vc): {'plot': 'symbol', 'name': 'p25 voice channel', 'excess_bw': 0.2, 'symbol_rate': 4800, 'destination': 'udp://127.0.0.1:23456', 'demod_type': 'cqpsk', 'filter_type': 'rc', 'decode': 'p25_decoder:role=vc:dev=rtl12_vc', 'frequency': 0, 'if_rate': 24000}
Using two-stage decimator for speed=1000000, decim=10/4 if1=100000 if2=25000
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.
op25_audio::eek:pen_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[1]
assigning channel "p25 voice channel" (channel id 1) to device "rtl12_vc"
added talkgroup 3847 from sac_wl.tsv
added talkgroup 3849 from sac_wl.tsv
added talkgroup 3851 from sac_wl.tsv
added talkgroup 3853 from sac_wl.tsv
added talkgroup 3769 from sac_wl.tsv
added talkgroup 3771 from sac_wl.tsv
added talkgroup 3773 from sac_wl.tsv
added talkgroup 3775 from sac_wl.tsv
added talkgroup 3777 from sac_wl.tsv
added talkgroup 3779 from sac_wl.tsv
added talkgroup 3781 from sac_wl.tsv
added talkgroup 3783 from sac_wl.tsv
change_freq: no channel(s) found for cc frequency 852.350000
using ALSA sound system
audio device: default
Listening on 127.0.0.1:23456
python version detected: 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0]
Allocating 15 zero-copy buffers
Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
1633405174.281997 p25p1_fdma::rx_sym() timeout, channel 1
1633405174.288440 process_data_unit timeout, channel 1
1633405174.292410 control channel timeout, current CC 852350000
change_freq: no channel(s) found for cc frequency 852.350000
1633405175.323865 p25p1_fdma::rx_sym() timeout, channel 1
1633405175.330741 process_data_unit timeout, channel 1
1633405175.331082 control channel timeout, current CC 852350000
1633405176.373238 p25p1_fdma::rx_sym() timeout, channel 1
1633405176.378430 process_data_unit timeout, channel 1
1633405176.381191 control channel timeout, current CC 852350000

Screenshot from 2021-10-04 20-40-33.png
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
* * * No device found for channel p25 control channel- ignoring!

The above error message in stderr indicates the CC failed to initialize - no surprise there's no CC decode.

Looks like the dev= entry in your control channel definition ("decode" parameter) specifies a non-existent device name....

Max
 

WX4JCW

Member
Premium Subscriber
Joined
Jun 26, 2006
Messages
3,403
Location
Stow, Ohio
ok i did a system update on Linux Mint and all is well, up in Columbus, OH this week and i got the latest build up and running perfectly in 5 minutes from scratch
VirtualBox_Linux Mint -Op25 Osmocomm_05_10_2021_00_14_22.png
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
ctencore

Can you post 1) the command line you're running, 2) the JSON file, and 3) the stderr file

Also (as previously mentioned) unless you've already reset the device "ppm" values to zeros I'd expect things wouldn't work.

Thx

Max
 

ctencore

Member
Joined
Dec 31, 2008
Messages
17
Location
Auburn, CA
Thanks for the help. I posted the last screenshot just to show I can decode the trunking stream in rx.py with my settings of 0 ppm and 0 offset. I'm using the NESDR's and they've proven rock solid even after hours of use.

Here's my multi command line:
#! /bin/sh

l="-l http:127.0.0.1:8080"
U="-U"
python multi_rx.py -c cfg-trunk2.json -T trunk.tsv $l -v 10 $U 2> stderr.2

Here's my cfg-trunk2.json

{
"channels": [
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:56124",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 85235000,
"if_rate": 24000,
"name": "p25 control channel",
"plot": "symbol",
"decode": "p25_decoder:role=cc:dev=rtl11_cc:nac=0x5fc",
"symbol_rate": 4800
},
{
"demod_type": "cqpsk",
"destination": "udp://127.0.0.1:23456",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 0,
"if_rate": 24000,
"name": "p25 voice channel",
"plot": "symbol",
"decode": "p25_decoder:role=vc:dev=rtl12_vc",
"symbol_rate": 4800
}
],
"devices": [
{
"args": "rtl=00000011",
"frequency": 85235000,
"gains": "lna:42",
"name": "rtl11_cc",
"offset": 0,
"ppm": 0,
"rate": 250000,
"tunable": false
},
{
"args": "rtl=00000012",
"frequency": 85235000,
"gains": "lna:42",
"name": "rtl12_vc",
"offset": 0,
"ppm": 0,
"rate": 250000,
"tunable": true
}
]
}

Here's the stderr.2
device: {'gains': 'lna:42', 'args': 'rtl=00000011', 'ppm': 0, 'rate': 250000, 'frequency': 85235000, 'tunable': False, 'offset': 0, 'name': 'rtl11_cc'}
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: 00000011
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
device: {'gains': 'lna:42', 'args': 'rtl=00000012', 'ppm': 0, 'rate': 250000, 'frequency': 85235000, 'tunable': True, 'offset': 0, 'name': 'rtl12_vc'}
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: 00000012
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
channel (dev rtl11_cc): {'plot': 'symbol', 'name': 'p25 control channel', 'excess_bw': 0.2, 'symbol_rate': 4800, 'destination': 'udp://127.0.0.1:56124', 'demod_type': 'cqpsk', 'filter_type': 'rc', 'decode': 'p25_decoder:role=cc:dev=rtl11_cc:nac=0x5fc', 'frequency': 85235000, 'if_rate': 24000}
Using two-stage decimator for speed=250000, decim=5/2 if1=50000 if2=25000
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.
op25_audio::eek:pen_socket(): enabled udp host(127.0.0.1), wireshark(56124), audio(56124)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[1]
assigning channel "p25 control channel" (channel id 1) to device "rtl11_cc"
channel (dev rtl12_vc): {'plot': 'symbol', 'name': 'p25 voice channel', 'excess_bw': 0.2, 'symbol_rate': 4800, 'destination': 'udp://127.0.0.1:23456', 'demod_type': 'cqpsk', 'filter_type': 'rc', 'decode': 'p25_decoder:role=vc:dev=rtl12_vc', 'frequency': 0, 'if_rate': 24000}
Using two-stage decimator for speed=250000, decim=5/2 if1=50000 if2=25000
op25_audio::eek:pen_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[1]
assigning channel "p25 voice channel" (channel id 2) to device "rtl12_vc"
added talkgroup 3847 from sac_wl.tsv
added talkgroup 3849 from sac_wl.tsv
added talkgroup 3851 from sac_wl.tsv
added talkgroup 3853 from sac_wl.tsv
added talkgroup 3769 from sac_wl.tsv
added talkgroup 3771 from sac_wl.tsv
added talkgroup 3773 from sac_wl.tsv
added talkgroup 3775 from sac_wl.tsv
added talkgroup 3777 from sac_wl.tsv
added talkgroup 3779 from sac_wl.tsv
added talkgroup 3781 from sac_wl.tsv
added talkgroup 3783 from sac_wl.tsv
1633445816.231039 find_channel_cc: selected channel 1 (p25 control channel) for tuning request type cc frequency 852.350000
warning: set frequency 852.350000 to non-tunable device rtl11_cc rejected.
using ALSA sound system
audio device: default
Listening on 127.0.0.1:23456
python version detected: 2.7.16 (default, Oct 10 2019, 22:02:15)
[GCC 8.3.0]
Allocating 15 zero-copy buffers
Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
Allocating 15 zero-copy buffers
Detected Kernel usbfs mmap() bug, falling back to buffers in userspace
1633445818.442655 p25p1_fdma::rx_sym() timeout, channel 2
1633445818.445850 process_data_unit timeout, channel 2
1633445818.446890 control channel timeout, current CC 852350000
1633445818.447497 find_channel_cc: selected channel 1 (p25 control channel) for tuning request type cc frequency 852.350000
1633445818.476611 p25p1_fdma::rx_sym() timeout, channel 1
1633445818.488641 process_data_unit timeout, channel 1
1633445818.488955 control channel timeout, current CC 852350000
1633445819.519726 p25p1_fdma::rx_sym() timeout, channel 2
1633445819.522711 process_data_unit timeout, channel 2
1633445819.523002 control channel timeout, current CC 852350000
1633445819.532672 p25p1_fdma::rx_sym() timeout, channel 1
1633445819.534317 process_data_unit timeout, channel 1
1633445819.534505 control channel timeout, current CC 852350000
1633445820.527621 p25p1_fdma::rx_sym() timeout, channel 2
1633445820.532103 process_data_unit timeout, channel 2
1633445820.534327 control channel timeout, current CC 852350000
1633445820.548364 p25p1_fdma::rx_sym() timeout, channel 1
1633445820.549416 process_data_unit timeout, channel 1
1633445820.549746 control channel timeout, current CC 852350000
 

KA1RBI

Member
Joined
Aug 15, 2008
Messages
799
Location
Portage Escarpment
1633445816.231039 find_channel_cc: selected channel 1 (p25 control channel) for tuning request type cc frequency 852.350000
warning: set frequency 852.350000 to non-tunable device rtl11_cc rejected.

The control channel device "rtl11_cc" is fixed tuned (tunable = false) and specifies a frequency just below the VHF-FM Broadcast band -- obviously bogus ...

Max
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,443
Location
Coconut Creek
Could be the default gnuradio version for your system is 3.8 and the 3.8 patches for building OP25 have not been installed?

You can check the gnuradio version by running

Code:
dpkg-query -l | grep gnuradio

Max

Running that command, I get version 3.7.11-10
Do I need some other version? If so, how do I get it?

I have tried to install this new Osmocom version numerous times, and I always get this error message:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mkdir: cannot create directory ‘build’: File exists
./install.sh: 19: ./install.sh: cmake: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.

Could this be related to the gnuradio issue?
 

sjacket99

FuzzThePiGuy
Feed Provider
Joined
Dec 21, 2016
Messages
79
Location
Pa
Running that command, I get version 3.7.11-10
Do I need some other version? If so, how do I get it?

I have tried to install this new Osmocom version numerous times, and I always get this error message:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mkdir: cannot create directory ‘build’: File exists
./install.sh: 19: ./install.sh: cmake: not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.

Could this be related to the gnuradio issue?


Did you try a update?

sudo apt update

You might have to run sudo apt install -f

You could have some broken packages.
 
Top