Can't install the OpenGD77 CPS

OpenGD77CPS
Post Reply
DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Can't install the OpenGD77 CPS

Post by DW7GDL » Tue May 14, 2024 7:53 am

I'm running Windows 10 as a guest virtual machine using VirtualBox in my Debian Bookworm host OS. My radio is a Retevis RT3S with GPS that I just received this morning. I was able to install the Retivis CPS and their firmware flashing utility. Those are able to connect to the radio, and I was able to download a backup (empty) codeplug and save it. I've also verified that I can flash the Retevis firmware.

I'm following the instructions at viewtopic.php?f=19&t=2380 but when I try to install the OpenGD77 CPS it stops at the "installing driver(s)..." stage. The mouse can still move in the Windows virtual machine but clicking in anything such as the start button is unresponsive, so for all practical purposes Windows is hung. I've tried the very latest CPS plus a slightly older one from April 21 and they both do the same thing.

How do I install the CPS so I can proceed to the next step?

User avatar
F1RMB
Posts: 2713
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: Can't install the OpenGD77 CPS

Post by F1RMB » Tue May 14, 2024 8:57 am

DW7GDL wrote:
Tue May 14, 2024 7:53 am
I'm running Windows 10 as a guest virtual machine using VirtualBox in my Debian Bookworm host OS. My radio is a Retevis RT3S with GPS that I just received this morning. I was able to install the Retivis CPS and their firmware flashing utility. Those are able to connect to the radio, and I was able to download a backup (empty) codeplug and save it. I've also verified that I can flash the Retevis firmware.

I'm following the instructions at viewtopic.php?f=19&t=2380 but when I try to install the OpenGD77 CPS it stops at the "installing driver(s)..." stage. The mouse can still move in the Windows virtual machine but clicking in anything such as the start button is unresponsive, so for all practical purposes Windows is hung. I've tried the very latest CPS plus a slightly older one from April 21 and they both do the same thing.

How do I install the CPS so I can proceed to the next step?
I'm also using Windows 10 in VirtualBox under LinuxMint.
Such unresponsive mouse/keyboard happens to me from time to time, as if another window got the focus, not the guest instance.
Sometimes, I can focus on my Mate desktop and switch back to the VM. Sometimes I'm stuck, needing to hard reboot the whole computer.


Cheer.
---
Daniel

DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Re: Can't install the OpenGD77 CPS

Post by DW7GDL » Tue May 14, 2024 9:32 am

The guest OS isn't losing mouse focus. When I try to install or run the OpenGD77 CPS I have a white Windows mouse cursor with a blue circle next to it, and apart from being able to move the cursor the guest OS, Windows, stops responding. The host OS is just fine and the mouse works normally there, that's how I'm able to force close VirtualBox and so a clean reboot of the computer. Moving the cursor focus between the host and guest only returns it to the white one with the blue circle. (My mouse cursor in Linux is white with a black border and a red halo around it to make it easy to see against any background color.)

I gave the guest OS 8GB of my 16GB of ram and a 50GB virtual hard drive so it shouldn't be memory or disk space issues either. I have no idea how to move past this to get OpenGD77 installed on the radio.

User avatar
F1RMB
Posts: 2713
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: Can't install the OpenGD77 CPS

Post by F1RMB » Tue May 14, 2024 9:41 am

DW7GDL wrote:
Tue May 14, 2024 9:32 am
The guest OS isn't losing mouse focus. When I try to install or run the OpenGD77 CPS I have a white Windows mouse cursor with a blue circle next to it, and apart from being able to move the cursor the guest OS, Windows, stops responding. The host OS is just fine and the mouse works normally there, that's how I'm able to force close VirtualBox and so a clean reboot of the computer. Moving the cursor focus between the host and guest only returns it to the white one with the blue circle. (My mouse cursor in Linux is white with a black border and a red halo around it to make it easy to see against any background color.)

I gave the guest OS 8GB of my 16GB of ram and a 50GB virtual hard drive so it shouldn't be memory or disk space issues either. I have no idea how to move past this to get OpenGD77 installed on the radio.
Okay.
Well, you could also ask the installer to not install the serial driver.
BTW, does windows display this window:
Screenshot at 2024-05-14 11-43-02.png
Screenshot at 2024-05-14 11-43-02.png (21.05 KiB) Viewed 671 times

DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Re: Can't install the OpenGD77 CPS

Post by DW7GDL » Tue May 14, 2024 10:01 am

Yes, I get that window.

I tried reinstalling the CPS, this time unchecking the two boxes to install the USB driver and start the CPS. Afterward when I manually tried to launch the CPS I got the same mouse cursor/blue circle combo and nothing else happened.

I just double checked my computer's UEFI settings and virtualization is enabled. The computer is a Beelink U59 mini PC with an 11th generation Celeron 5905 quad core processor and 16GB of (I assume DDR4) RAM.

DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Re: Can't install the OpenGD77 CPS

Post by DW7GDL » Tue May 14, 2024 10:31 am

Aha! I reinstalled the CPS but this time chose portable installation, not normal installation and finally the GUI came up when I launched the CPS!

After thrashing around with Windows all afternoon which always makes me grumpy I think it would be wiser to wait until another day to continue with the installation.

73 and thanks for replying to my post.

DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Re: Can't install the OpenGD77 CPS

Post by DW7GDL » Wed May 15, 2024 2:25 am

I got OpenGD77 installed on the radio, and what's more I solved the issue of the CPS not installing in normal mode and the OpenGD COM port Driver not installing. I had to enable COM1 in VirtualBox Manager, set the port mode as Host Device, and map it to /dev/ttyACM0 which was the new device that appeared when I connected the radio to my PC. However, now I'm having a new issue: the CPS can no longer connect to the radio (after uninstalling the portable version of the CPS and installing the normal version plus the driver), so I can't backup the flash. I'm stuck until I can get it backed up so I can install the original firmware later if I want to. I get the same "error connecting to the radio" when I try to read from the radio in the Program menu so I'm not going to be able to write a code plug and upload it.

BTW, the default Windows settings for the com port are 9600bps, 8 data bits, no parity, 1 stop bit and no flow control. Could this be the issue?

User avatar
F1RMB
Posts: 2713
Joined: Sat Nov 16, 2019 5:42 am
Location: Grenoble, France

Re: Can't install the OpenGD77 CPS

Post by F1RMB » Wed May 15, 2024 4:32 am

Hi,

Don't bother to predefne a com port.
Use the following menu:
usb_menu.png
usb_menu.png (243.51 KiB) Viewed 490 times
Depending of the running mode of the device (bootloader or "normal"), a new device is listed (AnyRoad or Open<xxxx> Transceiver).
I guess you already have the "VirtualBox Extension Pack" installed.

Cheers.

DW7GDL
Posts: 21
Joined: Mon May 06, 2024 5:46 am

Re: Can't install the OpenGD77 CPS

Post by DW7GDL » Wed May 15, 2024 6:25 am

F1RMB:
Bedad, that did it! I'd set up a generic USB port in VirtualBox Manager that was supposed to pass everything connected to USB to the guest OS, but I deleted it and added a new one just for the radio. Thank you!

Now I have to figure out how to write codeplugs and how to change the screen to white text, black background. I think I downloaded an OpenGD77 User Manual from Github so I'll have to read it.

73!

SA0BUX
Posts: 605
Joined: Tue Jul 05, 2022 8:50 am
Location: JO99ah, Stockholm, Sweden
Contact:

Re: Can't install the OpenGD77 CPS

Post by SA0BUX » Wed May 15, 2024 1:18 pm

DW7GDL wrote:
Wed May 15, 2024 6:25 am
F1RMB:
Bedad, that did it! I'd set up a generic USB port in VirtualBox Manager that was supposed to pass everything connected to USB to the guest OS, but I deleted it and added a new one just for the radio. Thank you!

Now I have to figure out how to write codeplugs and how to change the screen to white text, black background. I think I downloaded an OpenGD77 User Manual from Github so I'll have to read it.

73!
If you want inverted screen colours ,you can change in Options->Display Options->Screen: to Inverted.

But I guess it's also possible to change it in the "Theme Editor"
Last edited by SA0BUX on Wed May 15, 2024 1:27 pm, edited 1 time in total.

Post Reply