Linux is my game

New users must post here first and let us know a little bit about yourself.
W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Linux is my game

Post by W9YA » Sun Sep 06, 2020 1:43 pm

Hey all;

Been a ham including playing with computers since the mid 1960's. Been paying attention to this project for a year or so and now seemed like a good time to "jump-in"; SO.... I just now ordered a gd-77.

Are there any "gotsha's" with using this with archlinux ? <- My intention is to use the gdtransfer & linux-firmware-loader along with the opengd77-cps/wine combination on a laptop.

TIA for reading this far and VY 73's de "baab" w9ya

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

Re: Linux is my game

Post by F1RMB » Sun Sep 06, 2020 3:38 pm

Hi,
W9YA wrote:
Sun Sep 06, 2020 1:43 pm
Hey all;

Been a ham including playing with computers since the mid 1960's. Been paying attention to this project for a year or so and now seemed like a good time to "jump-in"; SO.... I just now ordered a gd-77.

Are there any "gotsha's" with using this with archlinux ? <- My intention is to use the gdtransfer & linux-firmware-loader along with the opengd77-cps/wine combination on a laptop.

TIA for reading this far and VY 73's de "baab" w9ya
You can flash the firmware under Linux (using the Mono or the Python flasher).
Regarding the CPS, forget about Wine, it won't work. I'm using a VirtualBox VM for this.


Cheers.
---
Daniel

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Linux is my game

Post by W9YA » Sun Sep 06, 2020 5:46 pm

Oh...I guess I am confused. I thought I could use gd77transfer (the python-script) to move the cps's file output. This doesn't work ?

TIA es vy 73 om de "baab" w9ya

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

Re: Linux is my game

Post by F1RMB » Sun Sep 06, 2020 5:59 pm

W9YA wrote:
Sun Sep 06, 2020 5:46 pm
Oh...I guess I am confused. I thought I could use gd77transfer (the python-script) to move the cps's file output. This doesn't work ?

TIA es vy 73 om de "baab" w9ya
Oh, I see. Never tried the gd77transfert python script.
BTW, here is a small script I wrote last year when I tried to make the CPS working with Wine (but communication doesn't work anyway). This script handles the configuration of Wine and the installation of the required modules, if needed, otherwise it starts the CPS in its Wine "session".


Cheers.
---
Daniel
Attachments
GD77_cps.sh.zip
(3.33 KiB) Downloaded 111 times

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Linux is my game

Post by W9YA » Sun Sep 06, 2020 8:09 pm

Um....I may already have opencps installed....When I get back to the shack, I'll test it for making an output file.

Wow, this IS a friendly group !

es vy 73 om de "baab" w9ya

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Linux is my game

Post by W9YA » Sun Sep 06, 2020 10:31 pm

Got back to the shack...and yeppers it sure seems like I can save a cps file from the opengd77cps software running under wine. So I guess things are up to the gd77transfer.py stuff...and the radio of course....hi hi.

Thanks for the QUICK replies and VY 73 om de "baab" w9ya

P.S... The wine install for archlinux is very complete. I've used it for other things besides this. Seems about as good as any wine package/environment in the *nix world. But then..."wadda I know anyways ??"

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

Re: Linux is my game

Post by F1RMB » Mon Sep 07, 2020 2:37 pm

Hi,

I've edited my previous post to include the script.
Please note that using Wine devel (5.16 version) doesn't work, you better use latest stable (5.0.2).


Cheers.
---
Daniel

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Linux is my game

Post by W9YA » Mon Sep 07, 2020 11:52 pm

Hey again OM Daniel;

Um.... I looked at the script, and alas I am running archlinux (so it will not work) ! ....Hi Hi

But, I have some good news OM. (Drum roll please... !!!!)

So far, on my just delivered (earlier today) radio, I am able to use the opencps under wine to manipulate codeplugs, plus load the replacment (opengd77) firmware using FirmwareLoader-Linux.exe (using mono), AND write codeplugs with gd77tranfer.py. (I will have to check read, but I am pretty sure that will work too). I used the archlinux specific udev rules from the opengd77 git repo.

I am also using wine 5.16.1, which is working a.o.k. (No problems so far.)
Here's a dump of the relevant versioning info:

[bfinch@parrot ~]$ pacman -Q|grep wine
wine 5.16-1
wine-gecko 2.47.1-1
wine-mono 5.1.0-1
winetricks 20200412-1
[bfinch@parrot ~]$ pacman -Q|grep mono
mono 6.10.0.104-1
wine-mono 5.1.0-1
[bfinch@parrot ~]$

*** Interestingly, I did nothing in particular to use these tools, wine, and mono. The ONLY trick was using mono to run FirmwareLoader-Linux.exe, i.e. I installed mono and then ran 'mono FirmwareLoader-Linux.exe'. Worked excellently.

OH YEAH; I'm using the most recent stable-release.

Thank you again; you have been VERY friendly Daniel AND I appreciate the feedback.

es VY 73 OM de "baab" w9ya

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

Re: Linux is my game

Post by oh1fss » Tue Sep 08, 2020 8:18 pm

I have used GD77transfer.py to upload codeplugs to several GD-77 and DM-5R+ radios without problems.

My latest version is attached in this post:

Re: Read/write GD-77 codeplug in Linux in Python 3 (experimental)

There is also another script, gd77xfer made by LZ1CK. I have not tried it.

W9YA
Posts: 56
Joined: Sun Sep 06, 2020 4:16 am
Location: DM65pd38
Contact:

Re: Linux is my game

Post by W9YA » Wed Sep 09, 2020 12:03 am

Yep....that's what I'm using ! Many thanks for this worthy tool.

(The only tool that's missing is something to r/w the eeprom, flash, configration data et al.)

Anyways, I'm having FUN, and that is the point and the goal.

es vy 73 om de "baab" w9ya

Post Reply