help my please, installing ubuntu 12.04, installing cqrlog, rig control ubuntu do not open serial port, i ave 3 fisic serial port dev/ttyS0-1-2 i testing port whidt cutecom ,dont opening, problem in ubuntu?????
tnx 73 de ik4yaz fabrizio
Tue, 2012-05-01 21:24
#1
help cqrlog 1.4 ubuntu 12.04 serial port
Hello Fabrizio,
you are probably not in dialup user group. Open terminal and write there this:
gksudo gedit /etc/group
find the line with will look like this:
dialout:x:20:
and after the second : add your user name. e.g. line in my system looks like this:
dialout:x:20:ok2cqr
where ok2cqr is my username
Save it, log out and log in a it will work.
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
Ubuntu and other Debian derivatives can make some operations in non-standard way. Addition of my user name into dialout group did not help. Finally, I discovered an unexpected "reassign" of my serial ports from ttyS0 and ttyS1 to ttyS4 and ttyS5. Unfortunately, the usual way
sudo dmesg grep | tty
didn't produce any result. Digging into system discovered that there is a configuration file
/var/lib/setserial/autoserial.conf
containing lines:
/dev/ttyS4 uart 16550A port 0xf800 irq 16 baud_base 115200 spd_normal skip_test
/dev/ttyS5 uart 16550A port 0xf400 irq 16 baud_base 115200 spd_normal skip_test
My radio works since I changed the CQRLOG preferences to /dev/ttyS4
Ubuntu has badly defined defaults, the user initially has no access to ports, some devices are hidden (why?)
BTW the addition of the user to the dialout group should be usually done with:
sudo adduser martin dialout
(my user name here is martin)
hi Peter,Martin
I solved my problem, as Peter said
gksudo gedit / etc / group
I looked in the file
dialout: x: 20: ik4yaz
I also changed the parameter tty: x: 5: ik4yaz
ok :)
only detail that I had first ttyS0 (ptt for psk interface) S1 (cat ft897) S2 (cat ft950) now I dev/ttyS0 (ptt for psk) S4 (cat ft897) S5 (cat ft950) ports 1 and 2 are not called from software (mistero!!) but is not important, now everything works, thanks very much.73
Here I am running Ubuntu 12.04 LTS
G4ZLP interface with FTDI serial/USB chip
If I give the command lsmod in the terminal I see this:
ftdi_sio 35859 0
usbserial 37173 1 ftdi_sio
In the CQRLOG parameters I filled in:
/dev/usb/ttyusb0
RIG model 213 (Kenwood TS950)
4800 8 2 N
Handshake = NO and DTR RTS are unset
Hamlib is NOT installed yet, is this really necessary?
I am really a knoob with Linuc/Ubuntu, no experience at all.
Who can help me out? Best 73's Ray PE2KW
Hi Ray,
if you've installed cqrlog from DEB package, Hamlib is installed as dependency. So you have hamlib installed.
I'm sorry I don't know what serial port parameters TS-950 needs. You should find it in TRX manual. Maybe enable DTR and/or RTS?
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com