CQRLog will not talk to Icom 746Pro

8 posts / 0 new
Last post
wc5m
CQRLog will not talk to Icom 746Pro

I had CQRLog talking to this rig back about version 1.3 or 1.4 but since upgrading to the current 1.5.4 (or 1.5.3 for that matter) no communication.  When running DXLab Commander in Windows XP on the same hardware it works perfectly.  I have the port settings in CQRLog set exactly as they are in Commander.  In Commander it connects to COM1 which would be /dev/ttyUSB0 in Ubuntu.  I have verified that Ubuntu is seeing the interface on USB0.  Still no comms.
Here is the output of dmesg:
16.221019] usb 5-1: Keyspan 1 port adapter converter now attached to ttyUSB0[   16.221039] keyspan: v1.1.5:Keyspan USB to Serial Converter Driver[   16.294439] USB Serial support registered for FTDI USB Serial Device[   16.294557] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected[   16.299039] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB1[   16.299093] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver[  714.908321] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1[  714.975163] keyspan_1 ttyUSB0: Keyspan 1 port adapter converter now disconnected from ttyUSB0[ 2810.324024] usb 8-1: reset full-speed USB device number 2 using uhci_hcd[ 2810.499757] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x1504[ 2810.676016] usb 4-1: reset full-speed USB device number 2 using ohci_hcd[ 2810.883128] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected[ 2810.889161] usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0[ 2811.000024] usb 9-2: reset full-speed USB device number 2 using uhci_hcd[ 2811.332038] usb 5-1: reset full-speed USB device number 2 using ohci_hcd[ 2811.545240] usb 5-1: Keyspan 1 port adapter converter now attached to ttyUSB1[ 2811.720026] usb 4-2: reset full-speed USB device number 3 using ohci_hcd[ 2811.731745] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x
Here is the output when I open CQRLog in the terminal:
mark@ubuntu:~$ cqrlogLoading libssl: /usr/lib/x86_64-linux-gnu/libssl.soLoading libcrypto: /usr/lib/x86_64-linux-gnu/libcrypto.soLoading libmysqlclient: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18Loaded 58093 LoTW usersLoaded 66691 eQSL usersLoaded 44221 SCP calls/home/mark/.config/cqrlog/database/ubuntu.pidCommand: kill 3447*User home directory:    /home/mark/Program home directory: /home/mark/.config/cqrlog/Data directory:         /home/mark/.config/cqrlog/database/Memebers directory:     /usr/share/cqrlog/members/ZIP code directory:     /usr/share/cqrlog/zipcodes/Binary dir:             /usr/bin/Share dir:              /usr/share/cqrlog/TConnection to MySQL:   5.5*/usr/sbin/mysqld --defaults-file=/home/mark/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/mark/.config/cqrlog/database/ --socket=/home/mark/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K130227 11:22:36 [Note] Plugin 'FEDERATED' is disabled.130227 11:22:36 InnoDB: The InnoDB memory heap is disabled130227 11:22:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins130227 11:22:36 InnoDB: Compressed tables use zlib 1.2.3.4130227 11:22:36 InnoDB: Initializing buffer pool, size = 128.0M130227 11:22:36 InnoDB: Completed initialization of buffer pool130227 11:22:36 InnoDB: highest supported file format is Barracuda.130227 11:22:36  InnoDB: Waiting for the background threads to start130227 11:22:37 InnoDB: 1.1.8 started; log sequence number 1595675130227 11:22:37 [Note] Server hostname (bind-address): '0.0.0.0'; port: 64000130227 11:22:37 [Note]   - '0.0.0.0' resolves to '0.0.0.0';130227 11:22:37 [Note] Server socket created on IP: '0.0.0.0'.130227 11:22:37 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them130227 11:22:37 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure130227 11:22:37 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure130227 11:22:37 [Note] /usr/sbin/mysqld: ready for connections.Version: '5.5.29-0ubuntu0.12.04.1'  socket: '/home/mark/.config/cqrlog/database/sock'  port: 64000  (Ubuntu)select * from tables where table_schema = 'cqrlog_common'SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nruse cqrlog002u se cqrlog002SELECT * FROM cqrlog_configselect * from db_versionSELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIFSELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIFIn createAll objects createdSettings:-----------------------------------------------------RigCtldPath:/usr/bin/rigctldRigCtldArgs:-m 346 -r /dev/ttyUSB0 -t 4532  -s 19200  --set-conf=data_bits=8,stop_bits=1,parity=None,serial_handshake=None,dtr_state=OFF,rts_state=OFFRunRigCtld: TRUERigDevice:  /dev/ttyUSB0RigCtldPort:4532RigCtldHost:localhostRigPoll:    200RigSendCWR: FALSERigId:      346Starting RigCtld .../usr/bin/rigctld -m 346 -r /dev/ttyUSB0 -t 4532  -s 19200  --set-conf=data_bits=8,stop_bits=1,parity=None,serial_handshake=None,dtr_state=OFF,rts_state=OFFConfig parameter error: Invalid parameterrigctld started!Result0:NResult1:YResult2:YConnected to localhost:4532CW initSELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE visible > 0 ORDER BY nr2013-02-27 17:23:18123456In createAll objects created
 
 
73, Mark WC5M

wc5m
Help

Isn't there anyone who can take a look at my previous post and tell me why my rig won't talk to CQRLOG?????  Thanks
Mark WC5M

ok2cqr
ok2cqr's picture
Re:CQRLog will not talk to Icom 746Pro

Hello Mark,
 
in serial port paramaters, please set only serial speed and leave other parameter set as "default". According to this message:
/usr/bin/rigctld -m 346 -r /dev/ttyUSB0 -t 4532  -s 19200  --set-conf=data_bits=8,stop_bits=1,parity=None,serial_handshake=None,dtr_state=OFF,rts_state=OFFConfig parameter error: Invalid parameterr
 
rigctld has a problem with one of them.
 
73 Petr, OK2CQR

wc5m
Re:CQRLog will not talk to Icom 746Pro

Petr,
As you suggested I set the serial speed and changed all other parameters to "default".  However, I still have no radio communication.  Here is the output from the terminal:
mark@ubuntu:~$ cqrlogLoading libssl: /usr/lib/x86_64-linux-gnu/libssl.soLoading libcrypto: /usr/lib/x86_64-linux-gnu/libcrypto.soLoading libmysqlclient: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18Loaded 60874 LoTW usersLoaded 69880 eQSL usersLoaded 44221 SCP calls/home/mark/.config/cqrlog/database/ubuntu.pidCommand: kill 3274*User home directory:    /home/mark/Program home directory: /home/mark/.config/cqrlog/Data directory:         /home/mark/.config/cqrlog/database/Memebers directory:     /usr/share/cqrlog/members/ZIP code directory:     /usr/share/cqrlog/zipcodes/Binary dir:             /usr/bin/Share dir:              /usr/share/cqrlog/TConnection to MySQL:   5.5*/usr/sbin/mysqld --defaults-file=/home/mark/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/mark/.config/cqrlog/database/ --socket=/home/mark/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K130306  9:57:13 [Note] Plugin 'FEDERATED' is disabled.130306  9:57:13 InnoDB: The InnoDB memory heap is disabled130306  9:57:13 InnoDB: Mutexes and rw_locks use GCC atomic builtins130306  9:57:13 InnoDB: Compressed tables use zlib 1.2.3.4130306  9:57:13 InnoDB: Initializing buffer pool, size = 128.0M130306  9:57:13 InnoDB: Completed initialization of buffer pool130306  9:57:13 InnoDB: highest supported file format is Barracuda.130306  9:57:13  InnoDB: Waiting for the background threads to start130306  9:57:14 InnoDB: 1.1.8 started; log sequence number 1595675130306  9:57:14 [Note] Server hostname (bind-address): '0.0.0.0'; port: 64000130306  9:57:14 [Note]   - '0.0.0.0' resolves to '0.0.0.0';130306  9:57:14 [Note] Server socket created on IP: '0.0.0.0'.130306  9:57:14 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them130306  9:57:14 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure130306  9:57:14 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure130306  9:57:14 [Note] /usr/sbin/mysqld: ready for connections.Version: '5.5.29-0ubuntu0.12.04.1'  socket: '/home/mark/.config/cqrlog/database/sock'  port: 64000  (Ubuntu)select * from tables where table_schema = 'cqrlog_common'SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nruse cqrlog002use cqrlog002SELECT * FROM cqrlog_configselect * from db_versionSELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIFSELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIFIn createAll objects createdSettings:-----------------------------------------------------RigCtldPath:/usr/bin/rigctldRigCtldArgs:-m 346 -r /dev/ttyUSB0 -t 4532  -s 19200 RunRigCtld: TRUERigDevice:  /dev/ttyUSB0RigCtldPort:4532RigCtldHost:localhostRigPoll:    200RigSendCWR: FALSERigId:      346Starting RigCtld .../usr/bin/rigctld -m 346 -r /dev/ttyUSB0 -t 4532  -s 19200 rig_open: error = IO error rigctld started!Result0:NResult1:YResult2:YConnected to localhost:4532CW initSELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE visible > 0 ORDER BY nr2013-03-06 15:57:21Sending: M CW 500SELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE visible > 0 ORDER BY nr

ok2cqr
ok2cqr's picture
Re:CQRLog will not talk to Icom 746Pro

Mark,
 
are you member of dialout group? It seems that rigctld now accepts parameters but can't access the serial port.
Open the terminal and enter this command:
 group
and hit enter
 You should get domething like this:
 
mark adm cdrom sudo dip plugdev lpadmin sambashare
 
if you don't have dialout in the list, please add it with this command:
sudo adduser mark dialout
logout and login again, the trx control should work. I suppose, your port path is correct.
 
73  Petr

wc5m
Re:CQRLog will not talk to Icom 746Pro

Petr,
I did not have dialout listed in the group list.  Once I added it I still could not get any radio communication starting with everythnig except serial speed set to "default".  I eventually got it working with serial speed 19200, data bits 8, stop bits 2, serial-handshake NONE, dtr OFF, rts OFF. However I had to leave parity set to "default".  No other parity setting would work.  What is the actual parity set to when you select "default"???.  Every other radio control program I have used with my 746Pro would work on parity NONE.
73,
Mark WC5M

kk4ggl
CQRLog will not talk to Icom 746Pro

I have an Icom-718. I don't know if this will help, but these are my settings:
Rig: 313 (Icom 718 code)
Device: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AH01D7H3-if00-port0
(I did this because my USB ports seem to switch on their own)
Poll rate: 1000
Port Number: 4532
Run Rigctld when program starts is checked.
Extra command line arguments : box is empty
From fldigi window
Frequency from: cqrlog
Mode from: cqrlog
RST from: default
I don't run fldigi and cqrlog at the same time.
I also have to stop rigctl manually after CQRLog exits.
I am using opensuse 12.2 and CQRLog 1.5.2
 
73
Rick

Rick, KK4GGL

ok2cqr
ok2cqr's picture
Re: Re:CQRLog will not talk to Icom 746Pro

Mark,
the "default" option means that CQRLOG won't add this parameter to rigctld option and it will use the default parameter defined in HamLib source code. As far as I know, the parity is se to None in source code.
For future experimets would be easier to run rigctl in console where you can try as many parameters as you want and don't have to wait till cqrlog starts, closes etc.
 
73 Petr, OK2CQR