Page 1 of 1

TS + Ubuntu serial port not found

Posted: Sun Dec 14, 2014 10:53 am
by FridgeFreezer
This may be a n00b sort of question but I've googled, read the forums, etc. to no avail.

I'm trying to get TunerStudio running on Ubuntu (14.04 LTS) but no matter what I try it will not admit that my serial port exists.

The PC has a hardware serial port and Ubuntu detects it properly:

Code: Select all

$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    1.602638] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
I used stty to set it to the correct baud (ECU is MS-1 running Extra code):

Code: Select all

stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel
I have put myself in the uucp group, copied the librxtxSerial.so file from ./TunerStudioMS/lib/alternateLinuxDrivers/x86_64-linux to ./TunerStudioMS/lib/ and ./TunerStudioMS/ as I read all these suggestions on this forum. However, on trying to create a new project or from an already-created one I can't get any positive result communications-wise - the port test reports "test failed" and "Detect" does not find any serial ports.

I have tried all 3 driver options offered: RS232 Serial, RS232 Alternate Blocking, and Aggressive Driver Reinitialize.
I get no ports listed in the "Port" box, and entering "/dev/ttyS0" or "ttyS0" makes no difference.

What have I missed or what am I doing wrong?

Re: TS + Ubuntu serial port not found

Posted: Sun Dec 14, 2014 1:02 pm
by LT401Vette
In 14.04 they seem to have changed the lock dir. It is now a sym link to /var/lock

Try adding your user the Lock group.

Re: TS + Ubuntu serial port not found

Posted: Mon Apr 13, 2015 2:03 am
by FridgeFreezer
Come back to this after a bit of a hiatus, looks like you need to add yourself to the dialout group (like for modems, remember those?) to get access to the serial port.