RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Problem)

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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Problem)

Post by kingpin3333 »

Hello
I have a connection problem on my Raspberry Pi 3 ... Minimal Image (DietPi), Java installed JNA installed.
I invite the program (current beta) and then I create a new project. When looking for link then comes this error.

Code: Select all

Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:722)
at com.sun.jna.Native.loadNativeLibrary(Native.java:699)
at com.sun.jna.Native.<clinit>(Native.java:114)
at com.ftdi.FTD2XX.<clinit>(FTD2XX.java:129)
at com.ftdi.FTDevice.<clinit>(FTDevice.java:46)
at S.b.s(Unknown Source)
at ae.bg.c(Unknown Source)
at ae.bg.j(Unknown Source)
at ae.bg.b(Unknown Source)
at ae.bm.run(Unknown Source)
I'm not very good in Linux and Java.
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

Nobody an idea?
I really come there not to continue at this point. Currently in the deadlock
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

Looks like the file:
/com/sun/jna/linux-arm/libjnidispatch.so
can't be found...
That should be a JRE library, not part of TunerStudio. Is it a stripped down JRE?

But as a side note, it is failing while loading the D2XX drivers, so it may also be a poor error message when it is actually the D2XX driver is having an issue loading.

But you shouldn't need the D2XX driver, I would expect you to be using the JSSC RS232 driver.
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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

My English is not very good. If I understand correctly now. Tried Tuner Studio driver to load the D2XX. But actually JSSC to be used?

Possibly simply just because the error and the JNA is not needed.

How can I Tuner Studio to bring the JSSC driver to use?

Java 8 JDK is installed.
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

Is TunerStudio starting up fine?
Where are you seeing this error?
What are you doing?
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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

Tuner Studio starts fine.
The Error I see in the "TunerStudioAppDebug.txt"
Currently I'm doing nothing ... because I can build by the error for days not connect to the MS2.

The funny thing is yet. I start Tuner Studio as Lite Version ... he searches for the controller and also finds a connection.
But as soon as I make a full version by my account of it (I have not changed except a reboot) ... he brings the mistake and he does not even look for the controller ... then there it stays on the spot hanging.
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

So it just tested again.
In the Lite version first start after installation. If he seeks from the ports by JSSC.

Then I enter my only full version account data in TS.
Then comes the error is in the first post above.

Can that possibly still be a beta problem!
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

I can't say for sure, I'm still not sure when you are getting this error.

I would guess there is a compatibility problem with the D2XX driver and you have that set for the project. There would be no D2XX driver in the lite version. I could likely protect against that.
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
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

From the stack it looks like it is happening when you are running detect. True?

Does it all work fine if you don't detect and set it to the appropriate com port using RS232?
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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

So...
In the Lite version everything works fine. Connection via RS232.
When I register for the full version. no longer works the Detect function. I can connect to my previously created project via RS232 but still. (Being tested)

Under Comunications man can indeed now types the other Connection select but it does nothing. Neither Detect still test port.

Only RS232 Serial Interface works.

I want to actually join me later Buetooth.
-------


I've also appended the "Debug.txt"
TunerStudioAppDebug.txt
On the first start as Lite ... all wonderful.
The second program is started as a Registered Full ... comes the error.

Also tested on another linux image ... the same error.
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

Hello
Is there now new findings?

I wanted now Bluetooth.
This is not possible for me because Tuner Studio still does not want so.

RS232 Serial Interface works so far
FTDI - D2XX driver not working
Bluetooth is not working

And then ... Is still the problem with the device search in the TS full version
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

The detect problem I understood to be fixed in 2.9.124. I take it you are still seeing an error on the RasPi?

For Bluetooth, are you looking for Direct Bluetooth like on Windows, or just over virtual comms?
Bluetooth Direct is only supported on Windows unfortunately, I don't see that changing in the near future.
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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

I currently have installed the 2.9.127 and detect problem still exists. Still with the same above error.

So bluetooth not available on Unix / Linux / Pi / Mac?

but main problem still remains that detect trouble!
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by LT401Vette »

You can do bluetooth over virtual comms like in the past, but no direct bluetooth.

Can you send/post an actual TunerStudioAppDebug?
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
kingpin3333
MS/Extra Newbie
Posts: 9
Joined: Fri Jun 10, 2016 6:10 am

Re: RaspberryPi3 + TunerStudio + Minimal Image(Java JNA Prob

Post by kingpin3333 »

LT401Vette wrote:Can you send/post an actual TunerStudioAppDebug?
TunerStudioAppDebug.txt
Hello
Here is the current "TunerStudioAppDebug.txt" in version 2.9.127
Somehow I could not send file via PM
Expiration -> Program Start -> new project -> detect device -> then comes the error
Post Reply