Linux Build Boatbod Op25

Status
Not open for further replies.

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
Taking first plunge into sdr. Computer doesn't seem to have enough horsepower to run the latest build of Ubantu. Was able to get Linux Mint 19.1 to run, but getting "package not found" errors when installing. Also needs a later build of gnu radio. Is there another version of Linux with less hardware requirements that will fly?
Thanks
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,213
Reaction score
464
Location
NE Wisconsin
Taking first plunge into sdr. Computer doesn't seem to have enough horsepower to run the latest build of Ubantu.

You shouldn't have any issues installing Mint or Ubuntu and building op25. Are you trying to install and run the Linux OS natively, or are you
attempting to install Linux as a Virtual Machine on a Windows PC?
 

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
So I redid the machine with a later build of Mint and reinstalled op25. I'm now seeing active talk groups. Can someone point me to the procedure to route the sdr audio to the sound card?
Thanks
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,213
Reaction score
464
Location
NE Wisconsin
Can someone point me to the procedure to route the sdr audio to the sound card?
You'll have to provide a few details if you are looking for help and assistance.

What repo did you install? IE: Boatbod or the Osmocom
What application: IE: rx.py or multi_rx.py

It would be very helpful to post your rx.py command line or json file.
 

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
Using boatbod. RR not allowing attachment of json file. Here's the contents

{
"channels": [
{
"name": "p25",
"device": "",
"demod_type": "cqpsk",
"cqpsk_tracking": true,
"tracking_threshold": 120,
"tracking_limit": 2400,
"tracking_feedback": 0.75,
"destination": "udp://127.0.0.1:56120",
"excess_bw": 0.2,
"filter_type": "rc",
"frequency": 460412500,
"if_rate": 24000,
"plot": "symbol",
"symbol_rate": 4800,
"raw_output": "",
"raw_input": "",
"raw_seek": 0,
"enable_analog": "off",
"nbfm_deviation": 4000,
"nbfm_squelch": -60

},
{
"name": "ysf",
"device": "device_0",
"demod_type": "fsk4",
"cqpsk_tracking": false,
"destination": "file:///tmp/out1.raw",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 460500000,
"if_rate": 24000,
"plot": "datascope",
"symbol_rate": 4800,
"raw_output": "",
"raw_input": "",
"enable_analog": "off",
"nbfm_deviation": 4000,
"nbfm_squelch": -60
},
{
"name": "dmr",
"device": "device_1",
"demod_type": "fsk4",
"cqpsk_tracking": false,
"destination": "udp://127.0.0.1:56122",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 460050000,
"if_rate": 24000,
"plot": "symbol",
"symbol_rate": 4800,
"raw_output": "",
"raw_input": "",
"enable_analog": "off",
"nbfm_deviation": 4000,
"nbfm_squelch": -60
}
],
"devices": [
{
"args": "rtl=0",
"frequency": 460100000,
"gains": "lna:39",
"gain_mode": false,
"name": "device_0",
"offset": 0,
"ppm": 0.0,
"rate": 1000000,
"usable_bw_pct": 0.85,
"tunable": false
},
{
"args": "rtl=1",
"frequency": 464100000,
"gains": "lna:39",
"name": "device_1",
"offset": 0,
"ppm": 0.0,
"rate": 1000000,
"usable_bw_pct": 0.85,
"tunable": true
}
],
"trunking": {
"module": "",
"chans": [
{
"lcn": 1,
"frequency": 111222222,
"cc": 0
},
{
"lcn": 2,
"frequency": 111333333,
"cc": 0
}
]
},
"metadata": {
"module": "icemeta.py",
"streams": [
{
"stream_name": "stream_0",
"meta_format_idle": "[idle]",
"meta_format_tgid": "[%TGID%]",
"meta_format_tag": "[%TGID%] %TAG%",
"meta_format_rid": "@ [%RID%]",
"meta_format_rtag": "@ [%RID%] %RTAG%",
"icecastServerAddress": "your_stream_host_and_port",
"icecastMountpoint": "your_mountpoint_name",
"icecastPass": "your_password",
"icecastMountExt": ".xspf",
"delay": 0.0
},
{
"stream_name": "stream_1",
"meta_format_idle": "[idle]",
"meta_format_tgid": "[%TGID%]",
"meta_format_tag": "[%TGID%] %TAG%",
"meta_format_rid": " @ [%RID%]",
"meta_format_rtag": " @ [%RID%] %RTAG%",
"icecastServerAddress": "your_second stream_host_and_port",
"icecastMountpoint": "your_second_mountpoint_name",
"icecastPass": "your_second_password",
"icecastMountExt": ".xspf",
"delay": 0.0
}
]
},
"audio": {
"module": "sockaudio.py",
"instances": [
{
"instance_name": "audio0",
"device_name": "default",
"udp_port": 23456,
"audio_gain": 1.0,
"number_channels": 1
}
]
},
"terminal": {
"module": "terminal.py",
"terminal_type": "curses",
"#terminal_type": "http:127.0.0.1:8080",
"terminal_timeout": 5.0,
"default_channel": "p25",
"curses_plot_interval": 0.2,
"http_plot_interval": 1.0,
"http_plot_directory": "../www/images",
"tuning_step_large": 1200,
"tuning_step_small": 100
}
}
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,733
Reaction score
1,149
Location
Talbot Co, MD
That's the default cfg.json file, so I'm going to take a guess it's not what you are using to run the app. Please post your command line, and if it starts with ./rx.py, please also post the trunk.tsv file that you are using. Thanks.
 

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
using ./rx.py --args 'rtl' -N 'LNA:47' -S 25000 -q 0 -O hw:1,0 -f 856.7375e6 -o 17e3 -X -T trunk.tsv -V -2 -U 2> stderr-stream0.2
 

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
Changed the control channel. What is the purpose of e6 following the frequency?
Still no audio. Copy of trunk.tsv with ext changed to txt for upload to RR

./rx.py --args 'rtl' -N 'LNA:47' -S 25000 -q 0 -O hw:1,0 -f 851.1375e6 -o 17e3 -X -T trunk.tsv -V -2 -U 2> stderr-stream0.2
 

Attachments

  • trunk.txt
    162 bytes · Views: 8

trimmerj

KD3DID
Joined
Jan 20, 2004
Messages
447
Reaction score
69
Location
Pasadena, MD
From logfile

using ALSA sound system
audio device: hw:1,0
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 1
failed to open audio device: hw:1,0
Listening on 127.0.0.1:23456
audio closing
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,733
Reaction score
1,149
Location
Talbot Co, MD
Your sample rate is too low (-S 25000). Minimum is generally "-S 1000000"
Also, you generally don't need to specify the destination audio device, so try dropping the "-O hw:1,0".
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,733
Reaction score
1,149
Location
Talbot Co, MD
Will OP25 work with Ubuntu 24.04 on a Raspberry Pi5 with DragonOS??
I personally own an RPi running the arm64 flavor of Ubuntu 24.04 that runs op25 24x7. I've never tried DragonOS so I can't speak directly to that, but if it's debian/ubuntu based it should work. That said, the machine does lack horsepower, so although op25 itself runs flawlessly, web browsing can be a slooow experience because firefox runs in a snap container in 24.04
 

LubeckTech

Member
Premium Subscriber
Joined
Jan 22, 2010
Messages
229
Reaction score
7
Location
Parkersburg, WV
Thanks!

I have it running on a couple of PCs with DragonOS but am having trouble making it work on the Pi5 with Dragon OS. I reinstalled DragonOS on the Pi last night and will reinstall it after work tonight.
 
Status
Not open for further replies.
Top