590s and cqr log

6 posts / 0 new
Last post
ik1maf
590s and cqr log

Hello!

As requested by PA1SBM, I open here a new topic.
My ts 590s doesn't talk with cqrlog or fldigi...I tried everything possible but no way...

I have on my pc linux mint 17 and cinnamon.

What can I do?

73 Remo ik1maf

First part of the log:

cqrlog --debug=1 >> log.txt
160227 21:45:38 [Note] /usr/sbin/mysqld (mysqld 5.5.47-MariaDB-1ubuntu0.14.04.1) starting as process 3762 ...
rig_open: error = IO error

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

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

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

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

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

(cqrlog:3758): GLib-CRITICAL **: Source ID 47 was not found when attempting to remove it
ik1maf@ik1maf-Vostro-410 ~ $

And log.txt (sorry I can't attach the 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.0.0
**************************
MySQL version: 5.5
**************************
**********************************
MySQL version assigned: 5.500000000000000000E+00
**********************************
Loaded 91341 LoTW users
Loaded 96900 eQSL users
Loaded 46037 SCP calls
*
User home directory: /home/ik1maf/
Program home directory: /home/ik1maf/.config/cqrlog/
Data directory: /home/ik1maf/.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 231 -r /dev/ttyUSB1 -t 4532 -s 115200
RunRigCtld: TRUE
RigDevice: /dev/ttyUSB1
RigCtldPort:4532
RigCtldHost:localhost
RigPoll: 1000
RigSendCWR: FALSE
RigId: 231

Starting RigCtld ...
/usr/bin/rigctld -m 231 -r /dev/ttyUSB1 -t 4532 -s 115200
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

select * from view_cqrlog_main_by_qsodate where qsodate >= '2016-02-22' order by qsodate,time_on

LoadForm: frmNewQSO
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/ik1maf/.config/cqrlog/database/ik1maf-Vostro-410.pid
Command:
kill 3762
Closing ini file ...
[TGtk2WidgetSet.Destroy] WARNING: There are 1 TimerInfo structures left, I'll free them

PA1SBM
PA1SBM's picture
Hello Remo,

Hello Remo,

Does CQRlog work normal except for the CAT control?

in a console, type groups
Do you see dailout as a group there ?

and, are you sure you have ttyUSB1 , and not ttyUSB0 ?
on the same console do:
sudo cat /proc/tty/driver/usbserial

you will need to give your password for that command. let us know the results.

Alex

ik1maf
Hello

Hello

Thank you Alex, now is ok!
I have to add the dialout (could you tell me why?) and usb port is number 3
I also did not see the clue of k8wdx regarding the dialout.
From the pc I can change band and mode, but not frequency, is it right?
Now I will try with fldigi...

73 remo ik1maf

PA1SBM
PA1SBM's picture
Quote: "I have to add the

Quote: "I have to add the dialout (could you tell me why?)"

Everything has a security within linux. You are either the owner, member of a group, or "other"
the owner of most things in the system is root. But you should never use root as your user within linux (although usually it solves all problems :) )
so the next best thing is to be member of the group that has rights on the item you wanna use. In your case this is a ttySx od ttyUSBx port.
Now in the old days, the ttySx port usually meant you hooked up a telephone modem, which is a serial device, hence the S after tty.
To use the ttySx you have to have rights to that device.
Group dialout has those rights. so adding yourself to this group gives you this rights.

you can see this too:
pa1sbm@HAMPC ~ $ ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Feb 28 11:04 /dev/ttyUSB0

Root being owner, and dailout having read and write rights to the device.

i'll stop here, cause i wanted to keep it short, but there can be told a lot more on this subject, i will not bore you to death with that ;)

73
Alex

PA1SBM
PA1SBM's picture
forgot...

"From the pc I can change band and mode, but not frequency, is it right?"

yeah for as far as i know you can not enter a frequency. I never tried this.
You can double click spots in the dxcluster and it will change to it.

73
Alex

k8wdx
/dev/ttyUSB0

/dev/ttyUSB0
if you only have one USB connected
you have to make yourself part of the dial out group
terminal:
gksudo gedit /etc/group
look for this
dialout:x:20:
then put your user name.
dialout:x:20:tom
then save, and exit, now log out and back in, or reboot machine.
also you may want to update ham apps, such as hamlib etc
trminal:
sudo rm -f /etc/apt/sources.list.d/ubuntu-hams-ppa-*
# type your password when prompted

sudo apt-add-repository ppa:ubuntu-hams-updates/ppa
# press ENTER when prompted

sudo apt-get update
# wait for the "$" prompt to reappear

now go to update manager and refresh, and install, now everything will be up to date and new updates will be auto installed with system updates, this will also update and keep updated Fldigi.
so if not installed do that first.

Tom K8WDX