Page 1 of 1

CPS works great in virtual box

Posted: Thu Nov 19, 2020 7:48 pm
by W0RMT
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.

Re: CPS works great in virtual box

Posted: Tue Dec 01, 2020 5:17 pm
by kt4lh
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.

Re: CPS works great in virtual box

Posted: Wed Dec 02, 2020 12:17 am
by VK3KYY
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.

Re: CPS works great in virtual box

Posted: Wed Dec 02, 2020 1:26 pm
by W0RMT
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

Re: CPS works great in virtual box

Posted: Wed Dec 02, 2020 4:53 pm
by kt4lh
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. :)

Re: CPS works great in virtual box

Posted: Wed Dec 02, 2020 4:54 pm
by kt4lh
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.

Re: CPS works great in virtual box

Posted: Thu Dec 03, 2020 8:50 am
by oh1fss
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

Re: CPS works great in virtual box

Posted: Thu Dec 03, 2020 9:59 am
by VK3KYY
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

Re: CPS works great in virtual box

Posted: Tue Dec 08, 2020 8:57 am
by oe7drt
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.