TS + Ubuntu serial port not found

For discussing Phil Tobin's TunerStudio MS is the MegaSquirt edition of TunerStudio, a next generation tuning application. It provides the ability to configure and tune all MegaSquirt controllers and is 100% compatible with MegaTune ini files and msq's.

Moderator: LT401Vette

Post Reply
FridgeFreezer
MegaSquirt Newbie
Posts: 19
Joined: Thu May 13, 2004 12:52 am
Location: Gosport, UK
Contact:

TS + Ubuntu serial port not found

Post 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?
LT401Vette
Master Squirter
Posts: 481
Joined: Sat Jul 16, 2005 7:07 am
Location: Charlotte, NC
Contact:

Re: TS + Ubuntu serial port not found

Post 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.
Phil Tobin
EFI Analytics, helping to simplify EFI with Next Generation tuning software.
http://www.tunerstudio.com/
http://www.efiAnalytics.com/MegaLogViewer/
Android Shadow Dash MS: http://tunerstudio.com/index.php/shadowdashmsmenu
FridgeFreezer
MegaSquirt Newbie
Posts: 19
Joined: Thu May 13, 2004 12:52 am
Location: Gosport, UK
Contact:

Re: TS + Ubuntu serial port not found

Post 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.
Post Reply