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

FT-746R not releasing with gpredict #1187

Closed
mdblack98 opened this issue Dec 13, 2022 · 2 comments
Closed

FT-746R not releasing with gpredict #1187

mdblack98 opened this issue Dec 13, 2022 · 2 comments
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. fixed Issue has been fixed Gpredict Bugs affecting Gpredict operations
Milestone

Comments

@mdblack98
Copy link
Contributor

Anyway, invoking it thus... (From a bash script)
~/Local/bin/rigctld -m1010 -R -T localhost -t 50736 -r /dev/ttyFT736 -s 4800 &

(Running in the test build folder)

I still get control of the radio OK when "Engaging" it in Gpredict, but when "Disengaging" the radio still does not get released from CAT control. :-( That then needs a power cycle of the radio to regain front panel control.

With Htop running in an independent terminal, I can see one instance of rigctld when it is first loaded, before my Python script is started, and later Gpredict also started.

When the Gpredict user later "Engages" the radio, a second instance/job of rigctld starts, & the radio becomes controlled by the PC and runs fine. (But the user is locked out of the radio's front panel for many functions other than level controls. These older Yaesu's were a bit weird...)

When Gpredict's user "Disengages" the radio (to change to a different satellite for example) that second instance of rigctld vanishes, but the radio stays locked as it has not been released from CAT control, when using the 4.x Hamlib code. Using Bills 3.3 version rigctld code, the radio is released just fine.

@mdblack98 mdblack98 added bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. Gpredict Bugs affecting Gpredict operations labels Dec 13, 2022
@mdblack98 mdblack98 added this to the 4.5.2 milestone Dec 13, 2022
mdblack98 added a commit that referenced this issue Dec 13, 2022
…ects.

This makes it close when any one client disconnects.
Should only close when no clients are connected -- that will be the next patch
This is for the FT736R and gpredict
#1187
@mdblack98 mdblack98 added needs test Patches have been submitted but need testing to close issue and removed needs test Patches have been submitted but need testing to close issue labels Dec 13, 2022
@mdblack98
Copy link
Contributor Author

From G8KBV
So... Yay... The non-releasing of the radio when the sole/last client disconnects is Fixed! (Happy dance commences!)

But... I've now found that this new version does something else odd.

It successfully puts the rig into "Satellite" Mode just fine when FIRST Engaged.

But after a Disengage, it seems unable to put the rig back into "Satellite" for subsequent "Engagements."
(Happy dance cancelled!)

mdblack98 added a commit that referenced this issue Dec 14, 2022
…ects.

This makes it close when any one client disconnects.
Should only close when no clients are connected -- that will be the next patch
This is for the FT736R and gpredict
#1187
@mdblack98
Copy link
Contributor Author

gpredict was not re-opening the rig correctly so fixed it on my fork of github.
WIll add cached get_freq to eliminate need for shim to work with gpredict.

@mdblack98 mdblack98 added the needs test Patches have been submitted but need testing to close issue label Dec 14, 2022
@mdblack98 mdblack98 added fixed Issue has been fixed and removed needs test Patches have been submitted but need testing to close issue labels Dec 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. fixed Issue has been fixed Gpredict Bugs affecting Gpredict operations
Projects
None yet
Development

No branches or pull requests

1 participant