tunerstudio on mac 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

mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

tunerstudio on mac problem

Post by mrchoosy »

Hi everyone,

I'm trying for a couple weeks to run tunerstudio on my mac with no good results. On my windows laptop everything is working fine with great tuning results.
I'm using the same usb to serial adapter which is a Lindy (prolific) and works fine on the windows laptop.

Now I've installed tunerstudio on my mac Ms v2.6.01 (recently updated) and installed the PL2303_MacOSX_v1.5.1 drivers on osx 10.9.4 (first tried with no drivers and later with 3 different prolific drivers)
When I open up tunerstudio, the settings and data rate options are greyed out. I can't load a project or msq file. I've copied my project from the windows laptop with the same negative result.

When I try to open my project the progress bar at the bottom freezes and nothing happens.



any info would be helpful

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

Re: tunerstudio on mac problem

Post by LT401Vette »

When I open up tunerstudio, the settings and data rate options are greyed out.
When I try to open my project the progress bar at the bottom freezes and nothing happens.
Those would be greyed out until a project is open, so it is likely there is an error occurring during project open, so it is never actually getting opened all the way.

My 1st guess would be failure to load the appropriate RXTX driver.

Can you post / send a TunerStudioAppDebug.txt?

Also, can you try downloading the tar.gz linux build. Just extract it anywhere on your hard drive and double click the TunerStudioMS.jar to run it, so it it is any different.
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
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

Hi,

thanks for helping me!

In the debug file there's a line ""could not initialize class gnu.io.RXTXCommDriver thrown while loading gnu.io.RXTXCommDriver"
So you're spot on!

I can't figure out how to install or config this RXTX the right way, tried many drivers with no luck



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

Re: tunerstudio on mac problem

Post by LT401Vette »

Yes, that is likely the trouble.

TunerStudio has RXTX drivers bundled with it, but for some reason on OS X if there are drivers installed to:
/Library/Java/Extensions/

They take precedence.
If you are not using RXTX for any other purpose, I would try deleting the file:
/Library/Java/Extensions/librxtxSerial.jnilib

Then it should find the librxtxSerial.jnilib that is bundled with TunerStudio.
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
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

LT401Vette wrote:...TunerStudio has RXTX drivers bundled with it, but for some reason on OS X if there are drivers installed to:
/Library/Java/Extensions/....They take precedence.
If you are not using RXTX for any other purpose, I would try deleting the file:
/Library/Java/Extensions/librxtxSerial.jnilib...
Phil, that is indeed the problem, I spotted this a while back (10.8+??), and I've not had any issues with Mavericks aka 10.9 at all. I double checked my settings after seeing this post, because I too use Window XP on my laptop, and sync my files through Dropbox, and wanted to make sure I wasn't mistaken. The reason why my RXTX driver was added to the Java/Extensions was a legacy fix thing from running TunerStudio on the Mac from yesteryear.
TS_settings_not_grey.png
TS_settings_active.png
TS_settings_library.png
Mike

PS BTW, sometimes the odd bit of unsigned app is not installed, and it's easy to miss the dialog box when installing software off the web. You can check this by going into System Preferences>Security, and they be a comment about an outstanding "non trusted" apps etc, which you can then install after authorising.
Last edited by 24c on Thu Jul 24, 2014 3:05 pm, edited 1 time in total.
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

Hi,

file is deleted, when I inserted the cable in the USB slot, this message pops up right away


The system extension'/Library/Extensions/osx-pl2303.kext' is not installed properly and can't be used. Please install again

When I try the command ls /dev/tty.* in the terminal, I can still see "/dev/tty.usbserial" and in the Aplle configuration USB menu I see

USB-Serial Controller D:

Productcode: 0x2303
Fabrikantcode: 0x067b (Prolific Technology, Inc.)
Versie: 4.00
Snelheid: Maximaal 12 Mb/sec
Fabrikant: Prolific Technology Inc.
Locatiecode: 0xfa143000 / 6
Beschikbare stroom (mA): 100
Vereiste stroom (mA): 100

Hope this may help to solve the problem
Last edited by mrchoosy on Thu Jul 24, 2014 3:22 pm, edited 1 time in total.
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

mrchoosy,
What does it say if you "get Info" on your .kext>
get_info_kext.png
Mike

PS Have you restarted the Mac?

PPS If you're OK using terminal type this in

Code: Select all

sudo kextload /System/Library/Extensions/osx-pl2303.kext/
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

mrchoosy,

You have edited your previous post, so what do you see in the System/Library/Extension...is the osx_pl2303.kext here like this?
pl2303_location.png
Mike
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

I've tried the sudo and typed my password, when asked for. After that nothing happened

Here's the screenshot
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

Yep, it's there ; )
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

mrchoosy wrote:... After that nothing happened...
What does this mean? If you plug in the USB cable, there is no dialog box now or what?
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

I saw this
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

mrchoosy
Your extension is in the wrong directory, looking at your attachment, it is definitely in the wrong place. You put it in this directory (this is my folder below with NO .kext)
Screen Shot 2014-07-24 at 23.47.20.png
Screen Shot 2014-07-24 at 23.40.39.png
So delete this one and make sure one is added here
Screen Shot 2014-07-24 at 23.40.39.png
Mike
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

The file was indeed in the wrong but the exact same file was also in the right place. I' ve deleted the wrong one.
I think this looks better now.

Getting closer...
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

OK mrchoosy,

If you Get Info on the OSX-pl2303.kext, the permission should be system wide now, or if you use Terminal and this again,

Code: Select all

ls /dev/tty.*
You should see some changes from before. Do you?

Mike
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

This is what I see now,pl2303-003014FA is added to the list tunerstudio is working right now!!! Thanks a lot!!!



Now setting up the port, gonna give it a try...
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

hallo mrchoosy
mrchoosy wrote:... tunerstudio is working right now!!! Thanks a lot!!!...
graag gedaan & goedenacht :D

Mike
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

Not there yet

port test failed


Or do I need to restart first?


Thanks Mike
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: tunerstudio on mac problem

Post by 24c »

Yes, mrchoosy, in my experience, it's always better to Restart, that way the extensions load correctly.

Mike
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
mrchoosy
Helpful MS/Extra'er
Posts: 99
Joined: Wed Feb 26, 2014 1:43 pm
Location: Belgium

Re: tunerstudio on mac problem

Post by mrchoosy »

Hi Mike,

I still have the port failure after restart (not connected to the car's MS2)

Kristof
Post Reply