Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2nd radio no communication bug #355

Open
n4ogw opened this issue Jun 18, 2024 · 0 comments
Open

2nd radio no communication bug #355

n4ogw opened this issue Jun 18, 2024 · 0 comments

Comments

@n4ogw
Copy link

n4ogw commented Jun 18, 2024

I am using gpredict on gentoo. The gentoo versions of gpredict prior to 12/24/2023 work fine with two radios, each running a separate rigctld. Newer versions of gpredict (including the latest code from github, built from source) do not. The first radio works fine. But watching the -vvvvv output from rigctld for the second radio, gpredict never connects to the radio.

This bug was introduced in commit acf6061 on 12/24/2023 "Add get_vfos and also reset conf2 so rig gets set up again on reopening". The problem is line 1006 of gtk-rig-ctrl.c in rig_engaged_cb( ):

ctrl->conf2 = NULL;

This invalidates the 2nd radio configuration whenever radio control is engaged. The result is that the 2nd radio is never opened.

After removing this line the 2nd radio works again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant