Yet another CPS for Linux and MacOS X

OpenGD77CPS
DM3MAT
Posts: 10
Joined: Fri Jul 10, 2020 4:41 pm

Yet another CPS for Linux and MacOS X

Post by DM3MAT » Fri Jan 15, 2021 12:49 pm

Greetings!

I've added OpenGD77 support for my Linux/Mac CPS https://dm3mat.darc.de/qdmr. This CPS aims at providing a common CPS for various radios, hence the UI is not directly tailored for OpenGD77. However, it allows to create, read, edit, write code-plugs for OpenGD77. The code-plugs are stored in a human-readable text format and are universal for all supported radios.

There are two programs:
  • qdmr is the graphical user interface, that tries to be a wee more user friendly that those provided by the manufacturers. It uses the global DMR ID DB to provide auto-completion for creating contacts and uses https://repeatermap.de to help with creating channels for the code-plug.
  • dmrconf is a command line tool to read/write code-plugs in text format.
For now, I only provide binary packages for Ubuntu Linux and MacOS X https://github.com/hmatuschek/qdmr#install (the Snap package cannot access the serial port due to the strict confinement of Snap packages). So, if you are running a non-Debian Linux, you may need to compile the application from the sources at https://github.com/hmatuschek/qdmr

This project is quiet big for a one-man-show, hence I would be very grateful for any suggestion concerning the usability or bugs you find.

Best & 73
Hannes, DM3MAT

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Yet another CPS for Linux and MacOS X

Post by VK3KYY » Fri Jan 15, 2021 9:54 pm

Thanks Hannes

Can you confirm that this is the github repository for the source code

https://github.com/hmatuschek/qdmr

DM3MAT
Posts: 10
Joined: Fri Jul 10, 2020 4:41 pm

Re: Yet another CPS for Linux and MacOS X

Post by DM3MAT » Fri Jan 15, 2021 9:56 pm

Yes, it is.

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Yet another CPS for Linux and MacOS X

Post by VK3KYY » Sat Jan 16, 2021 10:57 am

Thanks

User avatar
DU2XXR
Posts: 191
Joined: Thu Nov 28, 2019 5:25 am
Location: Philippines
Contact:

Re: Yet another CPS for Linux and MacOS X

Post by DU2XXR » Sun Jan 17, 2021 4:02 pm

Thank you for this. I do have dmrconfig on Mac, although it does not support openGD77.

oh1fss
Posts: 74
Joined: Mon May 04, 2020 11:53 am

Re: Yet another CPS for Linux and MacOS X

Post by oh1fss » Mon Jan 18, 2021 6:04 pm

Thanks, Hannes!

I have Fedora 33, so I followed your instructions on the Github:

Code: Select all

[root@felix ~]# dnf install libusb-devel qt5-qtlocation-devel qt5-qtserialport-devel qt5-qttools-static qt5-qttools-devel qt5-qtbase-devel gcc-c++ git
[jj@felix build]$ git clone https://github.com/hmatuschek/qdmr.git
[jj@felix build]$ cd qdmr/
[jj@felix build]$ mkdir build
[jj@felix build]$ cd build/
[jj@felix build]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/

[jj@felix build]$ make
[jj@felix build]$ sudo make install
I was missing package qt5-qttools-static. That package name is misleading, it is not a statically linked version! Also I modified CMAKE_INSTALL_PREFIX to /usr/local. It's a pity we don't have a .rpm package for QDMR!

Then I started QDMR and downloaded codeplug from my Baofeng DM-5R Plus. At first glance it seems to be OK. Then I saved it as a .conf file. It's nice that the .conf format is human readable!

This looks very promising!

73, Juhani OH1FSS

DM3MAT
Posts: 10
Joined: Fri Jul 10, 2020 4:41 pm

Re: Yet another CPS for Linux and MacOS X

Post by DM3MAT » Mon Jan 18, 2021 6:46 pm

Thanks for the information! I'll update the documentation accordingly.

Unfortunately, building binary packages for several distributions is quiet cumbersome. Hence, I only provide packages for Ubuntu right now. Ideally, the package may be added to the common distributions. But this usually takes a long time if it happens at all.

It is also a pity that the Snap packages cannot access serial ports easily. Although not ideal, it would allow to distribute a single binary package for almost all distributions.

Anyway, thanks for the feedback
Hannes, DM3MAT

DM3MAT
Posts: 10
Joined: Fri Jul 10, 2020 4:41 pm

Re: On "Profiteering" and Free Software

Post by DM3MAT » Mon Jan 18, 2021 7:00 pm

4I1RAC wrote:
Sun Jan 17, 2021 4:09 pm
Last week, I helped a fellow ham program channels on his openDM1801 radio (plus updating the firmware) and TYT MD390. We spent around 4 hours, since programming talkgroups on the TYT was a big headache--and that's using text-based .conf editing on dmrconfig (but first using the very slow TYT CPS GUI and then doing copy-paste afterward).
This is one of my motivations to do this project. I want to allow HAMs to share code-plugs. Although a "generic" code-plug will always be a compromise between complexity and specificity it should save a lot of time.

However, to be actually useful I would need to support much more radios. Fortunately, manufacturers are lazy and the code-plugs are quiet similar between models and even manufacturers. So I do not need to reverseengineer every radio model from scratch. However, I still need to get my hands on these devices to test the implementation. Also dmrconfig is a good source for starting the implementation.

VK3KYY
Posts: 7478
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: Yet another CPS for Linux and MacOS X

Post by VK3KYY » Mon Jan 18, 2021 8:16 pm

I thought Snap packages were avoided by the open source community, because they are a road to proprietary lock-in

DM3MAT
Posts: 10
Joined: Fri Jul 10, 2020 4:41 pm

Re: Yet another CPS for Linux and MacOS X

Post by DM3MAT » Mon Jan 18, 2021 9:11 pm

Maybe. But they could provide a means for me to distribute binaries that run under several distributions. The lack of access to serial ports, however, makes that approach almost useless.

Post Reply