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

Can't change CM108 GPIO using ptt_bitnum #1203

Closed
tylerhunt opened this issue Jan 3, 2023 · 0 comments
Closed

Can't change CM108 GPIO using ptt_bitnum #1203

tylerhunt opened this issue Jan 3, 2023 · 0 comments
Labels
bug critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. fixed Issue has been fixed
Milestone

Comments

@tylerhunt
Copy link

Setting the GPIO pin for the CM108 PTT device appears to be broken.

Here's the default configuration:

$> rigctl -L -P CM108 | grep ptt_bitnum -A 2
rig_open: error = (null) No such file or directory 
ptt_bitnum: "Push-To-Talk GPIO bit number"
	Default: 2, Value: 0
	Range: 0.0..7.0, step 1.0

Setting ptt_bitnum shows the configuration option being set:

$> rigctl -L -P CM108 -C ptt_bitnum=3 | grep ptt_bitnum -A 2
rig_open: error = (null) No such file or directory 
ptt_bitnum: "Push-To-Talk GPIO bit number"
	Default: 2, Value: 3
	Range: 0.0..7.0, step 1.0

But when the rig is initialized, the default value is used instead of the configured value:

$> rigctl -L -P CM108 -p /dev/hidraw0 -C ptt_bitnum=3 -vvvv 2>&1 | grep cm108_ptt_set
cm108_ptt_set called
cm108_ptt_set: bit number 2 to state 0
^C
@mdblack98 mdblack98 added the bug label Jan 4, 2023
@mdblack98 mdblack98 added this to the 4.5.4 milestone Jan 4, 2023
@mdblack98 mdblack98 pinned this issue Jan 6, 2023
@mdblack98 mdblack98 added the critical A problem for common operations with WSJT-X, GPredict, RigPi, etc. label Jan 9, 2023
mdblack98 added a commit that referenced this issue Jan 9, 2023
@mdblack98 mdblack98 added the needs test Patches have been submitted but need testing to close issue label Jan 9, 2023
mdblack98 added a commit that referenced this issue Jan 9, 2023
mdblack98 added a commit that referenced this issue Jan 9, 2023
mdblack98 added a commit that referenced this issue Jan 9, 2023
mdblack98 added a commit that referenced this issue Jan 10, 2023
@mdblack98 mdblack98 modified the milestones: 4.5.4, 4.4.5 Jan 10, 2023
@mdblack98 mdblack98 removed the needs test Patches have been submitted but need testing to close issue label Jan 10, 2023
@mdblack98 mdblack98 unpinned this issue Jan 10, 2023
@mdblack98 mdblack98 added the fixed Issue has been fixed label Jan 10, 2023
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
Projects
None yet
Development

No branches or pull requests

2 participants