No Joy

17 posts / 0 new
Last post
w8sfc
No Joy

I am new to Linux (running Linux Mint 14 32-bit) and have installed a StarTech PCI RS232 serial port card connected to my Icom IC-7000 Xcvr. My settings are as follows:
Rig model: 360
19200 baud
8/N/1
no parity
no hanshake, dtr or dts
I desparately want to bit farewell to Microsoft and this program is my only hold back.
Can anyone tell me what I'm not doing correctly?
TNX & 73
Sid Grant W8SFC
 

k8wdx
Did you make yourself part of

Did you make yourself part of the dial out group??
Terminal:   gksudo gedit /etc/group
Look for dail out group in the list, should be something like dialout group:20, then save, log out then back in see what happens.

Tom K8WDX

w8sfc
No Joy

Thanks for replying, Tom. I type in the command in root terminal and it returns nothing. By the way, when Mint starts, the PC keys up the radio briefly then switches back to receive. I'm pretty sure the serial port card is recognized and installed according to the lit enclosed with it. Mint is accomplishing everything I need except CQRLOG. Bloody frustrating!
As I said, still No Joy.
73,
Sid Grant W8SFC

73
SFC Sid Grant USA (Ret.)

k8wdx
Ok I on the right PC now, you

Ok I on the right PC now, you need to copy and paste   gksudo gedit /etc/group    into terminal, just open terminal copy and paste that command in there, enter your password, another window will open, look for dialout:x:20: put in you pc name, this will also be the same as some of the other entries, then save, it might ask you to save as ect, do that, then log out and log back in, if you have not done this yet, rig control will not work... HTH Tom K8WDX

Tom K8WDX

k8wdx
Also in device put in:

Also in device put in:
/dev/ttyS0
you might have to change the "0" to a 1 or 2 or 3 etc. you are matching the com port, so like in windows if you have more than one you will have to look for it, change your poll rate to 1000 and check the box run rig control when program starts, again HTH let us know what happens.. Tom K8WDX

Tom K8WDX

w8sfc
No Joy

Tom, does it mateer if I'm using the KDE desktop or should I use another such as Mate or Cinnamon?

73
SFC Sid Grant USA (Ret.)

k8wdx
I dont think it maters which

I dont think it maters which distro, you still need to run the comand, It is very easy to do, run the comand hit enter and that window pops up, make the changes and that part will be ok, dont forget to log in and out or restart the pc. untill you do this rig control will not work, Tom K8WDX

Tom K8WDX

w8sfc
No Joy

Did all that was recommended but still no joy. Not sure I have the serial port working. I fear that this program is "not ready for prime time". Any suggestions?
73

73
SFC Sid Grant USA (Ret.)

ok2cqr
ok2cqr's picture
Re: No Joy

Hi Sid,
 
are you member of dialout group? Maybe that is the problem, you can't access serial ports. if you enter  group to terminal and hit enter, you'll get list of you are member of.
 
73 Petr, OK2CQR

ZL2APV
group = groups

Slight typo enter groups not group into the terminal to get your group listing
 
73 Graeme ZL2APV

k8wdx
Dont give up, eventually it

Dont give up, eventually it will work, Try to put everything to default except the serial speed use what is recomended and dont forget to set up the rig with the correct serial speed..Tom K8WDX
BTW try and change the port # such as /dev/ttyS4 etc, I know on my other pc that I had to add a serial card it does not use /dev/ttyS0 I have to set it as /dev/ttyS4 also you might want to load up Fldigi, and try and get rig control there first, this will confirm settings, I found it easier to do that first.. HTH

Tom K8WDX

k5tri
Hi,

Hi,

Let's try this again. FIrst you need to determine which port you actually need to use and if your card was recognized. Type the following in the terminal:

dmesg | grep ttyS

This will give you something like this:

mschulz@gondor:~$ dmesg |grep ttyS
[    1.577376] 0000:02:00.0: ttyS4 at I/O 0xdc00 (irq = 17) is a ST16650V2
[    1.598584] 0000:02:00.1: ttyS5 at I/O 0xd880 (irq = 18) is a ST16650V2

The above is from my machine. I also use a PCI serial card and since Kernel 3.x they come up as 4 & 5. Before they were 0 & 1. It doesn't really matter. The fact that your radio keys up on boot is a good indication that your card works as the OS is pulling RTS high on boot which might key your radio.

Now you need to add you user to the proper group. That is your useraccount name, not as mentioned before your PC name. The file you need to edit is /etc/group (not groups). You need to do this as root, so either become root* or prefix your command with sudo.

mschulz@gondor:~$ sudo vi /etc/group
[sudo] password for mschulz:

After you entered your password you're in the best editor there is. Now go find the following line:

dialout:x:20:

When you reached that line, press Shift-A which will automatically put the cursor at the end of the line in insert mode. Type your username (mschulz in my case) and press ESC. Now enter :x which saves and exits vi (the editor).

Next up let's see if you can read something from your radio. I assume that your serial port is /dev/ttyS4 and speed is set on your radio to 57600. Enter the following:

mschulz@gondor:~$ rigctl -m 360 -r /dev/ttyS4 -s 57600

This should give you the command prompt from rigctl and you could query your radio like this:

Rig command: f
Frequency: 14036221

Now here's the important thing: do not use any of the GUI tools. Use the command line. The reason is pretty simple: error messages! You see them when using the command line.

Linux is not Windows. That is always important to keep in mind. If you switched to Linux to get a better or more stable Windows, then you will be disappointed. Linux is a UNIX like OS with all it's lovelyness and quirks but also all it's power.

UNIX is very user friendly. It's just very selective of who it's friends are :)

73 Mike K5TRI

 

 

w8sfc
No Joy

Mike,
Did as you directed and using the root terminal, I was able to communicate with the rig thru /dev/ttyS0, BUT I cannot get CQRLOG to communicate with rig. The TRX control settings are:
serial speed:19200 , data: 8, stop: 1, parity: none, handshake: none, DTR: on, RTS: off
The TRX view window displays nothing from the rig. Also, CQRLOG TRX configuration is set to run rigctld when program starts.
Any suggestions? I really like Linux and want to dump Microsoft and HRD, so the help that you fellas suggest is appreciated!

73
SFC Sid Grant USA (Ret.)

k8wdx
Sid, I see you have the Data

Sid, I see you have the Data at 8, stop at 1, and parity, none. try to put everything on default, except the serial speed.
In other words, all should be set to default and the serial speed should be set to 19200. HTH Tom K8WDX

Tom K8WDX

w8sfc
No Joy

There is now JOY! Gents, all your help paid off! Setting everything less the serial speed did the trick. Can now finally bid Microsoft goodbye. Boy have I ever learned a lot. TNX again & 73.
Sid Grant W8SFC

73
SFC Sid Grant USA (Ret.)

k8wdx
I am glad you got it working

I am glad you got it working sid, you have just begun the journy, you will continue to learn, the hard part is you have to forget what you learned with Windows first. The more you learn the more you will find out why we love out Linux machines... God Bless and GDDX!!

Tom K8WDX

ve7eme
I have been working thru this thread

I am in the dialout group, Radio is the Kenwood TS-870s (210), below is the output from terminal when CQRLOG 1.51 is started, then blank log 001 is selected (hope this is not considered "Flooding' here? 
darrel@solusos1 ~ $ cqrlog
Loading libssl: /usr/lib/libssl.so.0.9.8
Loading libcrypto: /usr/lib/libcrypto.so.0.9.8
Loading libmysqlclient: /usr/lib/libmysqlclient.so.16.0.0
Loaded 61127 LoTW users
Loaded 70189 eQSL users
*
User home directory:    /home/darrel/
Program home directory: /home/darrel/.config/cqrlog/
Data directory:         /home/darrel/.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.1
*
/usr/sbin/mysqld --defaults-file=/home/darrel/.config/cqrlog/database/my.cnf --default-storage-engine=MyISAM --datadir=/home/darrel/.config/cqrlog/database/ --socket=/home/darrel/.config/cqrlog/database/sock --skip-grant-tables --port=64000 --key_buffer_size=32M --key_buffer_size=4096K
130328 20:44:01 [Note] Plugin 'FEDERATED' is disabled.
130328 20:44:02  InnoDB: Initializing buffer pool, size = 8.0M
130328 20:44:02  InnoDB: Completed initialization of buffer pool
130328 20:44:02  InnoDB: Started; log sequence number 0 44233
130328 20:44:02 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them
130328 20:44:02 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
130328 20:44:02 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.1.66-0+squeeze1'  socket: '/home/darrel/.config/cqrlog/database/sock'  port: 64000  (Debian)
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 210 -r /dev/ttyS0 -t 4532  -s 57600 
RunRigCtld: TRUE
RigDevice:  /dev/ttyS0
RigCtldPort:4532
RigCtldHost:localhost:
RigPoll:    1000
RigSendCWR: FALSE
RigId:      210
 
Starting RigCtld ...
/usr/bin/rigctld -m 210 -r /dev/ttyS0 -t 4532  -s 57600 
rigctld started!
Result0:N
Result1:Y
Result2:Y
Connected to localhost::4532
Command line: /usr/bin/xplanet -config /home/darrel/.config/cqrlog/xplanet/geoconfig -window BC -glare 28 -light_time -range 2.5 -wait 5  -geometry 100x100+10+10 -window_title "CQRLOG - xplanet" -projection azimuthal -background /home/darrel/.config/cqrlog/xplanet/bck.png
CW init
SELECT * FROM profiles WHERE visible > 0 ORDER BY nr
 
SELECT * FROM profiles WHERE nr = 1
 
Error: unrecognized options: BC -glare 28 -light_time -range 2.5 -wait 5 -geometry 100x100+10+10 -window_title CQRLOG - xplanet -projection azimuthal -background /home/darrel/.config/cqrlog/xplanet/bck.png 
Exiting from Options.cpp at line 966
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-CO83NU;Prince George BC;
2013-03-29 03:44:17
.................................
Can anyone spot my problem?
 

Darrel VE7EME