So I've been trying to get OP25 osmocom running for a few days, thus for without success. I'm running native Kali Linux with an Airspy dongle. As best I can tell, OP25 compiled just fine, I used the latest version from the Github repository. I've been trying to run OP25 with the following command string: ./rx.py --args "airspy" -N 'IF:10,MIX:15,LNA:15' -f 853.4125e6 -S 10000000 -l 'http:127.0.0.1:5000' -T dtr.tsv -v 10 2> /home/user/Desktop/logs/stderr.2. The aforementioned frequency is a CC for a trunking site. When I run this command, the web server starts but no data is passed (screenshot attached). The stderr log shows a python Traceback error for "create_image", but the log also shows lots of TSBK packets being captured.
Below is a relevant excerpt from my log file:
CPU Features: SSE2+ SSE4.1+ AVX+ FMA+
Using avx for xtrxdsp_iq16_sc32
Using avx for xtrxdsp_iq8_ic16
Using avx for xtrxdsp_iq16_ic16i
Using avx for xtrxdsp_iq8_ic8i
Using avx for xtrxdsp_sc32i_iq16
Using avx for xtrxdsp_iq8_sc32
Using avx for xtrxdsp_iq8_sc32i
Using avx for xtrxdsp_iq16_sc32i
Using avx for xtrxdsp_sc32_iq16
Using avx for xtrxdsp_ic16i_iq16
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.9.2
built-in source types: file fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp xtrx
Using AirSpy NOS v1.0.0-rc10-6-g4008185 2020-05-08, samplerates: 2.5M 10M
Airspy decim:1 kernel size:47
Using two-stage decimator for speed=10000000, decim=100/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.
p25_frame_assembler_impl: do_imbe[0], do_output[0], do_audio_output[0], do_phase2_tdma[0]
1710544097.690653 change_freq: {'freq': 853412500, 'channel_type': 'cc', 'tgid': None, 'offset': 0, 'tag': '', 'nac': 3357, 'system': 'DTRS', 'center_frequency': None, 'tdma': None, 'wacn': None, 'sysid': None, 'prio': 0, 'tag_color': None}
/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py:816: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.setDaemon(1)
python version detected: 3.11.7 (main, Dec 8 2023, 14:22:46) [GCC 13.2.0]
1710544097.901539 NAC 0xd1d TSBK: op=09 : 09 90 0b 40 00 00 00 00 00 00 3d fe
1710544097.901653 NAC 0xd1d TSBK: op=3b : 3b 00 00 be e0 7d 1c 01 81 70 eb 43
1710544097.901716 NAC 0xd1d TSBK: op=05 : 85 90 40 00 c0 00 00 00 08 00 f4 be
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py", line 827, in run
self.callback(msg)
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py", line 369, in preprocess_qmsg
self.trunk_rx.process_qmsg(msg)
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/trunking.py", line 1568, in process_qmsg
self.make_status_png()
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/trunking.py", line 1404, in make_status_png
create_image(status, imgfile=tmp_output_file, bgcolor="#c0c0c0", windowsize=(640,480))
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/create_image.py", line 44, in create_image
w,h = draw.textsize(line, font)
^^^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'textsize'
1710544097.954040 NAC 0xd1d TSBK: op=3a : 3a 00 00 3d 1c 06 2d 01 81 70 c6 06
1710544097.954126 NAC 0xd1d TSBK: op=16 : 16 00 00 40 ff ff ff ff 00 01 5f cb
1710544097.954188 NAC 0xd1d TSBK: op=3c : bc 00 00 3d 1c 06 36 00 fd 70 2e 31
1710544098.064685 NAC 0xd1d TSBK: op=39 : 39 00 06 2d 00 7f 04 01 bb 04 74 90
1710544098.064803 NAC 0xd1d TSBK: op=30 : 30 00 00 04 6a 30 6f b9 08 ac 56 cb
1710544098.064890 NAC 0xd1d TSBK: op=3d : bd 00 03 22 d0 32 0a 25 10 a2 87 94
1710544098.117361 NAC 0xd1d TSBK: op=0b : 0b 90 00 00 00 00 00 00 01 81 5a af
1710544098.117478 NAC 0xd1d TSBK: op=09 : 09 90 0c 80 00 00 00 00 00 00 8c f3
1710544098.117554 NAC 0xd1d TSBK: op=3b : bb 00 00 be e0 7d 1c 01 81 70 0f 77
1710544098.222290 NAC 0xd1d TSBK: op=05 : 05 90 40 00 c0 00 00 00 08 00 10 8a
1710544098.222382 NAC 0xd1d TSBK: op=3a : 3a 00 00 3d 1c 06 2d 01 81 70 c6 06
1710544098.222443 NAC 0xd1d TSBK: op=16 : 96 00 00 40 ff ff ff ff 00 01 bb ff
Any clues on what I could be doing wrong here?
-Nate
Below is a relevant excerpt from my log file:
CPU Features: SSE2+ SSE4.1+ AVX+ FMA+
Using avx for xtrxdsp_iq16_sc32
Using avx for xtrxdsp_iq8_ic16
Using avx for xtrxdsp_iq16_ic16i
Using avx for xtrxdsp_iq8_ic8i
Using avx for xtrxdsp_sc32i_iq16
Using avx for xtrxdsp_iq8_sc32
Using avx for xtrxdsp_iq8_sc32i
Using avx for xtrxdsp_iq16_sc32i
Using avx for xtrxdsp_sc32_iq16
Using avx for xtrxdsp_ic16i_iq16
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.9.2
built-in source types: file fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp xtrx
Using AirSpy NOS v1.0.0-rc10-6-g4008185 2020-05-08, samplerates: 2.5M 10M
Airspy decim:1 kernel size:47
Using two-stage decimator for speed=10000000, decim=100/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.
p25_frame_assembler_impl: do_imbe[0], do_output[0], do_audio_output[0], do_phase2_tdma[0]
1710544097.690653 change_freq: {'freq': 853412500, 'channel_type': 'cc', 'tgid': None, 'offset': 0, 'tag': '', 'nac': 3357, 'system': 'DTRS', 'center_frequency': None, 'tdma': None, 'wacn': None, 'sysid': None, 'prio': 0, 'tag_color': None}
/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py:816: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.setDaemon(1)
python version detected: 3.11.7 (main, Dec 8 2023, 14:22:46) [GCC 13.2.0]
1710544097.901539 NAC 0xd1d TSBK: op=09 : 09 90 0b 40 00 00 00 00 00 00 3d fe
1710544097.901653 NAC 0xd1d TSBK: op=3b : 3b 00 00 be e0 7d 1c 01 81 70 eb 43
1710544097.901716 NAC 0xd1d TSBK: op=05 : 85 90 40 00 c0 00 00 00 08 00 f4 be
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py", line 827, in run
self.callback(msg)
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/./rx.py", line 369, in preprocess_qmsg
self.trunk_rx.process_qmsg(msg)
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/trunking.py", line 1568, in process_qmsg
self.make_status_png()
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/trunking.py", line 1404, in make_status_png
create_image(status, imgfile=tmp_output_file, bgcolor="#c0c0c0", windowsize=(640,480))
File "/usr/local/src/op25/op25/gr-op25_repeater/apps/create_image.py", line 44, in create_image
w,h = draw.textsize(line, font)
^^^^^^^^^^^^^
AttributeError: 'ImageDraw' object has no attribute 'textsize'
1710544097.954040 NAC 0xd1d TSBK: op=3a : 3a 00 00 3d 1c 06 2d 01 81 70 c6 06
1710544097.954126 NAC 0xd1d TSBK: op=16 : 16 00 00 40 ff ff ff ff 00 01 5f cb
1710544097.954188 NAC 0xd1d TSBK: op=3c : bc 00 00 3d 1c 06 36 00 fd 70 2e 31
1710544098.064685 NAC 0xd1d TSBK: op=39 : 39 00 06 2d 00 7f 04 01 bb 04 74 90
1710544098.064803 NAC 0xd1d TSBK: op=30 : 30 00 00 04 6a 30 6f b9 08 ac 56 cb
1710544098.064890 NAC 0xd1d TSBK: op=3d : bd 00 03 22 d0 32 0a 25 10 a2 87 94
1710544098.117361 NAC 0xd1d TSBK: op=0b : 0b 90 00 00 00 00 00 00 01 81 5a af
1710544098.117478 NAC 0xd1d TSBK: op=09 : 09 90 0c 80 00 00 00 00 00 00 8c f3
1710544098.117554 NAC 0xd1d TSBK: op=3b : bb 00 00 be e0 7d 1c 01 81 70 0f 77
1710544098.222290 NAC 0xd1d TSBK: op=05 : 05 90 40 00 c0 00 00 00 08 00 10 8a
1710544098.222382 NAC 0xd1d TSBK: op=3a : 3a 00 00 3d 1c 06 2d 01 81 70 c6 06
1710544098.222443 NAC 0xd1d TSBK: op=16 : 96 00 00 40 ff ff ff ff 00 01 bb ff
Any clues on what I could be doing wrong here?
-Nate