Use radioddity and other radio codeplugs in linux command line
Posted on by riku
While browsing internet today i found this nice project called DMRCONFIG https://github.com/sergev/dmrconfig
Its suppose read/write codeplugs to GD77 or tyt radios.. as reading page i decided right away go test it.
To install i just run this commands:
apt install libusb-1.0-0-dev
libudev-dev
git clone https://github.com/sergev/dmrconfig
cd dmrconfig
make -j4
#optionally do make install, or manual copy bin file to /opt
After install i took my Radiodditty GD-77 and TYT MD 2017 typed command dmrconfig -r -t well it worked seamless, i was using C.H.I.P as linux computer.
here some pictures while reading codeplug. i havent tried writing any codeplug yet.. but it should work.
If having problems with compile:
/usr/bin/ld: cannot find -lusb-1.0
collect2: error: ld returned 1 exit status
Makefile:27: recipe for target ‘dmrconfig’ failed
make: *** [dmrconfig] Error 1
Open Makefile and remove “-Wl,-Bstatic” and “-Wl,-Bdynamic” flags
from
# Linux
ifeq ($(UNAME),Linux)
OBJS += hid-libusb.o
LIBS = -lpthread -ludev -lusb-1.0
endif
Lines are at the beginning of file.
And remember to make udev rules as adviced! Usb port needs to be user writable, (mode=666)