CQRLOG cannot talk to or key the radio

60 posts / 0 new
Last post
WG9L
CQRLOG cannot talk to or key the radio

Hi,

I am VERY new to Linux and this logging program as well. What I see using CQRLOG so far, has me blown away with all the functionality, performance and screen layout. It seems to be just what I am looking for, to get away from Windows - once and for all.

For many years, I have used DX4WIN on my windows machine without any problems.

Related to PC to radio communications:
I am able to talk to the radio and keyer without any problems, but here on Linux, not so well. On my setup, I am coming out of a USB port on the PC and going to an external USB to Serial interface cable adapter. The PC sees the new port as, COM3. My radio is an FT1000D and no matter how I try to configure the settings (I even tried the settings Tom, K8WDX had on his YouTube channel) and they didn't solve the problem either. My settings using DX4WIN are the following:
Radio: FT1000
Port: COM3
Address: 26
Baud: 4800
Parity: 8N2
Pollrate: 500ms
RTS High: Yes
DTS High: Yes
Works great with DX4WIN and N1MM - Nothing on CQRLOG.

As for for the CW keyer interface not working:
I come out of the standard motherboard PC parallel port (0x378) which is the default port number. From there, I have a simple transistor switch keyer interface that is taken directly from the N1MM instructions (same instructions as CT logging program) and this keys the radio without any problems. Again, nothing working with CQRLOG.

System:
Linux Mint 17.2 Cinnamon

Can anyone offer any help? I REALLY want to completely get away from Windows, but my primary contact logging program needs to working properly first.

TNX and 73,

Bob, WG9L

PA1SBM
PA1SBM's picture
Hi Bob,

Hi Bob,

Did you make your user in linux member of the dialout group ?

Com3 would normally translate to /dev/ttyS2 , there are exceptions though
tick "run rigctld at start"
And leave all setting to default except for the serial speed.

b.t.w. Switching to linux takes some time to get used to, but when that happens, you dont want to go nack ;)

73
Alex
PA1SBM

k8wdx
k8wdx's picture
I am with Alex, I struggled

I am with Alex, I struggled at first, then once I got a hang of it, it is actually very easy, and you will discover how bad Windows really is, that being said, you do need to make yourself part of the dial out group,
Terminal:
gksudo gedit /etc/group

then enter your password in the box, a window will open, you are looking for: dialout:x:20:
enter your user name after the 20:, mine looks like this dialout:x:20:tom this will be the same as other entries that you see, then click save, log out, or simply reboot. try again.
your rig model looks like uses either 103 or 104 or 124 or 125, then check box run rig control when CQRlog starts, and port speed, try 38400, make sure you rig is at the same speed. the rest default, for your device, try /dev/ttyS0 you may need to use different # like ttyS1, ttyS2, etc, if you are using USB adapter /dev/ttyUSB0, continue to change port # until you find it, when I first got started I use to get rig control with Fldigi working first, it seemed it was easier with the drop down menu,
once you get it working change your pole speed to 125 and watch how fast the software responds to the VFO.
HTH Tom K8WDX

Tom K8WDX

WG9L
None of these things worked.

None of these things worked. I tried /dev/ttyUSB0 through USB10 and nothing worked. Then I tried /dev/ttyS1 through S10. Again nothing worked. I did the dial out group thingie and that didn't solve it either. I'm stumped... for now.

W1SFR
dial out group

I'm also having rig control problems. It doesn't work. when I type in group dialout stuff, I get the password window, but when I type in my password I get the command prompt and nothing happens.

ok2cqr
ok2cqr's picture
Re: None of these things worked.

Open a terminal window and type this:

cqrlog --debug=1 >> log.txt

hit enter, open the log, close the application and paste the file as attachment here to the forum.

W1SFR
cqrlog debug results

(precise)w1sfr@localhost:~$ cqrlog --debug=1

**** DEBUG LEVEL 1 ****

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 90686 LoTW users
Loaded 96391 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/w1sfr/
Program home directory: /home/w1sfr/.config/cqrlog/
Data directory: /home/w1sfr/.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
*
160211 9:59:45 [Note] /usr/sbin/mysqld (mysqld 5.5.47-0ubuntu0.12.04.1) starting as process 3342 ...
160211 9:59:45 [Note] Plugin 'FEDERATED' is disabled.
160211 9:59:45 InnoDB: The InnoDB memory heap is disabled
160211 9:59:45 InnoDB: Mutexes and rw_locks use GCC atomic builtins
160211 9:59:45 InnoDB: Compressed tables use zlib 1.2.3.4
160211 9:59:45 InnoDB: Initializing buffer pool, size = 128.0M
160211 9:59:45 InnoDB: Completed initialization of buffer pool
160211 9:59:45 InnoDB: highest supported file format is Barracuda.
160211 9:59:45 InnoDB: Waiting for the background threads to start
160211 9:59:46 InnoDB: 5.5.47 started; log sequence number 1595675
160211 9:59:46 [Note] Server hostname (bind-address): '0.0.0.0'; port: 64000
160211 9:59:46 [Note] - '0.0.0.0' resolves to '0.0.0.0';
160211 9:59:46 [Note] Server socket created on IP: '0.0.0.0'.
160211 9:59:46 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
160211 9:59:46 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_history_long' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'setup_consumers' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'setup_instruments' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'setup_timers' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'performance_timers' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'threads' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'file_summary_by_instance' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'mutex_instances' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'rwlock_instances' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure
160211 9:59:46 [ERROR] Native table 'performance_schema'.'file_instances' has the wrong structure
160211 9:59:46 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.5.47-0ubuntu0.12.04.1' socket: '/home/w1sfr/.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

ok2cqr
ok2cqr's picture
Re: cqrlog debug results

This debug output is nice but that is not what I need :). Now please open the log and paste here the part around rigctld.

WG9L
Here is my debug file results

Here is my debug file results - WG9L

cqrlog --debug=1 >> log.txt
160211 23:21:07 [Note] /usr/sbin/mysqld (mysqld 5.5.47-MariaDB-1ubuntu0.14.04.1) starting as process 4766 ...
rig_open: error = IO error

(cqrlog:4762): GLib-CRITICAL **: Source ID 12 was not found when attempting to remove it

(cqrlog:4762): GLib-CRITICAL **: Source ID 11 was not found when attempting to remove it

(cqrlog:4762): GLib-CRITICAL **: Source ID 44 was not found when attempting to remove it

(cqrlog:4762): GLib-CRITICAL **: Source ID 43 was not found when attempting to remove it

(cqrlog:4762): GLib-CRITICAL **: Source ID 49 was not found when attempting to remove it

(cqrlog:4762): GLib-CRITICAL **: Source ID 48 was not found when attempting to remove it

ok2cqr
ok2cqr's picture
Re: Here is my debug file results

Could you add to this forum also the log.txt file, please? It will be in your home directory. Thanks!

W1SFR
log.txt file

**** DEBUG LEVEL 1 ****

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 90686 LoTW users
Loaded 96391 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/w1sfr/
Program home directory: /home/w1sfr/.config/cqrlog/
Data directory: /home/w1sfr/.config/cqrlog/database/
Memebers directory: /usr/share/cqrlog/members/
ZIP code directory: /usr/sh
Status information:

Current dir: /home/w1sfr/.config/cqrlog/database/
Running threads: 3 Stack size: 262144
Current locks:
lock: 0x7fd334053210:

lock: 0x7fd33404ff00:

lock: 0x7fd33404a7c0:

lock: 0x7fd3340459d0:

lock: 0x7fd334041760:

lock: 0x7fd33403d9e0:

lock: 0x7fd33401a990:

lock: 0x7fd34fc0d260:

lock: 0x7fd34fc0d920:

lock: 0x7fd34fc0d860:

lock: 0x7fd34fc0d7a0:

lock: 0x7fd34fc0d3e0:

lock: 0x7fd34fc0d320:

lock: 0x7fd34fc0d1a0:

lock: 0x7fd34fc0d0e0:

lock: 0x7fd34fc0d020:

lock: 0x7fd34fc0d9e0:

lock: 0x7fd34fc0d4a0:

lock: 0x7fd34fc0d6e0:

lock: 0x7fd34fc0d620:

lock: 0x7fd34fc0d560:

lock: 0x7fd34fc0cf60:

lock: 0x7fd34fc0cea0:

lock: 0x7fd34fc0cde0:

Key caches:
default
Buffer_size: 4194304
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0

handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 0
write: 7
delete 0
update: 0

Table status:
Opened tables: 7
Open tables: 7
Open files: 14
Open streams: 0

Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0

Memory status:
Non-mmapped space allocated from system: 10260480
Number of free chunks: 9
Number of fastbin blocks: 0
Number of mmapped regions: 14
Space in mmapped regions: 19947520
Maximum total allocated space: 0
Space available in freed fastbin blocks: 0
Total allocated space: 8076320
Total free space: 2184160
Top-most, releasable space: 2175728
Estimated memory (with thread stack): 30994432

Events status:
LLA = Last Locked At LUA = Last Unlocked At
WOC = Waiting On Condition DL = Data Locked
The Event Scheduler is disabled

Status information:

Current dir: /home/w1sfr/.config/cqrlog/database/
Running threads: 3 Stack size: 262144
Current locks:
lock: 0x7fd34fc0d260:

lock: 0x7fd34fc0d920:

lock: 0x7fd34fc0d860:

lock: 0x7fd34fc0d7a0:

lock: 0x7fd34fc0d3e0:

lock: 0x7fd34fc0d320:

lock: 0x7fd34fc0d1a0:

lock: 0x7fd34fc0d0e0:

lock: 0x7fd34fc0d020:

lock: 0x7fd34fc0d9e0:

lock: 0x7fd34fc0d4a0:

lock: 0x7fd34fc0d6e0:

lock: 0x7fd34fc0d620:

lock: 0x7fd34fc0d560:

lock: 0x7fd34fc0cf60:

lock: 0x7fd34fc0cea0:

lock: 0x7fd34fc0cde0:

Key caches:
default
Buffer_size: 4194304
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0

handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 0
write: 7
delete 0
update: 0

Table status:
Opened tables: 7
Open tables: 0
Open files: 0
Open streams: 0

Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0

Memory status:
Non-mmapped space allocated from system: 10260480
Number of free chunks: 11
Number of fastbin blocks: 0
Number of mmapped regions: 14
Space in mmapped regions: 19947520
Maximum total allocated space: 0
Space available in freed fastbin blocks: 0
Total allocated space: 8073728
Total free space: 2186752
Top-most, releasable space: 2175728
Estimated memory (with thread stack): 30994432

Events status:
LLA = Last Locked At LUA = Last Unlocked At
WOC = Waiting On Condition DL = Data Locked
The Event Scheduler is disabled

**** DEBUG LEVEL 1 ****

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 90686 LoTW users
Loaded 96391 eQSL users
Loaded 46037 SCP calls
/home/w1sfr/.config/cqrlog/database/localhost.pid
Command:
kill 15734
*
User home directory: /home/w1sfr/
Program home directory: /home/w1sfr/.config/cqrlog/
Data directory: /home/w1sfr/.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
*
select * from tables where table_schema = 'cqrlog_common'
**** DEBUG LEVEL 1 ****

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 90686 LoTW users
Loaded 96391 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/w1sfr/
Program home directory: /home/w1sfr/.config/cqrlog/
Data directory: /home/w1sfr/.config/cqrlog/database/
Memebers directory: /usr/share/cqrlog/members/
ZIP code directory: /usr/sh
Status information:

Current dir: /home/w1sfr/.config/cqrlog/database/
Running threads: 3 Stack size: 262144
Current locks:
lock: 0x7f0720053210:

lock: 0x7f072004ff00:

lock: 0x7f072004a7c0:

lock: 0x7f07200459d0:

lock: 0x7f0720041760:

lock: 0x7f072003d9e0:

lock: 0x7f072001a990:

lock: 0x7f073c7c4260:

lock: 0x7f073c7c4920:

lock: 0x7f073c7c4860:

lock: 0x7f073c7c47a0:

lock: 0x7f073c7c43e0:

lock: 0x7f073c7c4320:

lock: 0x7f073c7c41a0:

lock: 0x7f073c7c40e0:

lock: 0x7f073c7c4020:

lock: 0x7f073c7c49e0:

lock: 0x7f073c7c44a0:

lock: 0x7f073c7c46e0:

lock: 0x7f073c7c4620:

lock: 0x7f073c7c4560:

lock: 0x7f073c7c3f60:

lock: 0x7f073c7c3ea0:

lock: 0x7f073c7c3de0:

Key caches:
default
Buffer_size: 4194304
Block_size: 1024
Division_limit: 100
Age_limit: 300
blocks used: 0
not flushed: 0
w_requests: 0
writes: 0
r_requests: 0
reads: 0

handler status:
read_key: 0
read_next: 0
read_rnd 0
read_first: 0
write: 7
delete 0
update: 0

Table status:
Opened tables: 7
Open tables: 7
Open files: 14
Open streams: 0

Alarm status:
Active alarms: 0
Max used alarms: 0
Next alarm time: 0

WG9L
Hi Petr,

Hi Petr,

I still can't get the PC and the radio to talk to each other. I'm getting frustrated. I've tried every combination I could think of and still nothing. I have attached my log.txt file here. I appreciate your help and congratulate you on an excellent program that you have donated to the amateur community.

>>

**** DEBUG LEVEL 1 ****

Loading libssl: /usr/lib/i386-linux-gnu/libssl.so
Loading libcrypto: /usr/lib/i386-linux-gnu/libcrypto.so
Loading libmysqlclient: /usr/lib/i386-linux-gnu/libmysqlclient.so
**************************
MySQL version: 5.5
**************************
**********************************
MySQL version assigned: 5.500000000000000000E+00
**********************************
Loaded 90686 LoTW users
Loaded 96391 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/bob/
Program home directory: /home/bob/.config/cqrlog/
Data directory: /home/bob/.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
*
Trying to connect to database
Server connect failed.
Trying:1
Trying to connect to database
Server connect failed.
Trying:2
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

use cqrlog001

use cqrlog001

use cqrlog001

SELECT * FROM cqrlog_config

select * from db_version

select * from cqrlog_common.db_version

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 103 -r /dev/ttyUSB2 -t 4532 -s 38400
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB2
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 500
RigSendCWR: FALSE
RigId: 103

Starting RigCtld ...
/usr/bin/rigctld -m 103 -r /dev/ttyUSB2 -t 4532 -s 38400
rigctld started!
Connected to localhost:4532

Settings:
-----------------------------------------------------
RotCtldPath:/usr/bin/rotctld
RotCtldArgs:
RunRotCtld: FALSE
RotDevice:
RotCtldPort:4533
RotCtldHost:localhost
RotPoll: 500
RotId: 1

rotctld started!
Connected to localhost:4533
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

1
2
3
4
5
6
Closing Details window
select count(*) from cqrlog001.cqrlog_config

Saving ini file to database
select count(*) from cqrlog001.cqrlog_config

Saving ini file to database
1
2
3
4
5
6
Closing DXCluster window
Closing TRXControl window
Closing GrayLine window
Closing dDXCC
Deleting config file: cqrlog.cfg
Deleting config file: 1cqrlog.cfg
Closing dData
/home/bob/.config/cqrlog/database/bob-Linux.pid
Command:
kill 3512
Closing ini file ...

**** DEBUG LEVEL 1 ****

PA1SBM
PA1SBM's picture
Hi Bob,

Hi Bob,

I see you set up RigDevice: /dev/ttyUSB2
Are you sure that this is the correct port?

in a shell box can you type this command: ls /dev/ttyUSB*
and the post that? It should list all the USB/rs232 ports connected.

I think that Windows uses com 3 because of the 2 onboard rs232 ports (even if they do not exist) but Linux does not make such stupid decisions, and it will list the USB ones seperately , so if you only have 1 usb/rs232 cable, it will be /dev/ttyUSB0.

you will see this when you run the command....

let us know how it goes.

Alex
PA1SBM

k8wdx
k8wdx's picture
Alex is correct, only one usb

Alex is correct, only one usb, will be USB0.

Tom K8WDX

WG9L
OK guys, I got it working !

OK guys, I got it working ! TNX

I had settings that were both good and bad in my particular instance. First of all... USB0 was the correct setting. You guys were correct. Now my setup device is listed as /dev/ttyUSB0

Next, I set all radio one serial parameters to default... EXCEPT for the Serial Speed. I set that to 4800 and, Voila! Radio now talks to PC.

I'm just starting down the Linux path and so far, I've encountered several hick-up's and several setbacks, but I've also learned a few things. I expected problems getting everything to work as it did in the Windoze world, but I was determined to get it working.

Thanks again, everyone. I REALLY appreciate it.

73, Bob, WG9L
Here's what I needed to do in order for the PC to talk to the radio.

WG9L
Please disregard the last

Please disregard the last line of my previous post.
"Here's what I needed to do in order for the PC to talk to the radio."
I'm not sure how that got in there.

Bob

PA1SBM
PA1SBM's picture
Hi Bob,

Hi Bob,

Great that you got your rig working!
I never have seen anyone not get to that stage though....

I am certified by bill in microsoft crap, it makes a great living, but use Linux and Mac for myself.
The biggest thing i see as a problem with changing from Windows to Linux or Mac is that people have the tendency to clap on to how windows works. this is logical as that is the only thing they usually know.
Usually i tell people, when they encounter a problem, to try not to think how they would solve it in windows, but how they think it logically should be solved. Windows is in many points not logical. And wit rs232 usb cables you hit the biggest one. A rs232 port, and a usb cable are not the same....
So why would you call it the same in windows?? i have no clue, but logical it is not.

good luck with CQRLOG. by far the best logging program on Linux, and in my opinion on any platform

Alex

WG9L
Thanks for your help, Alex

Thanks for your help, Alex and all the others. I'm beginning to see the light.
TNX once again and hope to see you down the band.

73, Bob, WG9L

W1SFR
Still can't get rig control

Looks like rigctld is not initiating. I have it checked to start at launch but when I run debug, there is not indication that it has started or even tried to start. rigctld is in /usr/bin/rigctld. I've also tried to run the command to figure out what the /dev/ttyXXX should be but when I put the command in, I just go back to the prompt. Rig is TS-590S with USB output. PC is Acer Chromebook 11 which has 2 USB ports. The USB cable from rig is plugged into the left port. I'm using latest version of Ubuntu with XFCE desktop. I am a NOVICE Linux user.

k8wdx
k8wdx's picture
Take a look here, see if this

Take a look here, see if this helps, you defiantly need to make yourself part of the user group, see post #2 above. dont forget to reboot the machine.

https://www.cqrlog.com/node/1140

Tom K8WDX

k8wdx
k8wdx's picture
opps #3

opps #3

Tom K8WDX

W1SFR
dial out group

I do that and get nothing. It asks for my pw and then takes me back to the prompt.

k8wdx
k8wdx's picture
Try this in terminal

Try this in terminal

sudo adduser dialout
sudo reboot

Tom K8WDX

k8wdx
k8wdx's picture
sudo adduser (the user you

sudo adduser (the user you want to add) dialout
sudo reboot

Tom K8WDX

k8wdx
k8wdx's picture
Another good read on adding

Tom K8WDX

W1SFR
I'm in the dialout group and still no joy

Hi Tom, Here's what I know. I'm in the dialout group. My radio is plugged into USB0 and everything is set in the config. I still don't think rigctld is working at all, even though the program is where it should be etc.

PA1SBM
PA1SBM's picture
Did you check the checkbox to

Did you check the checkbox to start rigctld when program starts?
take a screenshot from your trx control settings
and start cqrlog from the commandline with --debug=1
Paste the startup in here.
This should shed some light on your situation.

73
Alex

W1SFR
Log and pix of setup

Hi Alex. Here's the info you asked for. 73, Steve

File: 

W1SFR
Picture of setup screen

screen shot

File: 

ok2cqr
ok2cqr's picture
Re: Picture of setup screen

Please set Poll rate to 1500. If you set the poll rate to low value, rigctld sometimes has a problem to talk with the radio.

I have TS-590SG and had to set poll rate to 1500. Also had to compile git version of hamlib to get it work but I suppose it's not needed with TS-590.

PA1SBM
PA1SBM's picture
Hi Stephen,

Hi Stephen,

You set up a TS-590, and you set the speed to 9600bps, i do not think that this setting is correct. This set is fairly recent and my 590SG has a default speed of 115200 on the USB port. 9600 is default ONLY for the rs-232 not the USB port.
Look at what speed is set in menu item 62 on your ts590s.
If my hunch is right, it is set to 115200. If so , set CQRlog to this as well.

All the other stuff you send. om first glance, looks ok.
Let us know how it goes.

73,
Alex

W1SFR
Port speed

Yes,menu item 62 is set for 9600. I tried other speeds with no results....rebooting each time3.

73,
Steve

PA1SBM
PA1SBM's picture
Steve,

Steve,

Just had another look through your log.....
Do you have a config set in radio2 ?
It looks like cqrlog tries to set up 2 different rigs on ttyUSB0
That might not work.. If so clear that..

Also i would advise to set the ts590 usb config back to default, or if u have a slow pc to 56k or so. Also start off with the poll interval at the default of 500. Tweak that when you have it working.

Let us know how it goes...

73
Alex

W1SFR
Config

There is no config in Radio 2. I changed speeds to 57600 on radio and CQRLOG, changed poll to 500...rebooted...still nothing. I can't begin to tell you how frustrating this is for me. I've been at this off and on for 4 weeks now. Seems like there may be a fundamental problem within Ubuntu? I just upgraded and updated to 14.04 thinking I might have to re-set something, but still nothing. BTW...thanks for your help. I know this must be frustrating for you as well. 73, Steve—W1SFR

k8wdx
k8wdx's picture
115200 port speed in cqrlog

115200 port speed in cqrlog and your rig. Pole rate does not matter, everything else should be default in the drop downs, /dev/ttyUSB0

Tom K8WDX

ra2ft
my ts590 isn't connected

my ts590 isn't connected without libhamlib2 ++ C
I installed the package through Synaptic (Mint 17.2 -64 + CQRLOG 1.9)
73. Yuri

PA1SBM
PA1SBM's picture
Steve,

Steve,

I am downloading ubuntu 14.04 as i type this...
I'll have a look at it if i can get my ts590 to work there.

Alex

PA1SBM
PA1SBM's picture
Hi Steve,

Hi Steve,

I just installed Ubuntu in a virtualbox, and configured the serial stuff in virtual box which is a pain. I installed cqrlog on it and it works without any problems. It's a default installation , only updated, so no reason it should not work on your system.

What timezone are you in?
If you want, we could do a Skype session with teamviewer if the time difference is not too bad, or we need to find a spot in the weekend.

I am intrigued what your problem is.....
Sometimes it can be a pain up the bumm to get communications working , but never so bad as it is with you.

You can add my Skype, just search for PA1SBM.
Usually when it says i am available, i am indeed available , but please drop me a text msg be for calling. kust in case i am sleeping and forgot to log off Skype on my phone.... :)

73
Alex

W1SFR
Skype

Time Zone -5. What's a good time of day for you Alex?

PA1SBM
PA1SBM's picture
I am at +1 so we differ 6 hrs

I am at +1 so we differ 6 hrs....
On sunday i have the most time, and untill 23:00 my time, 17:00 your time, i can make it. what time do you prefer ?

Alex

p.s. can you install teamviewer? just download it at teamviewer.com

W1SFR
Team viewer meeting time

Hi Alex. Let's try 19:00 your time. That would be 13:00 my time. Should I put teamviewer on a different machine? I have an android tablet, and iPhone and the Acer Chromebook that I'm trying to use for logging with CQRLOG.

73
Steve

PA1SBM
PA1SBM's picture
teamviewer must be on the pc

teamviewer must be on the pc/laptop you have CQRlog on :)
And 13:00 your time should be ok.

Alex

W1SFR
Teamviewer load issues

What a surprise. Seems like everytime I go to install something, there's an issue. Error msg attached. 73, Steve

File: 

PA1SBM
PA1SBM's picture
hehehe....
ja6ljn
CQRLOG can't talk to TS-590SG (CWint connect to hamlib FAILED)

Hi,

I recently bought a TS-590SG transceiver, and trying to connect the radio to CQRLOG with no luck.
The debug output says CWint connect to hamlib FAILED.
How can I fix this problem?
Any suggestions would be appreciated.

Here is some of the set-up info.
Radio:TS-590-SG firmware ver. 1.02
OS: UBUNTU 15.10 (64 bit)
CQRLOG:1.9.1

dmesg output for the usb-serial converter:
[ 17.992199] usbserial: USB Serial support registered for pl2303
[ 17.992219] pl2303 3-2:1.0: pl2303 converter detected
[ 18.004151] usb 3-2: pl2303 converter now attached to ttyUSB0

So, I assigned USB-serial converter to /dev/ttyusb0 in the TRX control section of "Preferences".
RIG model:237 Kenwood TS-590SG
Poll rate 500. I tried 1500, but no luck.
Port Number:4532
Serial speed:9600
Data bits :8
Other settings ;defalt
gksudo gedit /etc/group gives following output:dialout:x:20:kazumasa (my use name)

cqrlog --debug=1 >> log_ja6ljn.txt gives following output:
**** DEBUG LEVEL 1 ****

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.1.0
**************************
MySQL version: 5.6
**************************
**********************************
MySQL version assigned: 5.600000000000000000E+00
**********************************
Loaded 91341 LoTW users
Loaded 96854 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/kazumasa/
Program home directory: /home/kazumasa/.config/cqrlog/
Data directory: /home/kazumasa/.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.6
*
Trying to connect to database
Server connect failed.
Trying:1
select * from tables where table_schema = 'cqrlog_common'

SELECT log_nr,log_name FROM cqrlog_common.log_list order by log_nr

use cqrlog006

use cqrlog006

use cqrlog006

use cqrlog006

use cqrlog006

SELECT * FROM cqrlog_config

select * from db_version

select * from cqrlog_common.db_version

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

SELECT * FROM cqrlog_common.dxcc_ref ORDER BY ADIF

Settings:
-----------------------------------------------------
RigCtldPath:/usr/bin/rigctld
RigCtldArgs:-m 237 -r /dev/ttyUSB0 -t 4532 -s 9600 --set-conf=data_bits=8
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB0
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 1500
RigSendCWR: FALSE
RigId: 237

Starting RigCtld ...
/usr/bin/rigctld -m 237 -r /dev/ttyUSB0 -t 4532 -s 9600 --set-conf=data_bits=8
rigctld started!
Connected to localhost:4532

Settings:
-----------------------------------------------------
RotCtldPath:/usr/bin/rotctld
RotCtldArgs:
RunRotCtld: FALSE
RotDevice:
RotCtldPort:4533
RotCtldHost:localhost
RotPoll: 500
RotId: 1

rotctld started!
Connected to localhost:4533
CW init
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

SELECT * FROM profiles WHERE nr = 4

SELECT * FROM profiles WHERE visible > 0 ORDER BY nr

SELECT * FROM profiles WHERE nr = 4

select locator from profiles where nr = 4

select locator from profiles where nr = 4

4-PM53IU;Mizumaki_JCG40004;
select * from view_cqrlog_main_by_qsodate where qsodate >= '2016-02-12' order by qsodate,time_on

LoadForm: frmNewQSO
CWint connect to hamlib FAILED: Error on connect: connection refused
select count(*) from cqrlog006.cqrlog_config

Saving ini Invalid file handle
file to database
Keying over HamLib closed
select count(*) from cqrlog006.cqrlog_config

Saving ini file to database
1
2
3
4
5
6
Closing DXCluster window
Closing TRXControl window
Closing GrayLine window
Closing dDXCC
Deleting config file: cqrlog.cfg
Deleting config file: 6cqrlog.cfg
Closing dData
/home/kazumasa/.config/cqrlog/database/kazumasa-P5K.pid
Command:
kill 2731
Closing ini file ...
[TGtk2WidgetSet.Destroy] WARNING: There are 1 TimerInfo structures left, I'll free them

File: 

ok2cqr
ok2cqr's picture
Re: CQRLOG can't talk to TS-590SG (CWint connect to hamlib FAILE

Hi,

as I wrote many times before :), please set only serial speed and other parameters leave as default.

What version of Hamlib do you have? I had to compile git version to get TS-590SG working.

73 Petr, OK2CQR

PA1SBM
PA1SBM's picture
Hamlib 1.2.15.3 works here

Hamlib 1.2.15.3 works here with the 590SG configured as a 590S (model 231)

ja6ljn
Re: CQRLOG can't talk to TS-590SG

Hi, Petr and Alex
Thank you for your help. but I still can't make cqrlog talk to my TS-590SG.
First of all, I set serial speed and other parameters leave as default, but things didn't change.
I do not know the version of Hamlib, but I think that is the cause that cqrlog can't talk to the TS-590SG.
I have read that to connect TS-590-SG to cqrlog, Hamlib3.0 was needed. Therefore I have downloaded the Hamlib3.01 and tried to install Hamlib3.01 according to the instruction given in the "Install" document of the Hamlib.
Now, I have 2015/6/14 stamped /user/lib/hamlib, /user/bin/rigctld, etc., and 2016/2/14 stamped /home/kazumasa/lib/libhamlib.a, etc., /home/kazumasa/include/hamlib, /home/kazumasa/bin/rigctrld, and so on. Kazumasa is my user name.
This probably means that I have two(2) versions of Hamlib installed in different directories.
I tried to edit /etc/ld.so.conf to add /usr/local/lib, then ran ldconfig. But it did't work.
Now, I'm completely confused, and can't fix the trouble.

Kazumasa,
JA6LJN

dk7ob
hamlib 3.0.1

I also have a TS590SG. It works with cqrlog and hamlib 1.2.5 as TS590S. But it didn't work with wsjtx.

I did exactly what you did to get hamlib 3.0.1, ending up with a rigtld binary in my home directory.

You must change the path to rigctld in the cqrlog settings to point to this binary (in your case /home/kazumasa/bin/rigctrld) and restart cqrlog. It will now use this binary. If everything is working, you can now select the TS590SG in crqlog's rig list.

It's not a mess, it's even the best way to do it since you have not changed anything with the original hamlib installation. Everything is located in your home directory.

You don't need the *.a and *.h files for running rigctld, they are only needed if you want to build application software which uses the hamlib.

ja6ljn
Re: CQRLOG can't talk to TS-590SG

Hi, Petr, PA1SBM,DK7OB

Thank you for your kind help.
I copied new rigctld and rigctl files from /home/kazumasa/bin to /usr/bin folder, and changed usb-serial converter cable to USB cable.
Also, set the speed 115200.
Then, CQRLOG can talk to TS-590SG!!
Thank you again for your advise.
I hope that my experience would be of other TS-590SG owner's help.

PA1SBM
PA1SBM's picture
Kazumasa,

Kazumasa,

You probably did not run 'make install' as root.
all you have to do in the directory of the hamlib package is:
./configure
make
make check
sudo make install

this will (should) replace the previous hamlib.

if you wanna know what version default is, just type: rigctl -v
Do this in your home folder, not in the folder you extracted everything to.

73,
Alex

Pages