-
Notifications
You must be signed in to change notification settings - Fork 200
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-847 always defaults to main VFO #1286
Comments
If this helps, dump_caps returns:
|
And another update: it looks like this is working if I set the sub VFO frequency before trying to read it:
|
Could you please add 1 more 'v' to the -vvvv?
Mike W9MDB
On Thursday, May 11, 2023 at 03:34:58 PM CDT, Kristijan Conkas ***@***.***> wrote:
I am trying to use FT-847 (serial number starting with 8K, hence not one of those early "problematic" CAT models) in satellite mode with gpredict. The issue I am experiencing is uplink and downlink frequencies periodically alternate in the main VFO, without any changes whatsoever to the sub VFO.
To troubleshoot this, I tried with rigctl only and it turns out that it returns only the main VFO irrespective of main or sub VFO requested. For example, for my rig in satellite mode with main (RX) VFO set to 435.900 MHz and sub VFO set to 145.900 MHz I get the following:
$ rigctl -vvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl.c(442) Startup: rigctl -vvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl Hamlib 4.6~git Mar 14 22:35:33Z 2023 SHA=24a4a0 64-bit
Report bugs to ***@***.***>
yaesu: initrigs4_yaesu called
rig_init: rig_model=Yaesu FT-847
rig_init: rig has VFO_SUB
rig_init: rig has VFO_MAIN
ft847_init called
1:rig.c(827):rig_open entered
rig_settings_load_all: settings_file (/home/kconkas/.config/hamlib_settings): No such file or directory
rig_open: cwd=/home/kconkas/Downloads/mydde
rig_open: /home/kconkas/Downloads/mydde/hamlib_settings does not exist
serial_open: /dev/ttyUSB0
tcflush
2:rig.c(7508):async_data_handler_start entered
2:rig.c(7515):async_data_handler_start returning(0)
rig.c(262):add_opened_rig returning2(0)
rig_open: 0x1427c7c rs->comm_state==1?=1
ft847_open: called
ft847.c(1086):ft847_open returning2(0)
rig_get_freq(2044) called vfo=VFOA
rig.c(2053) vfo=Main, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
rig_get_freq(2044) called vfo=VFOB
rig.c(2053) vfo=Sub, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Sub
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
2:rig.c(5147):rig_get_split_vfo entered
ft847_get_split_vfo called
2:rig.c(5212):rig_get_split_vfo returning(0)
rig_open(1388): Current split=0, tx_vfo=Sub
2:rig.c(2465):rig_get_mode entered
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
3:cache.c(35):rig_set_cache_mode entered
3:cache.c(118):rig_set_cache_mode returning(0)
2:rig.c(2598):rig_get_mode returning(0)
1:rig.c(1412):rig_open returning(0)
Opened rig model 1001, 'FT-847'
Backend version: 20220525.0, Status: Stable
Rig command: f
1:rigctl_parse.c(2115):rigctl_get_freq entered
rig_get_freq(2044) called vfo=currVFO
rig.c(2053) vfo=currVFO, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
Frequency: 435900000
1:rigctl_parse.c(2141):rigctl_get_freq returning(0)
Rig command: i
1:rigctl_parse.c(2896):rigctl_get_split_freq entered
2:rig.c(4267):rig_get_split_freq entered
vfo_fixup(1995): split=0, vfo==TX tx_vfo=TX
get_freq_and_mode: vfo =TX
read_block_generic called, direct=1
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
2:rig.c(4293):rig_get_split_freq returning(0)
TX Frequency: 435900000
1:rigctl_parse.c(2912):rigctl_get_split_freq returning(0)
The same also happens if I try it with --vfo option:
$ rigctl -vvvv --vfo -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl.c(442) Startup: rigctl -vvvv --vfo -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl Hamlib 4.6~git Mar 14 22:35:33Z 2023 SHA=24a4a0 64-bit
Report bugs to ***@***.***>
yaesu: initrigs4_yaesu called
rig_init: rig_model=Yaesu FT-847
rig_init: rig has VFO_SUB
rig_init: rig has VFO_MAIN
ft847_init called
1:rig.c(827):rig_open entered
rig_settings_load_all: settings_file (/home/kconkas/.config/hamlib_settings): No such file or directory
rig_open: cwd=/home/kconkas/Downloads/mydde
rig_open: /home/kconkas/Downloads/mydde/hamlib_settings does not exist
serial_open: /dev/ttyUSB0
tcflush
2:rig.c(7508):async_data_handler_start entered
2:rig.c(7515):async_data_handler_start returning(0)
rig.c(262):add_opened_rig returning2(0)
rig_open: 0x21f9c7c rs->comm_state==1?=1
ft847_open: called
ft847.c(1086):ft847_open returning2(0)
rig_get_freq(2044) called vfo=VFOA
rig.c(2053) vfo=Main, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
rig_get_freq(2044) called vfo=VFOB
rig.c(2053) vfo=Sub, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Sub
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
2:rig.c(5147):rig_get_split_vfo entered
ft847_get_split_vfo called
2:rig.c(5212):rig_get_split_vfo returning(0)
rig_open(1388): Current split=0, tx_vfo=Sub
2:rig.c(2465):rig_get_mode entered
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
3:cache.c(35):rig_set_cache_mode entered
3:cache.c(118):rig_set_cache_mode returning(0)
2:rig.c(2598):rig_get_mode returning(0)
1:rig.c(1412):rig_open returning(0)
Opened rig model 1001, 'FT-847'
Backend version: 20220525.0, Status: Stable
Rig command: f
VFO: Main
rig_parse_vfo called
1:rigctl_parse.c(2115):rigctl_get_freq entered
rig_get_freq(2044) called vfo=Main
rig.c(2053) vfo=Main, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
Frequency: 435900000
1:rigctl_parse.c(2141):rigctl_get_freq returning(0)
Rig command: f
VFO: Sub
rig_parse_vfo called
1:rigctl_parse.c(2115):rigctl_get_freq entered
rig_get_freq(2044) called vfo=Sub
rig.c(2053) vfo=Sub, curr_vfo=Main
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Sub
read_block_generic called, direct=1
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
Frequency: 435900000
1:rigctl_parse.c(2141):rigctl_get_freq returning(0)
It seems to me like this is a hamlib issue because using MacDoppler (which comes with its own CAT implementation) on a MacOS box I can set both VFOs independently and have no issues with tracking satellites.
Has anyone got this working? If so, I'd appreciate any advice about what I'm doing wrong.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Don't see any way to query satellite mode #1286 (comment)
@mdblack98 thanks for looking into this. As requested, the output is:
|
Can you please try the latest in the master repo?
Should be fixed now.
Mike W9MDB
On Friday, May 12, 2023 at 06:37:26 AM CDT, Kristijan Conkas ***@***.***> wrote:
@mdblack98 thanks for looking into this. As requested, the output is:
$ rigctl -vvvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl.c(442) Startup: rigctl -vvvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl Hamlib 4.6~git Mar 14 22:35:33Z 2023 SHA=24a4a0 64-bit
Report bugs to ***@***.***>
rig_check_rig_caps: p1=0x7fdb361be480, p2=0x7fdb361c4a00, rig_model=0x7fdb361be480, macro_name=0x7fdb361c4a00
yaesu: initrigs4_yaesu called
rig_init: rig_model=Yaesu FT-847
rig_init: rig has VFO_SUB
rig_init: rig has VFO_MAIN
ft847_init called
1:rig.c(827):rig_open entered
rig_settings_get_path: path=/home/kconkas/.config/hamlib_settings
rig_settings_load_all: settings_file (/home/kconkas/.config/hamlib_settings): No such file or directory
rig_open: cwd=/home/kconkas/Downloads
rig_open: /home/kconkas/Downloads/hamlib_settings does not exist
rig_open: async_data_enable=0, async_data_supported=0
serial_open: /dev/ttyUSB0
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=57600,0x1001
serial_setup: cfsetospeed=57600,0x1001
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: Handshake=None
serial_setup: tcsetattr TCSANOW
read_string_generic called, rxmax=4095 direct=1, expected_len=1
tcflush
2:rig.c(7508):async_data_handler_start entered
async_data_handler_start: async data support disabled since async_data_enabled=0
2:rig.c(7515):async_data_handler_start returning(0)
rig.c(262):add_opened_rig returning2(0)
rig_open: 0x57bc7c rs->comm_state==1?=1
ft847_open: called
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 00 .....
ft847.c(1086):ft847_open returning2(0)
rig.c(1317) trace
rig_open: vfo_curr=currVFO, tx_vfo=TX
vfo_fixup:(from rig_open:1349) vfo=VFOA, vfo_curr=currVFO, split=0
rig_open: No set_vfo function rig so default vfo = Main
rig_get_freq(2044) called vfo=VFOA
vfo_fixup:(from rig_get_freq:2051) vfo=VFOA, vfo_curr=Main, split=0
rig.c(2053) vfo=Main, curr_vfo=Main
rig_get_freq: cache miss age=1000000ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
1:rig_get_freq: elapsed=302ms
rig_get_freq(2044) called vfo=VFOB
vfo_fixup:(from rig_get_freq:2051) vfo=VFOB, vfo_curr=Main, split=0
vfo_fixup: final vfo=Sub
rig.c(2053) vfo=Sub, curr_vfo=Main
rig_get_freq: cache miss age=1000000ms, cached_vfo=Sub, asked_vfo=Sub, use_cached_freq=0
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Sub
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
1:rig_get_freq: elapsed=379ms
2:rig.c(5147):rig_get_split_vfo entered
rig_get_split_vfo: cache check age=1000000ms
rig_get_split_vfo: cache miss age=1000000ms
rig.c(5199) trace
ft847_get_split_vfo called
rig_get_split_vfo: cache.split=0
2:rig_get_split_vfo: elapsed=0ms
2:rig.c(5212):rig_get_split_vfo returning(0)
rig_open(1388): Current split=0, tx_vfo=Sub
2:rig.c(2465):rig_get_mode entered
vfo_fixup:(from rig_get_mode:2488) vfo=VFOA, vfo_curr=Main, split=0
rig_get_mode: Main cache check age=680ms
rig_get_mode: cache miss age mode=680ms, width=680ms
rig.c(2536) trace
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
rig_get_mode: retcode after get_mode=0
rig_get_mode(2582): debug
3:cache.c(35):rig_set_cache_mode entered
3:cache.c(118):rig_set_cache_mode returning(0)
2:rig_get_mode: elapsed=302ms
2:rig.c(2598):rig_get_mode returning(0)
1:rig.c(1412):rig_open returning(0)
Opened rig model 1001, 'FT-847'
Backend version: 20220525.0, Status: Stable
rigctl_parse: called, interactive=1
Rig command: f
rigctl_parse: input_line: f
rigctl_parse: vfo_opt=0
1:rigctl_parse.c(2115):rigctl_get_freq entered
rig_get_freq(2044) called vfo=currVFO
vfo_fixup:(from rig_get_freq:2051) vfo=currVFO, vfo_curr=Main, split=0
vfo_fixup: Leaving currVFO alone
rig.c(2053) vfo=currVFO, curr_vfo=Main
rig_get_freq: cache miss age=29637ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
1:rig_get_freq: elapsed=302ms
Frequency: 435581070
1:rigctl_parse.c(2141):rigctl_get_freq returning(0)
rigctl_parse: called, interactive=1
Rig command: i
rigctl_parse: input_line: i
rigctl_parse: vfo_opt=0
1:rigctl_parse.c(2896):rigctl_get_split_freq entered
2:rig.c(4267):rig_get_split_freq entered
vfo_fixup:(from rig_get_split_freq:4281) vfo=TX, vfo_curr=Main, split=0
vfo_fixup(1995): split=0, vfo==TX tx_vfo=TX
vfo_fixup: RIG_VFO_TX changed to Main, split=0, satmode=0
rig.c(4290) trace
get_freq_and_mode: vfo =TX
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
2:rig_get_split_freq: elapsed=302ms
2:rig.c(4293):rig_get_split_freq returning(0)
TX Frequency: 435581070
1:rigctl_parse.c(2912):rigctl_get_split_freq returning(0)
rigctl_parse: called, interactive=1
Rig command: I 145850000
rigctl_parse: input_line: I 145850000
rigctl_parse: vfo_opt=0
1:rigctl_parse.c(2881):rigctl_set_split_freq entered
rig_set_split_freq called vfo=TX, curr_vfo=Main, tx_freq=145850000
rig_get_freq(2044) called vfo=TX
vfo_fixup:(from rig_get_freq:2051) vfo=TX, vfo_curr=Main, split=0
vfo_fixup(1995): split=0, vfo==TX tx_vfo=TX
vfo_fixup: RIG_VFO_TX changed to Main, split=0, satmode=0
rig.c(2053) vfo=Main, curr_vfo=Main
rig_get_freq: cache miss age=73192ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2141): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 43 55 81 07 01 CU...
from_bcd_be called
2:rig.c(2619):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2640):rig_passband_normal returning(2200)
1:rig_get_freq: elapsed=302ms
rig.c(4138) trace
2:rig.c(4973):rig_set_split_vfo entered
rig_set_split_vfo: rx_vfo=VFOA, split=1, tx_vfo=VFOB, cache.split=0
vfo_fixup:(from rig_set_split_vfo:5020) vfo=VFOA, vfo_curr=Main, split=1
vfo_fixup:(from rig_set_split_vfo:5021) vfo=VFOB, vfo_curr=Main, split=1
vfo_fixup: final vfo=Sub
rig_set_split_vfo: final rxvfo=Main, txvfo=Sub, split=1
rig.c(5030) trace
rig.c(5052) trace
ft847_set_split_vfo called
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 4e ....N
2:rig_set_split_vfo: elapsed=301ms
2:rig.c(5064):rig_set_split_vfo returning(0)
ft847: requested freq = 145850000 Hz, vfo=TX
to_bcd_be called
from_bcd_be called
from_bcd_be called
ft847_set_freq: requested freq after conversion = 145850000 Hz
write_block(): TX 5 bytes, method=1
0000 14 58 50 00 21 .XP.!
1:rig_set_split_freq: elapsed=905ms
rig.c(4141):rig_set_split_freq returning2(0)
1:rigctl_parse.c(2885):rigctl_set_split_freq returning(0)
rigctl_parse: called, interactive=1
Rig command: i
rigctl_parse: input_line: i
rigctl_parse: vfo_opt=0
1:rigctl_parse.c(2896):rigctl_get_split_freq entered
2:rig.c(4267):rig_get_split_freq entered
vfo_fixup:(from rig_get_split_freq:4281) vfo=TX, vfo_curr=Main, split=1
vfo_fixup(1995): split=1, vfo==TX tx_vfo=Sub
vfo_fixup: RIG_VFO_TX changed to Sub, split=1, satmode=0
rig.c(4311) trace
get_freq_and_mode: vfo =Sub
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 23 ....#
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 14 58 50 00 00 .XP..
from_bcd_be called
3:rig.c(2619):rig_passband_normal entered
3:rig_passband_normal: return filter#0, width=2200
3:rig.c(2640):rig_passband_normal returning(2200)
2:rig_get_split_freq: elapsed=302ms
2:rig.c(4314):rig_get_split_freq returning(0)
TX Frequency: 145850000
1:rigctl_parse.c(2912):rigctl_get_split_freq returning(0)
rigctl_parse: called, interactive=1
Rig command:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@mdblack98 thanks. I've compiled the latest from master and this fixed my problem in satellite mode. However; I am now unable to get the main VFO output in non-satellite mode (even though the frequency does seem to get read correctly):
|
Please try again...
On Friday, May 12, 2023 at 11:07:05 AM CDT, Kristijan Conkas ***@***.***> wrote:
@mdblack98 thanks. I've compiled the latest from master and this fixed my problem in satellite mode. However; I am now unable to get the main VFO output in non-satellite mode (even though the frequency does seem to get read correctly):
$ /usr/local/bin/rigctl -vvvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl.c(442) Startup: /usr/local/bin/rigctl -vvvvv -m 1001 -r /dev/ttyUSB0 -s 57600
rigctl Hamlib 4.6~git May 11 21:36:12Z 2023 SHA=dfc5e7 64-bit
Report bugs to ***@***.***>
rig_check_rig_caps: p1=0x7f9dda463ac0, p2=0x7f9dda46a040, rig_model=0x7f9dda463ac0, macro_name=0x7f9dda46a040
yaesu: initrigs4_yaesu called
rig_init: rig_model=Yaesu FT-847 20230511.0
rig_init: rig has VFO_SUB
rig_init: rig has VFO_MAIN
ft847_init called
1:rig.c(830):rig_open entered
rig_settings_get_path: path=/home/kconkas/.config/hamlib_settings
rig_settings_load_all: settings_file (/home/kconkas/.config/hamlib_settings): No such file or directory
rig_open: cwd=/home/kconkas/src/Hamlib
rig_open: /home/kconkas/src/Hamlib/hamlib_settings does not exist
rig_open: async_data_enable=1, async_data_supported=0
serial_open: /dev/ttyUSB0
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=57600,0x1001
serial_setup: cfsetospeed=57600,0x1001
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: Handshake=None
serial_setup: tcsetattr TCSANOW
tcflush
2:rig.c(7529):async_data_handler_start entered
async_data_handler_start: async data support disabled since async_data_enabled=0
2:rig.c(7536):async_data_handler_start returning(0)
rig.c(262):add_opened_rig returning2(0)
rig_open: 0x2426c7c rs->comm_state==1?=1
ft847_open: called
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 00 .....
ft847.c(1086):ft847_open returning2(0)
rig.c(1328) trace
rig_open: vfo_curr=currVFO, tx_vfo=TX
vfo_fixup:(from rig_open:1360) vfo=VFOA, vfo_curr=currVFO, split=0
rig_open: No set_vfo function rig so default vfo = Main
rig_get_freq(2054) called vfo=VFOA
vfo_fixup:(from rig_get_freq:2061) vfo=VFOA, vfo_curr=Main, split=0
rig.c(2063) vfo=Main, curr_vfo=Main
rig_get_freq: cache miss age=1000000ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2151): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 03 .....
read_block_generic called, direct=1
read_block_generic(): RX 5 bytes, direct=1
0000 02 48 90 00 01 .H...
from_bcd_be called
2:rig.c(2629):rig_passband_normal entered
2:rig_passband_normal: return filter#0, width=2200
2:rig.c(2650):rig_passband_normal returning(2200)
1:rig_get_freq: elapsed=302ms
rig_get_freq(2054) called vfo=VFOB
vfo_fixup:(from rig_get_freq:2061) vfo=VFOB, vfo_curr=Main, split=0
vfo_fixup: final vfo=Sub
rig.c(2063) vfo=Sub, curr_vfo=Main
rig_get_freq: cache miss age=1000000ms, cached_vfo=Sub, asked_vfo=Sub, use_cached_freq=0
rig_get_freq(2151): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Sub
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 23 ....#
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500602 seconds after 0 chars, direct=1
ft847: read_block returned -5
1:rig_get_freq: elapsed=802ms
2:rig.c(5159):rig_get_split_vfo entered
rig_get_split_vfo: cache check age=1000000ms
rig_get_split_vfo: cache miss age=1000000ms
rig.c(5211) trace
ft847_get_split_vfo called
rig_get_split_vfo: cache.split=1
2:rig_get_split_vfo: elapsed=0ms
2:rig.c(5224):rig_get_split_vfo returning(0)
rig_open(1399): Current split=1, tx_vfo=Sub
2:rig.c(2475):rig_get_mode entered
vfo_fixup:(from rig_get_mode:2498) vfo=VFOA, vfo_curr=Main, split=1
rig_get_mode: Main cache check age=1104ms
rig_get_mode: cache miss age mode=1104ms, width=1104ms
rig.c(2546) trace
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 13 .....
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500598 seconds after 0 chars, direct=1
ft847: read_block returned -5
rig_get_mode: retcode after get_mode=-5
3:cache.c(36):rig_set_cache_mode entered
3:cache.c(119):rig_set_cache_mode returning(0)
2:rig_get_mode: elapsed=802ms
2:rig.c(2608):rig_get_mode returning(-5) Communication timed out
xxxsplit=1
rig.c(1411) trace
2:rig.c(2475):rig_get_mode entered
vfo_fixup:(from rig_get_mode:2498) vfo=VFOB, vfo_curr=Main, split=1
vfo_fixup: final vfo=Sub
rig_get_mode: Sub cache check age=1605ms
rig_get_mode: cache miss age mode=1605ms, width=1605ms
rig.c(2546) trace
get_freq_and_mode: vfo =Sub
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 23 ....#
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500600 seconds after 0 chars, direct=1
ft847: read_block returned -5
rig_get_mode: retcode after get_mode=-5
3:cache.c(36):rig_set_cache_mode entered
3:cache.c(119):rig_set_cache_mode returning(0)
2:rig_get_mode: elapsed=802ms
2:rig.c(2608):rig_get_mode returning(-5) Communication timed out
1:rig.c(1423):rig_open returning(0)
Opened rig model 1001, 'FT-847'
Backend version: 20230511.0, Status: Stable
rigctl_parse: called, interactive=1
Rig command: f
rigctl_parse: input_line: f
rigctl_parse: vfo_opt=0
1:rigctl_parse.c(2112):rigctl_get_freq entered
rig_get_freq(2054) called vfo=currVFO
vfo_fixup:(from rig_get_freq:2061) vfo=currVFO, vfo_curr=Main, split=1
vfo_fixup: Leaving currVFO alone
rig.c(2063) vfo=currVFO, curr_vfo=Main
rig_get_freq: cache miss age=4759ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2151): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 13 .....
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500611 seconds after 0 chars, direct=1
ft847: read_block returned -5
1:rig_get_freq: elapsed=802ms
1:rigctl_parse.c(2118):rigctl_get_freq returning(-5) Communication timed out
get_freq: error = rig_get_freq(2086): freqMainB=0, modeMainB=, widthMainB=0
rig_get_cache(269): vfo=Main, current_vfo=Main
rig_get_cache(455): vfo=Main, freq=24890000, mode=, width=0
rig_get_freq(2122): freqMainA=24890000, modeMainA=, widthMainA=0
rig_get_freq(2122): freqMainB=0, modeMainB=, widthMainB=0
rig_get_freq: cache miss age=4759ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2152): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 13 .....
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500611 seconds after 0 chars, direct=1
ft847: read_block returned -5
rig_get_freq(2169): freqMainA=24890000, modeMainA=, widthMainA=0
rig_get_freq(2169): freqMainB=0, modeMainB=, widthMainB=0
rig_set_cache_freq(132): vfo=Main, current_vfo=Main
1:rig_get_freq: elapsed=802ms
1:rigctl_parse.c(2118):rigctl_get_freq returning(-5) Communication timed out
Communication timed out
main: i/o error
1:rig.c(1445):rig_close entered
ft847_close: called
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 80 .....
2:rig.c(7573):async_data_handler_stop entered
2:rig.c(7603):async_data_handler_stop returning(0)
ser_close: restoring options
rig_close(1579): 0x2426c7c rs->comm_state==0?=0
1:rig.c(1583):rig_close returning(0)
main: rig_close retcode=0
1:rig.c(830):rig_open entered
rig_settings_get_path: path=/home/kconkas/.config/hamlib_settings
rig_settings_load_all: settings_file (/home/kconkas/.config/hamlib_settings): No such file or directory
rig_open: cwd=/home/kconkas/src/Hamlib
rig_open: /home/kconkas/src/Hamlib/hamlib_settings does not exist
rig_open: async_data_enable=0, async_data_supported=0
serial_open: /dev/ttyUSB0
serial_setup: tcgetattr
serial_setup: cfmakeraw
serial_setup: cfsetispeed=57600,0x1001
serial_setup: cfsetospeed=57600,0x1001
serial_setup: data_bits=8
serial_setup: parity=0
serial_setup: Handshake=None
serial_setup: tcsetattr TCSANOW
tcflush
2:rig.c(7529):async_data_handler_start entered
async_data_handler_start: async data support disabled since async_data_enabled=0
2:rig.c(7536):async_data_handler_start returning(0)
rig.c(262):add_opened_rig returning2(0)
rig_open: 0x2426c7c rs->comm_state==1?=1
ft847_open: called
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 00 .....
ft847.c(1086):ft847_open returning2(0)
rig.c(1328) trace
rig_open: vfo_curr=Main, tx_vfo=TX
vfo_fixup:(from rig_open:1360) vfo=VFOA, vfo_curr=Main, split=0
rig_open: No set_vfo function rig so default vfo = Main
rig_get_freq(2054) called vfo=VFOA
vfo_fixup:(from rig_get_freq:2061) vfo=VFOA, vfo_curr=Main, split=0
rig.c(2063) vfo=Main, curr_vfo=Main
rig_get_freq: cache miss age=1993ms, cached_vfo=Main, asked_vfo=Main, use_cached_freq=0
rig_get_freq(2151): vfo_opt=0, model=1001
get_freq_and_mode: vfo =Main
write_block(): TX 5 bytes, method=1
0000 00 00 00 00 13 .....
read_block_generic called, direct=1
read_block_generic(): Timed out 0.500605 seconds after 0 chars, direct=1
ft847: read_block returned -5
1:rig_get_freq: elapsed=802ms
1:rig.c(1423):rig_open returning(0)
main: rig_open retcode=0
rigctl_parse: called, interactive=1
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@mdblack98 thank you so much for fixing this and so quickly, hamradio and open source at its best. I can confirm it's working now both for sat and non-sat mode. There's just one tiny slight snag in the sat mode: I can only read the secondary VFO after I have written to it, but this is good enough to me (gpredict, where I connect to
|
I am trying to use FT-847 (serial number starting with 8K, hence not one of those early "problematic" CAT models) in satellite mode with gpredict. The issue I am experiencing is uplink and downlink frequencies periodically alternate in the main VFO, without any changes whatsoever to the sub VFO.
To troubleshoot this, I tried with rigctl only and it turns out that it returns only the main VFO irrespective of main or sub VFO requested. For example, for my rig in satellite mode with main (RX) VFO set to 435.900 MHz and sub VFO set to 145.900 MHz I get the following:
The same also happens if I try it with
--vfo
option:It seems to me like this is a hamlib issue because using MacDoppler (which comes with its own CAT implementation) on a MacOS box I can set both VFOs independently and have no issues with tracking satellites.
Has anyone got this working? If so, I'd appreciate any advice about what I'm doing wrong.
The text was updated successfully, but these errors were encountered: