TS-480 suddenly lost rig control

9 posts / 0 new
Last post
aa2up
TS-480 suddenly lost rig control

I have lost rig control on my Kenwood TS-480-SAT. It was working fine after the upgrade to version 1.5.2--until yesterday. I am using Ubuntu 12.04, 64-bit.

My rig control still works fine with Fldigi, so I know it is not a problem with my serial port.

I have been using the same Cqrlog TRX Control settings for many months with no problems. But suddenly rig control is gone. I tried some other settings, but nothing works.

Please help!

Rich, TI7/AA2UP

This is what I get when I start Cqrlog from terminal:

richard@richardsubuntu:~$ cqrlog
Loading libssl: /usr/lib/x86_64-linux-gnu/libssl.so
Loading libcrypto: /usr/lib/x86_64-linux-gnu/libcrypto.so
Loading libmysqlclient: /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
Loaded 57757 LoTW users
Loaded 65896 eQSL users
*
User home directory: /home/richard/
Program home directory: /home/richard/.config/cqrlog/
Data directory: /home/richard/.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/richard/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/richard/.config/cqrlog/database/ --socket=/home/richard/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K
121023 14:01:03 [Note] Plugin 'FEDERATED' is disabled.
121023 14:01:03 InnoDB: The InnoDB memory heap is disabled
121023 14:01:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121023 14:01:03 InnoDB: Compressed tables use zlib 1.2.3.4
121023 14:01:03 InnoDB: Initializing buffer pool, size = 128.0M
121023 14:01:03 InnoDB: Completed initialization of buffer pool
121023 14:01:03 InnoDB: highest supported file format is Barracuda.
121023 14:01:03 InnoDB: Waiting for the background threads to start
121023 14:01:04 InnoDB: 1.1.8 started; log sequence number 1595675
121023 14:01:04 [Note] Server hostname (bind-address): '(null)'; port: 64000
121023 14:01:04 [Note] - '(null)' resolves to '0.0.0.0';
121023 14:01:04 [Note] - '(null)' resolves to '::';
121023 14:01:04 [Note] Server socket created on IP: '0.0.0.0'.
121023 14:01:04 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
121023 14:01:04 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
121023 14:01:04 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
121023 14:01:04 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.24-0ubuntu0.12.04.1' socket: '/home/richard/.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_nr

use cqrlog001

use cqrlog001

SELECT * FROM cqrlog_config

select * from db_version

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

In create
All objects created

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 228 -r /dev/ttyS2 -t 4532 -s 9600 --set-conf=data_bits=8,stop_bits=1,parity=None
RunRigCtld: TRUE
RigDevice: /dev/ttyS2
RigCtldPort:4532
RigCtldHost:localhost:4532
RigPoll: 500
RigSendCWR: FALSE
RigId: 228

Starting RigCtld ...
/usr/bin/rigctld -m 228 -r /dev/ttyS2 -t 4532 -s 9600 --set-conf=data_bits=8,stop_bits=1,parity=None
Config parameter error: Feature not available
rigctld started!
Result0:N
Result1:Y
Result2:Y
Connected to localhost:4532:4532
CW init
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

SELECT * FROM profiles WHERE nr = 1

SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

SELECT * FROM profiles WHERE nr = 1

select locator from profiles where nr = 1

select locator from profiles where nr = 1

1-EK70MN;Costa Rica;
select * from view_cqrlog_main_by_qsodate where qsodate >= '2012-10-18' order by qsodate,time_on

LoadForm: frmNewQSO
2012-10-23 20:01:09

ok2cqr
ok2cqr's picture
Re: TS-480 suddenly lost rig control

Hello Rich,
/usr/bin/rigctld -m 228 -r /dev/ttyS2 -t 4532 -s 9600 --set-conf=data_bits=8,stop_bits=1,parity=None
Config parameter error: Feature not available
please try to set all data bits, stop bits and parity in Preferences to default. It could help. I don't know why hamlib doesn't accept this settings, now. 
 73 Petr, OK2CQR

aa2up
Re: TS-480 suddenly lost rig control

Hello Petr,
Thank you very much for your quick reply. 
I set everything to "default" except the data rate and unfortunately the TRX Control still does not work.  I tried playing with the RTS and DTR settings (which were set to default before) and nothing worked.  Now everything is set at default except the data rate.  I made sure the radio is still set at 9600..  So I am still without TRX control. 
Fldigi works fine.
The only changes to my system were the periodic 12.04 system updates from Ubuntu.  Could it be that one of these updates messed things up?  I have not upgraded to 12.10.
Thank you for your help.  I really appreciate it. 
Rich,  TI7/AA2UP
 

ok2cqr
ok2cqr's picture
Re: TS-480 suddenly lost rig control

Hello Rich,
please try to run from console:
/usr/bin/rigctl -m 228 -r /dev/ttyS2 -s 9600 
and after prompt will appear, please insert
 
f
 
and hit enter. It should return the freq. If it won't help, please add -vvvv parameter to rigctl and try it again. You should get more info what is happening.
 
73 Petr, OK2CQR

aa2up
Re: TS-480 suddenly lost rig control

Petr,
I entered the rigctl command in Terminal and it returned the correct frequency right away.  I did not have to enter -vvvv.
I logged into Cqrlog after that, but still no frequency is displayed.
Could it be something to do with the localhost setting? 
Thank you.
 
Rich

ok2cqr
ok2cqr's picture
Re: TS-480 suddenly lost rig control

I just noticed that you have in host localhost:4532 but there should be only localhost. Program adds the port automatically.
Please remove the :4532 and try it again. If it won't work, please paste here terminal output.
 

aa2up
Re: TS-480 suddenly lost rig control

Petr,
I did as you said with the localhost and it still doesn't work.  I did notice that if I enter /usr/bin/rigctl -m 228 -r /dev/ttyS2 -s 9600 in the console, that is recognized and it returns the correct frequency at the prompt. 
However, on starting Cqrlog from the console the command issued is /usr/bin/rigctld -m 228 -r /dev/ttyS2 -s 9600 --set-conf=data_bits=8,stop_bits=1,parity=None.If I enter this in console it returns Config parameter error: Feature not available.  But if I just enter /usr/bin/rigctld -m 228 -r /dev/ttyS2 -s 9600 without the --set conf statement, the command seems to be accepted in console.  Is there a syntax error in set conf?
I am sorry this is being so difficult.  Thank you very much for trying to help me.
Anyway, this is what I get on starting from console now.
Loading 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 57757 LoTW usersLoaded 65896 eQSL users*User home directory:    /home/richard/Program home directory: /home/richard/.config/cqrlog/Data directory:         /home/richard/.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/richard/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/richard/.config/cqrlog/database/ --socket=/home/richard/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K121025  8:18:03 [Note] Plugin 'FEDERATED' is disabled.121025  8:18:03 InnoDB: The InnoDB memory heap is disabled121025  8:18:03 InnoDB: Mutexes and rw_locks use GCC atomic builtins121025  8:18:03 InnoDB: Compressed tables use zlib 1.2.3.4121025  8:18:03 InnoDB: Initializing buffer pool, size = 128.0M121025  8:18:03 InnoDB: Completed initialization of buffer pool121025  8:18:04 InnoDB: highest supported file format is Barracuda.121025  8:18:04  InnoDB: Waiting for the background threads to start121025  8:18:05 InnoDB: 1.1.8 started; log sequence number 1595675121025  8:18:05 [Note] Server hostname (bind-address): '(null)'; port: 64000121025  8:18:05 [Note]   - '(null)' resolves to '0.0.0.0';121025  8:18:05 [Note]   - '(null)' resolves to '::';121025  8:18:05 [Note] Server socket created on IP: '0.0.0.0'.121025  8:18:05 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them121025  8:18:05 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure121025  8:18:05 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure121025  8:18:05 [Note] /usr/sbin/mysqld: ready for connections.Version: '5.5.24-0ubuntu0.12.04.1'  socket: '/home/richard/.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 cqrlog001use cqrlog001SELECT * 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 228 -r /dev/ttyS2 -t 4532  -s 9600  --set-conf=data_bits=8,stop_bits=1,parity=None,rts_state=ONRunRigCtld: TRUERigDevice:  /dev/ttyS2RigCtldPort:4532RigCtldHost:localhostRigPoll:    500RigSendCWR: FALSERigId:      228Starting RigCtld .../usr/bin/rigctld -m 228 -r /dev/ttyS2 -t 4532  -s 9600  --set-conf=data_bits=8,stop_bits=1,parity=None,rts_state=ONConfig parameter error: Feature not availablerigctld started!Result0:NResult1:YResult2:YConnected to localhost:4532CW initSELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE nr = 1SELECT * FROM profiles WHERE visible > 0 ORDER BY nrSELECT * FROM profiles WHERE nr = 1select locator from profiles where nr = 1select locator from profiles where nr = 11-EK70MN;Costa Rica;select * from view_cqrlog_main_by_qsodate where qsodate >= '2012-10-20' order by qsodate,time_onLoadForm: frmNewQSO2012-10-25 14:18:10
 

aa2up
Re: TS-480 suddenly lost rig control

Petr,
You are not going to believe this, but my rig control just came back.  I was just playing with different settings.  And because nothing else seemed to work, I checked the "Use CWR instead of CW" box.  I tried it that way and nothing happened so I unchecked the CWR box and closed the dialog box.  The TRX Control started working perfectly.  I practically fell off my chair. 
Sorry for taking up so much of your time. I have no idea of what the trouble may have been and why just checking and unchecking that box made the difference..  But let's hope it keeps working now.
Thank you for all of your help and for a fantastic logging program.  I hope to be donating again soon.
Rich,  TI7/AA2UP

ok2cqr
ok2cqr's picture
Re: TS-480 suddenly lost rig control

Hello Rich,
 
this is very strange. CQRLOG should work also without CW or CWR checked. According to console output in last message, it seems that you still had data bit, stop bits etc. set. Please set it to "default" value in drop down list. If you do that, rigctld won't get extra parameters, only rig id, serial port device and serial speed. All other values will be taken from HamLib default parameters. If you find why it didn't work, please let me know. Thank you!
 
73 Petr, OK2CQR