Page 1 of 3

Forscan in Mac OS X

Posted: Tue Jan 13, 2015 10:00 am
by alchemyx
Hello,

I managed to install Forscan under Linux and use it without any trouble (with Wine).
Tried to do the same with Mac OS X and unfortunately it doesn't work properly (also Wine).
It starts for first time, but when I try to start it again it shows dialog with "Error" and Error icon (red sign).
No error message or anything like that.

Any hints will be greatly appreciated

Thanks!

Re: Forscan in Mac OS X

Posted: Tue Jan 13, 2015 11:04 am
by FORScan
When it starts first time, does it connect to adapter and vehicle properly?

Before second start, please make sure previous instance of FORScan is not in memory.

Re: Forscan in Mac OS X

Posted: Tue Jan 13, 2015 11:19 am
by alchemyx
To be honest I didn't check with cable, just "dry run". I will make sure next
time that it is not memory and will give back details. Thanks!

Re: Forscan in Mac OS X

Posted: Tue Jan 13, 2015 9:51 pm
by alchemyx
Hello!

It seems you were right - program stayed in memory. But to be completly sure this is what I did:

1) Installed xquartz http://xquartz.macosforge.org/ and xcode from Appstore (altough you can install just xcode tools)
2) Installed homebrew from http://brew.sh/
3) Typed

Code: Select all

brew install wine
And took long bath
4) Did symbolic link for usb serial:

Code: Select all

ln -s /dev/tty.usbserial ~/.wine/dosdevices/com1
5) Added this to ~/.wine/system.reg:

Code: Select all

[Hardware\\Devicemap\\Serialcomm] 1015709345
"Serial0"="COM1"
And voila! it detects ELM327 properly and I am pretty sure it will work with my vehicle (but
will check it in the morning).

Thanks!

PS. Attaching screenshot after todays test - it works very well!
Mac OS X.jpg
Mac OS X.jpg (211.85 KiB) Viewed 26103 times

Re: Forscan in Mac OS X

Posted: Wed Jan 14, 2015 1:52 pm
by FORScan
Thanks for the update, we have added a link to your post to our Linux/Wine How To

Re: Forscan in Mac OS X

Posted: Sun Sep 18, 2016 9:35 am
by kerberos
Hi, having troubles with the virtual COM1 port.

/Users/xxx/.wine/dosdevices/com1: No such file or directory

Basically the .wine dir does not exist. Do I have to create it manually or it supposed to be there already?

Re: Forscan in Mac OS X

Posted: Tue Sep 20, 2016 8:52 am
by kerberos
Sorted out with that dir, however, trying to run the executable now with:
wine ~/.wine/drive_c/Program\ Files/FORScan/FORScan.exe

Getting this as result:
err:module:map_image Could not map section .data, file probably truncated
err:module:map_image Could not map section .data, file probably truncated
wine: Bad EXE format for C:\Program Files\FORScan\FORScan.exe.
~:~ ~$ wine.bin(1381,0x407c9000) malloc: *** error for object 0xf883bbc0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Re: Forscan in Mac OS X

Posted: Tue Sep 20, 2016 10:34 am
by FORScan
Do you use Wine edition of FORScan? Starting from 2.3.0, special version for Wine is provided. Regular version may not work in Wine. More information:

http://forscan.org/download.html

Re: Forscan in Mac OS X

Posted: Sat Oct 01, 2016 9:03 pm
by jamesbissland
Hi guys,

I have installed FORScan (wine) last night from here, and it works great on my mac in demo mode, however I have a VXDIAG VCX Nano connection but it is not recognising it when i plug it in, and doesn't do anything even when i turn the vehicle ignition to ON as the prompt says.
I get a pop up saying

No ELM Found.Please check your connection and try again

Is there something I have missed, or have not done correctly?

Do i need to install the driver for the Nano into wine also?? or is there a Mac equivalent i need to do?

Any help would be greatly appreciated!!

Cheers
James
NZ

Re: Forscan in Mac OS X

Posted: Fri Dec 16, 2016 12:47 pm
by Samir92
I have successfully got this working for the latest mac os version sierra 10.12.1 using a macbook pro 2011

Firstly make sure you have the correct drivers installed for the ELM device. I am using ELM 327 USB v1.5 bought from amazon.

I installed Driver Pack 1 & 2 from here: http://www.totalcardiagnostics.com/supp ... d-software

Don't use the Driver Pack 3 from the link above, instead you can find the drivers for your OS, which are kept up to date here: http://www.prolific.com.tw/US/ShowProdu ... 29&pcid=41

I used PL2303_MacOSX_1.6.1, after installation restart your machine

Follow Alchemyx's steps but before you do step 4 you have to find out what your mac will name the ELM device:

Open terminal (cmd + space, type 'terminal', press enter) > Disconnect ELM from your mac and run:

Code: Select all

ls /dev


This shows the current list of devices connected. Connect the ELM to your mac and run again:

Code: Select all

ls /dev


Compare the two outputs, you are looking for one similar to tty.usbserial

If you find something other than tty.usbserial then replace tty.usbserial within step 4 of Alchemyx's post:

Code: Select all

ln -s /dev/tty.usbserial ~/.wine/dosdevices/com1
Next do step 5 of Alchemyx's steps. If your struggling you may need to have a better understanding about wine. '.wine' is a hidden folder. If you google how to show hidden folders on a mac you will be able to access this folder and continue with Alchemyx's step 5, or you could do it through a bash script.

When you complete Step 5 and you are now showing hidden folders, you should revert your mac to hide the folders again.

At this point if you haven't already download FORScan from the downloads page and save to downloads. Open terminal and 'cd' to the downloads folder. Once you are at the folder level you can run:

Code: Select all

wine $FORScanDownload.exe
Change $FORScanDownload.exe to whatever your download name is. Run the installation as normal, no need to change any folder paths.

The penultimate thing is to 'cd' to wherever the wine folder of FORScan.exe is and then do:

Code: Select all

wine FORScan.exe
You can create a script that will do this for you using Script editor.

Open script editor (cmd + space, type 'Script Editor', hit enter):

Code: Select all

tell application "Terminal"
	do script "cd ~/.wine/drive_c/Program\\ Files/FORSCAN 
	wine forscan.exe"
end tell
Save as .application to the desktop. Now you can run FORScan like a normal app on your mac.

Ultimately when FORScan is running on your mac go to the settings screen, hit connection tab then configure as per below:
Image

Now connect ELM to your mac and your vehicle and then go to the initial screen and try to connect.

Job done!