OP25 VirtualBox Project - Run OP25 on Windows 7

Status
Not open for further replies.

N6ML

Member
Joined
Sep 26, 2008
Messages
1,277
You're probably right. However, with the rtl:0 thing, the error message I was getting was ValueError: No JSON object could be decoded.

Nope, that one was caused by a spurious comma in your JSON :)
 

Taylor_425

Member
Premium Subscriber
Joined
Jul 24, 2012
Messages
52
Location
Fort Erie, Ontario
Once the audio has ceased, if you bring up the terminal screen do you see any activity:
- does the "tsbks" counter keep incrementing?
- do you see any activity on the bottom line where the Frequency displays along with TGID and Tag info?
- what log level are you running? what if anything continues to appear in the log?

Try running "top -H" in a separate window and see what threads related to op25 are active. (post a screen shot)

The system still keeps counting tsbks, and i am seeing activity in the TGID Frequency Display area....ive run log level 10 and havent seen anything to show an issue.....ill run top -H over the next 24 hours
 

telvana

Member
Joined
Nov 19, 2014
Messages
87
I confirm the link above dseven sent you. I was having similar errors.

The only way I was able to successfully compile OP25 on a RPI was this way`:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get build-dep gnuradio
sudo apt-get install libboost-all-dev liblog4cpp5-dev swig cmake gnuplot gnuplot-x11
sudo apt-get install gnuradio gnuradio-dev gr-osmosdr librtlsdr-dev libuhd-dev libhackrf-dev libitpp-dev libpcap-dev git
REBOOT

cd ~
git clone https://github.com/boatbod/op25
cd op25

mkdir build
cd build
cmake ../
make -j4
sudo make install
sudo ldconfig

Hope this helps

This worked, the only issue is make -j4 caused me to run out of memory on my current pi, but I dropped down to just "make" and it compiled without any issues. Thank you!
 

Taylor_425

Member
Premium Subscriber
Joined
Jul 24, 2012
Messages
52
Location
Fort Erie, Ontario
Once the audio has ceased, if you bring up the terminal screen do you see any activity:
- does the "tsbks" counter keep incrementing?
- do you see any activity on the bottom line where the Frequency displays along with TGID and Tag info?
- what log level are you running? what if anything continues to appear in the log?

Try running "top -H" in a separate window and see what threads related to op25 are active. (post a screen shot)

Sorry for the delay, i finally had some time to sit down and gather some further info. I cannot seem to figure out when the audio drops and it always seems to be after running the server for a couple of hours. When i dont get any audio I still receive activity for the TGID and Tag info and i can see it actively following the voice channel. the TSBKS continue to rise and im not seeing anything other the the Voice Channel changes in the log. I will upload a video of both the browser and top -H command when i can.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,375
Location
Talbot Co, MD
Sorry for the delay, i finally had some time to sit down and gather some further info. I cannot seem to figure out when the audio drops and it always seems to be after running the server for a couple of hours. When i dont get any audio I still receive activity for the TGID and Tag info and i can see it actively following the voice channel. the TSBKS continue to rise and im not seeing anything other the the Voice Channel changes in the log. I will upload a video of both the browser and top -H command when i can.

Curious. That either sounds like sockaudio.py might be blocking or the udp simply isn't being sent out any more.
 

aarvnb

Newbie
Joined
Aug 5, 2018
Messages
5
Location
Santiago
No sound timeout

Hello all, after I read 108 pages and install Op25 I see the talk groups but I dont have sound , I rewiev the log filew and in all time voice is update but after is time out.

1534688991.739971 new tgid: 13352 36/41 - Comisaria La Florida/La Pintana - El Despacho prio 3
1534688991.740013 voice update: tg(13352), freq(864962500), slot(-), prio(3)
1534688991.829865 NAC 0x1a0 TSBK: op=3a : 3a 00 00 11 a9 01 01 0b 0d 70 c4 aa
1534688991.829941 NAC 0x1a0 TSBK: op=05 : 05 90 00 00 00 00 00 00 00 00 d1 c3
1534688991.829981 NAC 0x1a0 TSBK: op=00 : 80 00 44 08 b9 34 28 cb de 43 6d 79
1534688991.839240 set tgid=13352, srcaddr=13360707
1534688991.923861 NAC 0x1a0 TSBK: op=3c : 3c 00 00 31 a9 01 56 0b 25 70 72 ba
1534688991.923941 NAC 0x1a0 TSBK: op=39 : 39 00 01 01 08 5d 04 0a b9 04 58 f3
1534688991.924000 NAC 0x1a0 TSBK: op=00 : 80 00 44 08 b9 34 28 cb de 43 6d 79
1534688991.932127 set tgid=13352, srcaddr=13360707
1534688992.011913 NAC 0x1a0 TSBK: op=02 : 02 00 09 f5 23 8d 0a 05 38 1b 7a 3c
1534688992.012005 NAC 0x1a0 TSBK: op=02 : 02 00 0a d1 33 60 08 91 36 7f 5b 37
1534688992.012051 NAC 0x1a0 TSBK: op=02 : 82 00 0a d5 33 c4 08 b9 34 28 be b0
1534688992.012610 set tgid=9101, srcaddr=0
1534688992.019214 set tgid=14363, srcaddr=0
1534688992.019382 set tgid=13152, srcaddr=0
1534688992.019412 set tgid=13951, srcaddr=0
1534688992.019506 set tgid=13252, srcaddr=0
1534688992.019542 set tgid=13352, srcaddr=0
1534688993.379176 voice timeout
1534688993.834212 NAC 0x1a0 TSBK: op=3c : 3c 00 00 31 a9 01 02 0b 1d 70 41 4c
1534688993.834285 NAC 0x1a0 TSBK: op=39 : 39 00 01 01 08 5d 04 0a b9 04 58 f3
1534688993.834325 NAC 0x1a0 TSBK: op=00 : 80 90 35 21 35 21 35 21 35 21 0e 63
1534688993.923860 NAC 0x1a0 TSBK: op=02 : 02 90 40 09 05 33 f5 c8 d0 61 74 e6
1534688993.923931 NAC 0x1a0 TSBK: op=16 : 16 00 00 40 ff ff ff ff ff ff 52 e5
1534688993.924021 NAC 0x1a0 TSBK: op=03 : 83 90 02 a9 35 21 02 a9 35 21 e9 03


the rx.px is ./rx.py --args 'rtl=0' --gains lna:28 -S 1440000 -D fsk4 -f 868.6255e6 -o 50000 -T trunk.tsv -q 0 -v 10 -V -2 -U 2> stderr.2

I change C4FM for cqpsk and nothing

The site for decode is https://www.radioreference.com/apps/db/?sid=9087


the trunk.tsv


Sysname Control Channel List Offset NAC Modulation TGID Tags File Whitelist Blacklist Blacklist Center Frequency
Santiago 868.6255 0 0x1a0 C4FM santiago.tsv 13352 12000 15000




Attach the log file


Thanks for your help
 

Attachments

  • stderr.txt
    121.5 KB · Views: 39

boatbod

Member
Joined
Mar 3, 2007
Messages
3,375
Location
Talbot Co, MD
Hello all, after I read 108 pages and install Op25 I see the talk groups but I dont have sound , I rewiev the log filew and in all time voice is update but after is time out.

1534688991.739971 new tgid: 13352 36/41 - Comisaria La Florida/La Pintana - El Despacho prio 3
1534688991.740013 voice update: tg(13352), freq(864962500), slot(-), prio(3)
1534688991.829865 NAC 0x1a0 TSBK: op=3a : 3a 00 00 11 a9 01 01 0b 0d 70 c4 aa
1534688991.829941 NAC 0x1a0 TSBK: op=05 : 05 90 00 00 00 00 00 00 00 00 d1 c3
1534688991.829981 NAC 0x1a0 TSBK: op=00 : 80 00 44 08 b9 34 28 cb de 43 6d 79
1534688991.839240 set tgid=13352, srcaddr=13360707
1534688991.923861 NAC 0x1a0 TSBK: op=3c : 3c 00 00 31 a9 01 56 0b 25 70 72 ba
1534688991.923941 NAC 0x1a0 TSBK: op=39 : 39 00 01 01 08 5d 04 0a b9 04 58 f3
1534688991.924000 NAC 0x1a0 TSBK: op=00 : 80 00 44 08 b9 34 28 cb de 43 6d 79
1534688991.932127 set tgid=13352, srcaddr=13360707
1534688992.011913 NAC 0x1a0 TSBK: op=02 : 02 00 09 f5 23 8d 0a 05 38 1b 7a 3c
1534688992.012005 NAC 0x1a0 TSBK: op=02 : 02 00 0a d1 33 60 08 91 36 7f 5b 37
1534688992.012051 NAC 0x1a0 TSBK: op=02 : 82 00 0a d5 33 c4 08 b9 34 28 be b0
1534688992.012610 set tgid=9101, srcaddr=0
1534688992.019214 set tgid=14363, srcaddr=0
1534688992.019382 set tgid=13152, srcaddr=0
1534688992.019412 set tgid=13951, srcaddr=0
1534688992.019506 set tgid=13252, srcaddr=0
1534688992.019542 set tgid=13352, srcaddr=0
1534688993.379176 voice timeout
1534688993.834212 NAC 0x1a0 TSBK: op=3c : 3c 00 00 31 a9 01 02 0b 1d 70 41 4c
1534688993.834285 NAC 0x1a0 TSBK: op=39 : 39 00 01 01 08 5d 04 0a b9 04 58 f3
1534688993.834325 NAC 0x1a0 TSBK: op=00 : 80 90 35 21 35 21 35 21 35 21 0e 63
1534688993.923860 NAC 0x1a0 TSBK: op=02 : 02 90 40 09 05 33 f5 c8 d0 61 74 e6
1534688993.923931 NAC 0x1a0 TSBK: op=16 : 16 00 00 40 ff ff ff ff ff ff 52 e5
1534688993.924021 NAC 0x1a0 TSBK: op=03 : 83 90 02 a9 35 21 02 a9 35 21 e9 03


the rx.px is ./rx.py --args 'rtl=0' --gains lna:28 -S 1440000 -D fsk4 -f 868.6255e6 -o 50000 -T trunk.tsv -q 0 -v 10 -V -2 -U 2> stderr.2

I change C4FM for cqpsk and nothing

The site for decode is https://www.radioreference.com/apps/db/?sid=9087


the trunk.tsv


Sysname Control Channel List Offset NAC Modulation TGID Tags File Whitelist Blacklist Blacklist Center Frequency
Santiago 868.6255 0 0x1a0 C4FM santiago.tsv 13352 12000 15000




Attach the log file


Thanks for your help

The error sequence ("voice update" followed by "voice timeout") suggests that your op25 is decoding the control channel correctly but never obtaining a framing lock on the voice frequencies. This doesn't typically happen because of encryption, but usually because either modulation or ppm correction are set incorrectly.

The traffic seen is phase 1 (no slot id) but the RRDB entry suggests this is a phase 2 system, which almost universally means you should be running without the "-D fsk4" parameter (i.e. cqpsk mode).

How does the the mixer plot look? Is it nicely centered or do you need to make tuning adjustments?
 

aarvnb

Newbie
Joined
Aug 5, 2018
Messages
5
Location
Santiago
The error sequence ("voice update" followed by "voice timeout") suggests that your op25 is decoding the control channel correctly but never obtaining a framing lock on the voice frequencies. This doesn't typically happen because of encryption, but usually because either modulation or ppm correction are set incorrectly.

The traffic seen is phase 1 (no slot id) but the RRDB entry suggests this is a phase 2 system, which almost universally means you should be running without the "-D fsk4" parameter (i.e. cqpsk mode).

How does the the mixer plot look? Is it nicely centered or do you need to make tuning adjustments?


Hello Thank you for your help y run in C4FM and in cqpsk without the parameter D fsk4 too my plot is centered this is a picture.
 

Attachments

  • Screenshot from 2018-08-21 17-03-47.jpg
    Screenshot from 2018-08-21 17-03-47.jpg
    52.7 KB · Views: 466

boatbod

Member
Joined
Mar 3, 2007
Messages
3,375
Location
Talbot Co, MD
Hello Thank you for your help y run in C4FM and in cqpsk without the parameter D fsk4 too my plot is centered this is a picture.

The mixer plot looks reasonable; maybe you could tweak a touch but I don't think it'll make much difference to the overall outcome. Does the control channel lock on and decode when you run without the -D parameter? If so, do you still see the "voice timeout" log messages?

Assuming yes to both the above, what do the fft/mixer/constellation plots look like while tuned to the voice channels? (It'll be hard to capture... you'll only be tuned for 1 second or so before the timeout)
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,662
Location
Toronto, Ontario
boatbod:

Trying to help a friend in Canada set up op25 and his area is a little confusing to me. Is this compatible with your branch?

https://www.radioreference.com/apps/db/?sid=537
That's similar to Ontario's Fleetnet system; I use TRUNK88 (plus DSD+ for the digital talkgroups). Maybe check in the Prairies / Pacific Coast forum for someone who already has a working setup - they could just zip it up for you.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,375
Location
Talbot Co, MD
I think trunk recorder can do Motorola if you want to stick with linux.
That's similar to Ontario's Fleetnet system; I use TRUNK88 (plus DSD+ for the digital talkgroups). Maybe check in the Prairies / Pacific Coast forum for someone who already has a working setup - they could just zip it up for you.
 
Status
Not open for further replies.
Top