CPS on Linux ... again!

OpenGD77CPS
Post Reply
ok1pt
Posts: 167
Joined: Mon Jul 20, 2020 3:38 am

CPS on Linux ... again!

Post by ok1pt » Tue Feb 08, 2022 6:39 pm

Hi!
I would like to ask for explanation of the comm protocol between CPS and the radio (in normal "codeplug" mode, not in upgrade mode). The problem is, that we (I with my friend) are able to perfectly run CPS on Linux (using wine), but it can't communicate with the radio.
AFAIK, when the radio is connected to the USB port, a new serial communication device appears. It's visible from the kernel log:
Feb 8 17:37:21 log kernel: usb 2-1.3: new full-speed USB device number 31 using ehci-pci
Feb 8 17:37:21 log kernel: usb 2-1.3: New USB device found, idVendor=1fc9, idProduct=0094, bcdDevice= 1.01
Feb 8 17:37:21 log kernel: usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 8 17:37:21 log kernel: usb 2-1.3: Product: OpenGD77 Transceiver
Feb 8 17:37:21 log kernel: usb 2-1.3: Manufacturer: www.opengd77.com
Feb 8 17:37:21 log kernel: cdc_acm 2-1.3:1.0: ttyACM0: USB ACM device
Feb 8 17:37:23 log kernel: usb 2-1.3: reset full-speed USB device number 31 using ehci-pci
So, Linux kernel recognizes the radio (it's even visible in the dmesg itself) and properly creates /dev/ttyACM0.
As the next step, we created an obvious link in wine's dosdevices directory, mapping /dev/ttyACM0 to COM3.
Of course, using udev, we also changed permissions for the USB device as well as for the ttyACM0 port.
Then, we started CPS.
The GUI is perfectly working, but it's not communicating with the radio.
I don't understand, what's happening:
- CPS uses COM port for accessing the radio.
- wine supplies the COM port to the CPS.
So, I believe, that there's no need to use a special driver - COM port is there, for the CPS it should look lhat the windows driver is installed (I believe that the windows driver doesn't do anything more than creating the COM port, which is natively replaced by the recent Linux kernels as well).
We would like to solve this issue, because it looks like the last one preventing us from running the CPS on Linux.

WIth regards / 73
Pavel

LU3IBM
Posts: 2
Joined: Tue Sep 19, 2023 1:04 am

Re: CPS on Linux ... again!

Post by LU3IBM » Fri Oct 20, 2023 8:51 pm

Hello ok1pt!

Do you have any updates about this?

I use Linux Mint and I'm not able to use the CPS software. Everything works fine, but the com ports are not recognized.

Thank you very much in advance.

LU3IBM

UB6LUM
Posts: 5
Joined: Fri Oct 14, 2022 4:16 pm

Re: CPS on Linux ... again!

Post by UB6LUM » Tue Oct 24, 2023 11:57 am

viewtopic.php?f=12&t=2426


Just checked again from scratch, works like a charm.

Have fun!

Post Reply