TS on ARM Linux - Com port only issue?

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
turbogrill
Helpful MS/Extra'er
Posts: 66
Joined: Thu Aug 18, 2016 5:40 am

TS on ARM Linux - Com port only issue?

Post by turbogrill »

Hi,

What is the issue with getting Tunerstudio running on ARM Linux?
Assuming I have the performnce and a working JAVA Is it only to get the COM ports running? (fiddling with JAVA/C libs ).

If would it be enough if I wrote a rxtxcomm.jar for my platform?

Thanks

/ Carl
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: TS on ARM Linux - Com port only issue?

Post by LT401Vette »

For most part, TS no longer uses RxTx. For RS232 it uses JSSC nowadays.
The ARM JSSC drivers are already bundled with it. It works on most ARM platforms out of the box.
There are many RasPi users out there.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
turbogrill
Helpful MS/Extra'er
Posts: 66
Joined: Thu Aug 18, 2016 5:40 am

Re: TS on ARM Linux - Com port only issue?

Post by turbogrill »

Sounds great! Solves my problem.

I managed to run TunerStudio on a Nexus 5x using Linux Deploy. I couldn't get the serial ports visible in Linux, I think fixing this properly would require a lot of work.
But an easy workaround would be to create a custom RXTX jar that communicate with the andriod side using sockets. On the Android side there would be an app with a socket server that would send serial communication to the linux side.

However I dropped the project since it's hard to justify doing anything with this when we have RPI support.

(The reason I want tunerstudio in the race car is so that I can VNC/Remotedesktop into the RPI/Nexus and change settings when the car is in the pit without fiddling with BT or a cable.
Nice side effect is that it's possible to run Autotune while on the track, hard to get the same operation points on the street.)
Post Reply