CPS works great in virtual box

OpenGD77CPS
Post Reply
User avatar
W0RMT
Posts: 178
Joined: Sat Nov 16, 2019 12:45 pm
Location: Louisville, CO USA

CPS works great in virtual box

Post by W0RMT » Thu Nov 19, 2020 7:48 pm

Hey folks- just a quick note to say that the CPS works flawlessly within a Win10 Virtual Box in Linux. I'm using PopOS (based on Ubuntu) and I am running Virtual Box 6.1 with a Win10 install. Once you filter for the proper USB ports (including the one for FW update mode) in the virtual machine settings it's all good.

kt4lh
Posts: 272
Joined: Sun Jan 12, 2020 4:27 am

Re: CPS works great in virtual box

Post by kt4lh » Tue Dec 01, 2020 5:17 pm

I have used it in a VM for a few years now, along with a few other radio programming software that only have Windows options. I never have any issues programming radios, even updating firmware, surprisingly.. Although I would generally suggest not doing firmware that way, as when the device falls off the USB bus the VM might not pick it back up and fail.

My VM is super old, so it's Win 7.. running in kvm/qemu, managed by libvirt.

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

Re: CPS works great in virtual box

Post by VK3KYY » Wed Dec 02, 2020 12:17 am

There is a python script someone posted to the forum, which can upload the codeplug on Linux machines.

But I don't currently have a link to it. You'll need to track it down.

User avatar
W0RMT
Posts: 178
Joined: Sat Nov 16, 2019 12:45 pm
Location: Louisville, CO USA

Re: CPS works great in virtual box

Post by W0RMT » Wed Dec 02, 2020 1:26 pm

I haven't had any issues with FW upgrades using my Virtual Box machine. I've done this on at least 3 different radios and their respective CPS. And I haven't seen my time where the connected devices "fall off" USB. But ymmy of course

kt4lh
Posts: 272
Joined: Sun Jan 12, 2020 4:27 am

Re: CPS works great in virtual box

Post by kt4lh » Wed Dec 02, 2020 4:53 pm

VK3KYY wrote:
Wed Dec 02, 2020 12:17 am
There is a python script someone posted to the forum, which can upload the codeplug on Linux machines.

But I don't currently have a link to it. You'll need to track it down.
Yep, gd77xfer It does work to download/upload binary or yml. Just would be nice to have a GUI for it. :)

kt4lh
Posts: 272
Joined: Sun Jan 12, 2020 4:27 am

Re: CPS works great in virtual box

Post by kt4lh » Wed Dec 02, 2020 4:54 pm

W0RMT wrote:
Wed Dec 02, 2020 1:26 pm
I haven't had any issues with FW upgrades using my Virtual Box machine. I've done this on at least 3 different radios and their respective CPS. And I haven't seen my time where the connected devices "fall off" USB. But ymmy of course
I should have been more specific, I have also not had any issues with radios as they generally are just fire and forget updates. I've had other devices that update multiple things, such as a bootloader, the main code, etc, in pieces and I've had that fail midway because the device disappears on it. But no radios.

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

Re: CPS works great in virtual box

Post by oh1fss » Thu Dec 03, 2020 8:50 am

VK3KYY wrote:
Wed Dec 02, 2020 12:17 am
There is a python script someone posted to the forum, which can upload the codeplug on Linux machines.

But I don't currently have a link to it. You'll need to track it down.
There are two scripts gd77xfer and GD77transfer. You can find the latest GD77transfer here:

http://opengd77.com/viewtopic.php?f=12& ... =40#p12378

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

Re: CPS works great in virtual box

Post by VK3KYY » Thu Dec 03, 2020 9:59 am

oh1fss wrote:
Thu Dec 03, 2020 8:50 am
VK3KYY wrote:
Wed Dec 02, 2020 12:17 am
There is a python script someone posted to the forum, which can upload the codeplug on Linux machines.

But I don't currently have a link to it. You'll need to track it down.
There are two scripts gd77xfer and GD77transfer. You can find the latest GD77transfer here:

http://opengd77.com/viewtopic.php?f=12& ... =40#p12378
Thanks

oe7drt
Posts: 5
Joined: Sat Oct 17, 2020 9:04 am

Re: CPS works great in virtual box

Post by oe7drt » Tue Dec 08, 2020 8:57 am

I confirm this working on VirtualBox on a MacBook - although the Mac has some problems with the USB port besides the power supply connector. So the mac uses only one USB port :evil: :roll:

But I had to enable the macOS "system protection" (don't know the correct technical word for this) I had to enable this via the recovery mode at startup by pressing CMD+R when booting, then in a terminal I enabled this via

Code: Select all

csrutil enable
:!: Note, the start of the VM has happened when I updated the macOS to version 11 Big Sur.

Post Reply