Configuration utility for DMR radios
DMRconfig is a utility for programming digital radios via USB programming cable.
Read codeplug from the radio and save it to file ‘device.img’,
and also save text configuration to ‘device.conf’:
dmrconfig -r [-t]
Write codeplug to the radio:
dmrconfig -w [-t] file.img
Configure the radio from text file.
Previous codeplug is saved to ‘backup.img’:
dmrconfig -c [-t] file.conf
Show configuration from the codeplug file:
dmrconfig file.img
Apply configuration from text file to the codeplug file:
dmrconfig -c file.img file.conf
Update database of contacts from CSV file:
dmrconfig -u [-t] file.csv
Option -t enables tracing of USB protocol.
Whenever possible use the dmrconfig
package provided from by Linux distribution
If you want to compile dmrconfig
, follow these instructions:
sudo apt install git build-essential pkg-config libusb-1.0-0-dev libudev-dev
sudo pacman -S git base-devel libusb
brew install pkg-config libusb
git clone https://github.com/sergev/dmrconfig
make
sudo make install
On Linux, a permission to access USB device is required.
It’s possible to run dmrconfig as root, like “sudo dmrconfig”,
but it’s safer to enable access for users.
Create a file /etc/udev/rules.d/99-dmr.rules with the following contents:
# TYT MD-UV380
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="666"
# Baofeng RD-5R, TD-5R, DM-1801
SUBSYSTEM=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE="666"
# Anytone D868UV/D878UV/D878UV2: ignore this device in Modem Manager
ATTRS{idVendor}=="28e9" ATTRS{idProduct}=="018a", ENV{ID_MM_DEVICE_IGNORE}="1"
To activate it, run:
sudo udevadm control --reload-rules
Then re-attach the USB cable to the radio.
Sources are distributed freely under the terms of BSD 3 license.
For more information see the LICENSE file
DMRconfig was created by Serge Vakulenko KK6ABQ.
It is currently maintained by the OpenRTX developers.