RTX control don't works

13 posts / 0 new
Last post
iz1uwp
RTX control don't works

Hi, i'm a very happy user of CQRLOG on Ubuntu 12.04I have connected my Kenwood TS-850S via a USB-rs232 converter and kenwood IF232 interface. TRX control doesn't work....
i have try grig and rigctl on terminal and both are ok, i connect the radio and send and receve the data...
only CQRLOG don't work
my setting are:
radio id 209
4800
8 data bit
2 stop bit
no parity
handshake hardware
dtr off
rts off
 
i'm user of dialup group.
any idea?
thank's
IZ1UWP Giovanni
 
 

UA6CEY
TRX control

Hi Giovanni!
The problem is that CQRLog doesn't run rigctld daemon.
Try to run it manually before CQRLog running. Be sure of your serial port name: ttySx or ttyUSBx, it depends on your system and USB-RS232 converter hardware.
So:
/path/rigctld -m 209 -r /dev/ttyUSBx -s 4800
Be shure your rigctld is running, find it in process list:
ps -ax
If OK, run CQRLog, leave just "localhost" and default port number "4532" at TRX Prefereses window.
It has to work!
 
73! Andrey.

iz1uwp
[quote=UA6CEY]

[quote=UA6CEY]
Hi Giovanni!
The problem is that CQRLog doesn't run rigctld daemon.
Try to run it manually before CQRLog running. Be sure of your serial port name: ttySx or ttyUSBx, it depends on your system and USB-RS232 converter hardware.
So:
/path/rigctld -m 209 -r /dev/ttyUSBx -s 4800
Be shure your rigctld is running, find it in process list:
ps -ax
If OK, run CQRLog, leave just "localhost" and default port number "4532" at TRX Prefereses window.
It has to work!
 
73! Andrey.
[/quote]
 
 
HI Andrey!
 
thank you so much for your help.
 
i have manually launched rigctld daemon and RTX Control works ! ... but.....
 
there is a delay when i try to change band from rtx control, band change after 10 seconds...
 
and now rigctld daemon not works... if i launch them from terminal now the serial port is in I/O error.
 
if i restart ubuntu it works........????
 
i have understand yours last word: in the preference i had to delete localhost and port number or not, and if not all other data on "default" is correct?
 
i have try whit this second configuration.
 
thank you for spend your time for help me
 
73 de giovanni
 

UA6CEY
TRX Control

Hi Giovanni!
If you run rigctld daemon manually (or by using script) be sure to point where CQRLog has to send commands for daemon. So, put these two parameters surely in CQRLog TRX Control Preferences window  - I mean IP address (localhost at your instance) and TCP port number (4532 as a default). The rest of parameters at this window can be ignored, because they are for rigctld start by CQRLog itself. But you started rigctld already.
I have the same situation, my CQRLog doesn't run rigctld. I have no time to analyse. The simplest solution for me is to start daemon by hands. I'll describe a solution if I'll find it later.
As for control delaying and port loosing I think the problem is withing converter hardware. Some of them (made in China or somewhere else) works very unstable.
 
73! Andrey.

iz1uwp
HI Andrey

HI Andrey
thank's for your information
tonigth test other PC on rig with serial port.
new PC ( really OLD PC...) has Ubuntu 10.04, while the pc that i normally use had 12.04
try this.... stay tuned...
by by
Giovanni
 
 

iz1uwp
Hi everyboby

Hi everyboby
Hi Andrey
With the new/old pc whit ubuntu 10.02 and serial port all works with manually start of rigctld.
radio to pc comunication without problem 
pc to radio with the same problem.. too many time to move radio after pushing of the band button....
???????
73 de Giovanni
 

oh2bsc
Delay with changing the radio frequency

Ciao Giovanni,
I have TS-950SDX, and I had the same problem with long delay in changing the frequency. Also sometimes the control seemed to be not working at all. In my case chanching the poll rate in TRX control helped. Try to change the poll rate to longer, e.g. 2000. 
Hope this works for you!
 
73 de Pekka oh2bsc

UA6CEY
Hi Giovanni!

Hi Giovanni!
Well... Check default frequencies at CQRLog TRX Control Prefereces window (button "Check default frequencies"). Maybe something's wrong there.
You said band changes in 10 secs. Check what frequency has RIG after band changin'. Is it equal to default frequency for selected mode?
Generally, band changin' is not a function of rigctld, just a frequency changin'. When you press a "Band" button at TRX Control window, a CQRLog TRX Control utility 'takes' a default frequency (as you tuned according modes) and send it to your RIG. So it's a function of CQRLog itself.
As for me, I leave default frequencies untoched - no need to change them.
73! Andrey
 

iz1uwp
Hi everybody

Hi everybody
news after my test on CQRLOG and RTX Control...
changing the pool rate to 2000, thank's Pekka!, is not good for me, nothink chance...
isn't a problem of default frequency, when change after a seconds, radio set always on default frequency for band and mode... thank's Andrey!
tonight i have try with DXcluster... when i select a spot on cluster and click on it the radio change band and frequency instantly !!!!???? ever !!!
now i have some problem with the old pc with serial and i try using my laptop with usb converter, this configuration is a problem, because some times the control stop works...while with the old pc with serial port i havent this problem...
when rtx non works if i test on terminal the active process i try that rigctld is started... but if i manually launch rigctld from terminal i receve a " rig_open: error = IO error" the same error that is displayed if i launch rigctld without a radio connected.
but this problem is a false problem, because my hope is to resolve problem with old pc with serial port and to use it...
but i have see this problem testing the connection via serial port: if I start rigctld in a terminal and leave it active to monitoring the errors, when I start CQRlog I see a continuos output from rigctld of "command " " not found"
i don't understand, what's happens ?
my question to yours is: if i use grig or rigctl via terminal all works... all works..
why cqrlog use rigctld and not rigctl ???
thank's so much for everyone still  help me !
73 de Giovanni
 
 
 

iz1uwp
if i start CQRLOG from

if i start CQRLOG from terminal this is the result:

...............................................................................

gio@giovanni-Presario-CQ56-Notebook-PC:~$ 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.0.0
Loaded 58093 LoTW users
Loaded 66691 eQSL users
*
User home directory:    /home/gio/
Program home directory: /home/gio/.config/cqrlog/
Data directory:         /home/gio/.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/gio/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/gio/.config/cqrlog/database/ --socket=/home/gio/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K
121204  4:00:02 [Note] Plugin 'FEDERATED' is disabled.
121204  4:00:02 InnoDB: The InnoDB memory heap is disabled
121204  4:00:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121204  4:00:02 InnoDB: Compressed tables use zlib 1.2.3.4
121204  4:00:02 InnoDB: Initializing buffer pool, size = 128.0M
121204  4:00:02 InnoDB: Completed initialization of buffer pool
121204  4:00:02 InnoDB: highest supported file format is Barracuda.
121204  4:00:02  InnoDB: Waiting for the background threads to start
121204  4:00:03 InnoDB: 1.1.8 started; log sequence number 1595675
121204  4:00:03 [Note] Server hostname (bind-address): '0.0.0.0'; port: 64000
121204  4:00:03 [Note]   - '0.0.0.0' resolves to '0.0.0.0';
121204  4:00:03 [Note] Server socket created on IP: '0.0.0.0'.
121204  4:00:03 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
121204  4:00:03 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
121204  4:00:03 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
121204  4:00:03 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.28-0ubuntu0.12.04.2'  socket: '/home/gio/.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 209 -r /dev/ttyUSB0 -t 4532 
RunRigCtld: FALSE
RigDevice:  /dev/ttyUSB0
RigCtldPort:4532
RigCtldHost:localhost
RigPoll:    700
RigSendCWR: FALSE
RigId:      209

rigctld started!
Result0:N
Result1:Y
Result2:Y
Connected to localhost:4532
2012-12-04 03:00:06
CW init
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

2012-12-04 03:00:06
2012-12-04 03:00:06
2012-12-04 03:01:06
2012-12-04 03:02:06
--------------------------------------------

anyone see configuration errors ?

iz1uwp
and this is result testing

and this is result testing group permission:

 

gio@giovanni-Presario-CQ56-Notebook-PC:~$ groups
gio adm tty dialout sudo lpadmin sambashare
gio@giovanni-Presario-CQ56-Notebook-PC:~$

is all ok for yours ?

i don't know.......... :-((((

73 de Giovanni

ok2cqr
ok2cqr's picture
Re: and this is result testing

Hello Giovanni,
 
RunRigCtld: FALSE
please go to Preferences -> TRX control and check Run rigctld after program starts. It should help.
 
73 Petr, OK2CQR

iz1uwp
rtx works

hi everybody

with  yours aid RTX Control works fine !

at the first start rigctld from terminal with this command:

/usr/bin/rigctld --model=209 --rig-file=/dev/ttyUSB0 --serial-speed=4800 --set-conf=dtr_state=OFF, rts_state=OFF

then start CQRLOG with all the right data set on preference plus check on "start rigctld when program start "

all program works, set radio from dxcluster, set the band of radio from rtx control immediatly, set frequency on log when move vfo of the radio... all works very fine

now i only have a problem with usb converter, that many time disconnect the rigctld, but if i disconnect the usb cable and then reconnect, after restat manually rigctld all return to works..... i change it in the future

thank you so much to all of you, UA6CEY Andrey, OH2BSC Pekka and OK2CQR Petr

73 de IZ1UWP Giovanni