Page 1 of 1

TS on ARM Linux - Com port only issue?

Posted: Sun Oct 22, 2017 6:54 pm
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

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

Posted: Mon Oct 23, 2017 7:28 am
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.

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

Posted: Tue Oct 24, 2017 11:49 am
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.)