Running 14.04 LTS on old dual boot (XP) Desktop Celeron 2.66Ghz with IC-756Pro3 and K3, booting with MS XP using Logger32 with my Pro3 into RS232 port1 and the K3 using port 4 that is provided by a 2 port Sunix PCI card set up using a windows driver on the provided cd from the manufacturer, this setup works perfectly when I switch between radios in the Logger32 program, obtaining the RS232 card solved a problem I had with a USB to RS232 converter program previously used to the K3, when I switched to the K3 the noise floor on the P3 panadaptor rose 2 S points, nothing happens with the RS232 setup.
Having been running a laptop with 14.04 on it for some time and very pleased with it, when XP on the other box showed signs of giving trouble I decided it was time to bite the bullet and change to using Linux ALL the time for my primary ham usage, I had a few hickups loading and setting up CQRLOG 1.9.0 but I have learnt a lot about Terminal and handling files in Ubuntu from reading various forum archives and suck it and see! I suceeded in getting my Pro3 running on RS232 tty0 correctly and working great, CQRLOG is an excellent logging program.
However! I have not had any luck getting the 2 port RS232 card to work, the Linux driver file on the CD or one from the Sunix website keeps bombing out when I try loading it, if anyone has a suggestion for that I would be very grateful, however my main enquiry here is when I change over from Radio1 to Radio2 in the Preferences section of CQRLOG to see if I have got lucky and hit the OK button nothing happens, it stays on Radio1 ?
Is it because I have not got the RS232 port problem sorted or is there some other way of changing radios?
73 Wade VK4WM
Fri, 2015-06-12 14:14
#1
Switching from Radio 1 to Radio 2
Dear Wade,
unfortunately I can't help you with your driver issues, but to change radios you use the TRX control window. Go to Windows and then select TRX control and you can switch between the two defined radios.
73
Thank you Corny, so easy when I know how!
Now I am searching to see how I can change the access privileges on a later version of a Sunix RS232 board driver that I have found, however because of my ignorance of linux it appears that when I have been using the "sudo" command too much that files can get changed to root only access some searching has shown me, very frustrating, for once everything was going as per the Sunix instructions up to unpacking and installing the driver and then finding the driver file was locked :( I was not impressed.
73 Wade VK4WM
VK4WM
Latest Linux kernels should recognize Sunix PCI card's RS232 without any driver installs.
It has been so now for several versions of kernel, so if your Ubuntu is not very old thngs sould work.
In my server I have Sunix card for extra RS ports and it has Fedora 17 that does not even have update supports any more and the card has been working since first go.
Only thing that may prevent card working is a setting in kernel that descriibes how many RS232 ports are supported.
Usually this is 4, at least with Fedora's precompiled kernels. As I have 2 RS ports on motherboard and 2 pcs Sunix cards (=4 ports)I have had to compile kernel again by my self.
But it only has been change to maximum supported RSpots amount and then new compile. No extra drivers needed.
I suggest that you find out how many RSports are supported by your Ubuntu's precompiled kernel. Note that there may be some devices on your motherboard that are counted as RS232 ports like IR remote receiver etc...
If there are more ports, taking account your Sunix card, than kernel supports you ever see them working.
In that case change kernel config and compile it again. You find lots of instructions for this from web.
73 Saku
OH1KH
--
Saku
OH1KH
Thank you Saku, I have to repeat that I find Linux a steep learning curve at the moment! so up to now I have been using
setserial -g /dev/ttyS*
to bring up a list of ports, that command shows ALL of what the computer cosiders as ports and that has been very confusing to me, only recently I found this command
sudo dmesg | grep tty
that gave me the following
wade@wade-desktop:~$ sudo dmesg | grep tty [sudo] password for wade: [ 0.000000] console [tty0] enabled [ 1.102001] 00:0a: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 1.174201] 0000:01:00.3: ttyS4 at I/O 0x2020 (irq = 18, base_baud = 115200) is a 16550A [ 1.195150] 0000:06:00.0: ttyS5 at I/O 0x1000 (irq = 21, base_baud = 921600) is a 16550A [ 1.302778] 0000:06:00.0: ttyS6 at I/O 0x1008 (irq = 21, base_baud = 921600) is a 16550A [ 21.623843] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0 wade@wade-desktop:~$
which shows me clearly what you are talking about, ttyS0 is the port my Pro3 is connected to and is the only port enabled, so ttyS4 and ttyS5 must be the RS232 ports on the Sunix board and ttyS6 is probably the old type parallel (I think) printer port that is the Centronics style connector on the back of my old desktop box.
This is going to be interesting, finding out how and then executing (and I hope that isnt what will happen to my computer!) modifying the kernel so ttyS4 is enabled.
Apart from using CQRLog I need that second port so I can update my K3/P3 using the Elecraft Utility Program.
Thanks again for your interest Saku.
73 Wade VK4WM
VK4WM
You could just go on eBay and grep a somehow more normal (chipset wise) rs-232 card from the far east.....They are very cheap, and get delivered for free......This will save you a lot of headaches fiddeling around with kernels....Good luck, AlexPA1SBM
Thank you for your suggestion Alex PA1SBM, but would'nt I have the same problem facing me? please look back at my reply to Saku where I posted the result of using the "sudo dmesg | grep" terminal command on my desk computer, if my limited knowledge of Linux is right I believe that Ubuntu can detect ttyS0, ttyS4 and ttyS5 RS232 ports plus the ttyUSB0 USB port but only the ttyS0 RS232 port is actually enabled, so even if I changed the plugin dual port RS232 card over I would still have to work out how to enable each port on it so they will work? is that right ? or have you had different experience.
73 Wade VK4WM
VK4WM
You may need to mknod /dev/ttyUSBx And also remember to add your user to dialout group.
Im succesfully using 2 cheapest usb to rs232 adpaters from the Bay, and this is the trick Im using for complete happiness:
more /etc/udev/rules.d/99-usb-serial.rulesSUBSYSTEM=="tty", ENV{ID_PATH}=="pci-0000:00:12.0-usb-0:5:1.0", SYMLINK+="ft847"SUBSYSTEM=="tty", ENV{ID_PATH}=="pci-0000:00:13.0-usb-0:1:1.0", SYMLINK+="ts590"SUBSYSTEM=="tty", ENV{ID_SERIAL_SHORT}=="05670031BD0B", SYMLINK+="ts590-usb"
This makes ports named /dev/ts-590 and /dev/ft847, and radios keep the same name after every boot.
73 de EA4TA