Mac 10.7 Missing Driver USB-serial
Moderator: LT401Vette
-
roachdogg28
- MegaSquirt Newbie
- Posts: 8
- Joined: Fri Oct 28, 2011 7:41 pm
Mac 10.7 Missing Driver USB-serial
Also i might be able to get by if i had the bluetooth driver for tunerstudio, but i can't find that one at all. I can pair to the bluetooth serial adapter, but same problem, can't detect any ecu...
Any help is greatly appreciated.
Thanks!
-
roachdogg28
- MegaSquirt Newbie
- Posts: 8
- Joined: Fri Oct 28, 2011 7:41 pm
Re: Mac 10.7 Missing Driver USB-serial
-
LT401Vette
- Master Squirter
- Posts: 481
- Joined: Sat Jul 16, 2005 7:07 am
- Location: Charlotte, NC
- Contact:
Re: Mac 10.7 Missing Driver USB-serial
There is nothing additional for MS1..
The main stumbling block in OS X is drivers for the USB to serial cable, there are none in by default. You almost certainly need a cable based on either the FTDI or Prolific chipsets, which most are.... So you will always need to download the appropriate drivers and install them.
Now it sounds like you are seeing a new com port come up, but it still isn't working..
The cause for that is usually that you have a 32 bit only driver and by default TunerStudio will run as a 64 bit app on OS X.
When there is a 32 bit only driver, the port will show up, but a 64 bit app won't be able to use it
To test this out, you can run TunerStudio in 32 bit mode. If you download the Linux tar.gz install and extract it some where on your hard drive, you will see a file named TunerStudio32.sh
run that and it will start TunerStudio in 32 bit mode and it will be able to use a 32 bit driver.
if that doesn't do it.. Test to see if your com port is actually working. Use screen. Open a terminal and type:
$ screen /dev/tty.usbserial-600*** 9600
then you should get a response to the command S
Again, the easy way with OS X is make sure you have a cable based on FTDI or Prolific, they both offer 64 bit OS X drivers.
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
-
roachdogg28
- MegaSquirt Newbie
- Posts: 8
- Joined: Fri Oct 28, 2011 7:41 pm
Re: Mac 10.7 Missing Driver USB-serial
"Cannot open the line '/dev/tty.usbserial-A600aWqh 9600' for R/W: Resource Busy
Sorry, could not find a PTY"
It also says the same exact thing for the bluetooth profile i created for my bluetooth adaptor, strange...
I could not open the tunerstudio32.sh file on my mac, xcode wants to open it. Is the tunerstudio.jar file the one i should be using to open tunerstudio?
-
LT401Vette
- Master Squirter
- Posts: 481
- Joined: Sat Jul 16, 2005 7:07 am
- Location: Charlotte, NC
- Contact:
Re: Mac 10.7 Missing Driver USB-serial
Normally double clicking TunerStudioMS.jar is the right way to run it, but then it will run in 64 bit mode. Starting it with TunerStudio32.sh will force it to run as a 32 bit app.
You need to run that from a Terminal though...
- Open a Terminal
- cd to the TunerStudio dir
- type:
$ ./TunerStudio32.sh
it should fire up.
Then also, if you can send me your TunerStudioAppDebug.txt for the beta or TunerStudioLogFile.txt for 1.006
If not a driver issue, it might be a permissions issue?? There may be more info in there.
The Resource Busy is an interesting message.. Maybe something else on the computer is grabbing the port?
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
-
roachdogg28
- MegaSquirt Newbie
- Posts: 8
- Joined: Fri Oct 28, 2011 7:41 pm
Re: Mac 10.7 Missing Driver USB-serial
-
LT401Vette
- Master Squirter
- Posts: 481
- Joined: Sat Jul 16, 2005 7:07 am
- Location: Charlotte, NC
- Contact:
Re: Mac 10.7 Missing Driver USB-serial
This command should also work and work with the files where they are:
java -d32 -jar TunerStudioMS.jar
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
-
roachdogg28
- MegaSquirt Newbie
- Posts: 8
- Joined: Fri Oct 28, 2011 7:41 pm
Re: Mac 10.7 Missing Driver USB-serial
Anyway i also tried the bluetooth connection with my adapter and that works too!!! I can go to sleep happy.
Thanks for your help LT401vette!!
Re: Mac 10.7 Missing Driver USB-serial
I finally found the solution at this website: http://xbsd.nl/2011/07/pl2303-serial-us ... -lion.html
Here is the text just in case someone is looking at this years from now and that site is defunct (I hate it when that happens!). I've also included the .kext file that the site references (again in case it goes away in the future). After the included text I mention the slight differences that I had to do from the directions from the web site.
----------------------------------------------
PL2303 Serial-USB on OSX Lion
Posted on July 24, 2011 by martijn
Here’s a way to get you PL2303-based Serial-USB adapter working with OS X Lion (10.7). Based on the osx-pl2303 project on github, I’ve built a kernel extension that works with OS X Lion. You can grab the kext file here or from the link below.
Installing the kext file can be done in a few easy steps:
download and extract
cd /path/to/osx-pl2303.kext
cp -R osx-pl2303.kext /System/Library/Extensions/
next you need to fix permissions and execute bits:
cd /System/Library/Extensions
chmod -R 755 osx-pl2303.kext
chown -R root:wheel osx-pl2303.kext
cd /System/Library/Extensions
kextload ./osx-pl2303.kext
kextcache -system-cache
Good luck!
http://mpepping.home.xs4all.nl/hosting/ ... 3.kext.tgz
----------------------------------------------
My annotations:
Instead of using the terminal window to do the copy (cp -R osx-pl2303.kext /System/Library/Extensions/) I just opened the Extensions folder in the finder and dragged in the osx-pl2303.kext file into it. If you don't know how to find the Extensions directory then do this, open the Finder window and look at the devices section on the left of the window, your Mac should be there. Click on that and then in the right side of the window you should your hard drive, if you didn't rename it then it should be "Macintosh HD". Click on that, then click on "System", then "Library", then "Extensions". That is where you drop the file.
For the next part you do need the Terminal window so open it and do as the original procedure states, the change here is that I had to preface the commands with "sudo", so you would do this instead:
cd /System/Library/Extensions
sudo chmod -R 755 osx-pl2303.kext
sudo chown -R root:wheel osx-pl2303.kext
cd /System/Library/Extensions
sudo kextload ./osx-pl2303.kext
sudo kextcache -system-cache
During some of these commands it will more than likely ask you for your password, this is normal.
After I did this, I then rebooted the Mac and was able to connect TunerStudio up to my Megasquirt box in the connection settings with the "/dev/cu.PL2303-000012FD" port selection.
Hopes this helps someone else out with a lot less frustration than I had! Everything else on the Mac is so much better, why was this so hard?
Kevin