I am having trouble getting CAT control working on Linux. Maybe somebody can help me. TIA.
My setup is RRC1258 Elecraft Twin bundle and K3/0 mini on the control side.
I am running Ubuntu 14.04 and CQRLOG (it does TRX control with hamlib rigctld) on a hacked chromebook.
I am able to get CAT working when using COM1 (set in mode 7 on the control box) connected with a null-modem cable via an FTDI USB adapter, I then can talk to /dev/ttyUSB0 without problems.
Once I connect the control box via the built-in mini USB, I am getting four ports /dev/ttyACM0 to ttyACM3. I enable usb for COM1 on the control box, but getting this from the hamlib:
kindsvaters@3peppy:~$ rigctld -vvvv -m 229 -r /dev/ttyACM0 -s 38400 -T 127.0.0.1 -t 4532 &
[1] 3016
rigctld, Hamlib 1.2.15.3
Report bugs to <
hamlib-developer@lists.sourceforge.net>
rig:rig_init called
rig: loading backend kenwood
initrigs2_kenwood called
rig_register (213)
rig_register (201)
rig_register (225)
rig_register (203)
rig_register (204)
rig_register (216)
rig_register (224)
rig_register (205)
rig_register (207)
rig_register (209)
rig_register (210)
rig_register (222)
rig_register (214)
rig_register (230)
rig_register (221)
rig_register (229)
rig_register (202)
rig_register (211)
rig_register (206)
rig_register (208)
rig_register (215)
rig_register (226)
rig_register (217)
rig_register (233)
rig_register (220)
rig_register (223)
rig_register (227)
rig_register (234)
rig_register (231)
rig_register (231)
rig_register (228)
rig_register (219)
rig_register (232)
kenwood_init called
rig:rig_open called
elecraft_open called
verify_kenwood_id called
kenwood_get_id called
kenwood_transaction called
kindsvaters@3peppy:~$ read_string(): Timed out 0.600685 seconds without reading a character.
read_string(): Timed out 0.600688 seconds without reading a character.
read_string(): Timed out 0.600692 seconds without reading a character.
read_string(): Timed out 0.600692 seconds without reading a character.
verify_kenwood_id: cannot get identification
rig_open: error = Communication timed out
As said it works for COM1- serial-ftdi:
kindsvaters@3peppy:~$ rigctld -vvvv -m 229 -r /dev/ttyUSB0 -s 38400 -T 127.0.0.1 -t 4532 &
[1] 4496
rigctld, Hamlib 1.2.15.3
Report bugs to <
hamlib-developer@lists.sourceforge.net>
rig:rig_init called
rig: loading backend kenwood
initrigs2_kenwood called
rig_register (213)
rig_register (201)
rig_register (225)
rig_register (203)
rig_register (204)
rig_register (216)
rig_register (224)
rig_register (205)
rig_register (207)
rig_register (209)
rig_register (210)
rig_register (222)
rig_register (214)
rig_register (230)
rig_register (221)
rig_register (229)
rig_register (202)
rig_register (211)
rig_register (206)
rig_register (208)
rig_register (215)
rig_register (226)
rig_register (217)
rig_register (233)
rig_register (220)
rig_register (223)
rig_register (227)
rig_register (234)
rig_register (231)
rig_register (231)
rig_register (228)
rig_register (219)
rig_register (232)
kenwood_init called
rig:rig_open called
elecraft_open called
verify_kenwood_id called
kenwood_get_id called
kenwood_transaction called
kindsvaters@3peppy:~$ verify_kenwood_id: Rig ID is ID017
elecraft_get_extension_level called
kenwood_safe_transaction called
kenwood_transaction called
elecraft_get_extension_level: K2 extension level is 0, K20
elecraft_open: K2 level is 0, K20
elecraft_get_extension_level called
kenwood_safe_transaction called
kenwood_transaction called
elecraft_get_extension_level: K3 extension level is 4, K30
elecraft_open: K3 level is 4, K30
elecraft_get_firmware_revision_level called
kenwood_transaction called
elecraft_get_firmware_revision_level: Elecraft firmware revision is
kenwood_get_vfo_if called
kenwood_get_if called
kenwood_safe_transaction called
kenwood_transaction called
Opened rig model 229, 'K3/KX3'
Backend version: 20120615, Status: Beta
kindsvaters@3peppy:~$ echo "+\get_mode" | nc -w 1 localhost 4532
Connection opened from 127.0.0.1:55863
k3_get_mode called
kenwood_get_mode called
kenwood_safe_transaction called
kenwood_transaction called
kenwood2rmode called
kenwood_safe_transaction called
kenwood_transaction called
get_mode:
Mode: CW
Passband: 1000
RPRT 0
fscanf: Success
Connection closed from 127.0.0.1:55863
kindsvaters@3peppy:~$