UBUNTU op25 help

Status
Not open for further replies.

studysession

Member
Joined
Oct 19, 2018
Messages
41
Location
Carroll County, MD
Operating System Ubuntu 18.04.1 and then did a dist-upgrade so it is the latest.

I have op25 installed just not working.

I do believe something is wrong in my TSV files. They are attached in a zip file.

I live in Carroll County, MD and this is where I got my information.
https://www.radioreference.com/apps/db/?ctid=1194

The NAC was already filled in from the default trunk.tsv file that came with the program. I have no idea what NAC # I should be using or how to figure that out.

It executes using either my RTL-SDR or my HackRF. I just cannot get it to execute correctly for my frequncies and to play any sound.

Any help would be appreciated.
 

Attachments

  • tsv_files.zip
    519 bytes · Views: 7

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Operating System Ubuntu 18.04.1 and then did a dist-upgrade so it is the latest.

I have op25 installed just not working.

I do believe something is wrong in my TSV files. They are attached in a zip file.

I live in Carroll County, MD and this is where I got my information.
https://www.radioreference.com/apps/db/?ctid=1194

The NAC was already filled in from the default trunk.tsv file that came with the program. I have no idea what NAC # I should be using or how to figure that out.

It executes using either my RTL-SDR or my HackRF. I just cannot get it to execute correctly for my frequncies and to play any sound.

Any help would be appreciated.

Your trunk.tsv appears to be incorrectly formed.
Try this set of data files: https://drive.google.com/open?id=1Luff2OCFwVTzRkIvtQIb7sTE9ofGFqWV

Note: you generally only need to specify the primary control channel unless the system switches to the backup on a regular basis.

Graham
 

studysession

Member
Joined
Oct 19, 2018
Messages
41
Location
Carroll County, MD
Thank you -
Just tried your files and it gave a voice for like 3 words and then nothing. I am excited to see this work and the fact I got that was a great start.

So now my config are the files you gave me - any other help is appreciated.
Thanks
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Not a whole lot to go on without logs etc. It appears you are locked on to a control channel because the tsbk counter is non-zero. It should be counting up regularly/continuously.

Bear in mind that I configured your files with a whitelist using the tgids you'd originally included. This means that ONLY traffic on those specific tgids are going to play audio. For diagnostic purposes it may be more useful to temporarily eliminate the whitelist so that you can decode any/all traffic on the system. Simply remove the filename reference from trunk.tsv or make it an empty file.

Depending how things are working (or not) you may find it useful to increase the logging level (-v 10) in the op25.sh startup script. The output will be very verbose, but contains a wealth of information for debugging purposes in the file stderr.2
 

studysession

Member
Joined
Oct 19, 2018
Messages
41
Location
Carroll County, MD
Everything seems to be working except sound. I installed it on 2 systems now.

DELL Laptop
Installed: Ubuntu 18.04.1 LTS (This is the one you been helping me with)

Raspberry Pi 3
ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi (Tried this to see if it would be different)

The sound card works with everything else. Just no sound when using op25.

git clone https://github.com/boatbod/op25.git
cd op25
./install.sh

./rx.py --args "rtl=0" --gains 'lna:36' -S 1440000 -v 1 -q 0 -T trunk.tsv -2 2>stderr.2

### stderr.2
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.9
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
Using two-stage decimator for speed=1440000, decim=15/4 if1=96000 if2=24000
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[1], do_nocrypt[0]
1540071033.060336 Reconfiguring NAC from 0x000 to 0x661
1540071035.244063 voice update: tg(10304), freq(852450000), slot(-), prio(3)
1540071037.794575 voice update: tg(10304), freq(852450000), slot(-), prio(3)
1540071038.800508 voice update: tg(10304), freq(852450000), slot(-), prio(3)
1540071041.179736 voice update: tg(10306), freq(852450000), slot(-), prio(3)
1540071053.730639 voice update: tg(10306), freq(852450000), slot(-), prio(3)
1540071054.742098 voice update: tg(10306), freq(852450000), slot(-), prio(3)
1540071058.450291 voice update: tg(10306), freq(852450000), slot(-), prio(3)
1540071061.089497 voice update: tg(10305), freq(852475000), slot(-), prio(3)


Any advice would be awesome - thank you so much
 

dave3825

* * * * * * * * * * * *
Premium Subscriber
Joined
Feb 17, 2003
Messages
7,651
Location
Suffolk County NY
Not to familiar with those as I have cheap china **** dongles, an airspy mini and 3 nooelec dongles. The china crap, 1 is off by 77 ppm, and the other by 38ppm,. The airspy was dead on and the nooelec are 0.5 off but so close I never really had any trouble with them.

Ppm is a parts per million setting. Its like fine tune. Not all dongles are dead on freq. Some ore slightly off. So by knowing if your dongle is slightly off freq, and determining by how many ppm, that can help reception somewhat. Most sdr progs allow a ppm value to be set for dongles that are off freq. Op25 also allows for this but since I only use the airspy and nooelec's that are dead on, I do not enter a ppm.

If your setup is running, go with it. If you suspect your dongle may be off freq, try looking at this. https://davidnelson.me/?p=371


I am not a huge linux user but after the help of some very knowledgeable users on this site, I got ubuntu up and running with op25 (boatbod fork) , trunk recorder and gqrx. These linux guys really know their stuff.
 
Last edited:

studysession

Member
Joined
Oct 19, 2018
Messages
41
Location
Carroll County, MD
Thank you for the info

Now that I have it working with op25 now to expand to others. Truck anything is all new to me. I am good at Linux but really new to SDR
 
Status
Not open for further replies.
Top