Forscan in Mac OS X

Any issues related to FORScan application

Forscan in Mac OS X

Postby alchemyx » Tue Jan 13, 2015 10:00 am

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!
alchemyx
 
Posts: 8
Joined: Mon Jan 12, 2015 6:32 pm
Vehicle: Mazda 5 2.0 RF-7J '2008 (80 kW)

Re: Forscan in Mac OS X

Postby FORScan » Tue Jan 13, 2015 11:04 am

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.
FORScan
Site Admin
 
Posts: 2466
Joined: Fri Jun 13, 2014 2:21 am

Re: Forscan in Mac OS X

Postby alchemyx » Tue Jan 13, 2015 11:19 am

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!
alchemyx
 
Posts: 8
Joined: Mon Jan 12, 2015 6:32 pm
Vehicle: Mazda 5 2.0 RF-7J '2008 (80 kW)

Re: Forscan in Mac OS X

Postby alchemyx » Tue Jan 13, 2015 9:51 pm

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 9687 times
alchemyx
 
Posts: 8
Joined: Mon Jan 12, 2015 6:32 pm
Vehicle: Mazda 5 2.0 RF-7J '2008 (80 kW)

Re: Forscan in Mac OS X

Postby FORScan » Wed Jan 14, 2015 1:52 pm

Thanks for the update, we have added a link to your post to our Linux/Wine How To
FORScan
Site Admin
 
Posts: 2466
Joined: Fri Jun 13, 2014 2:21 am

Re: Forscan in Mac OS X

Postby kerberos » Sun Sep 18, 2016 9:35 am

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?
kerberos
 
Posts: 2
Joined: Tue Sep 13, 2016 8:50 pm
Vehicle: Ford Falcon BF

Re: Forscan in Mac OS X

Postby kerberos » Tue Sep 20, 2016 8:52 am

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
kerberos
 
Posts: 2
Joined: Tue Sep 13, 2016 8:50 pm
Vehicle: Ford Falcon BF

Re: Forscan in Mac OS X

Postby FORScan » Tue Sep 20, 2016 10:34 am

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
FORScan
Site Admin
 
Posts: 2466
Joined: Fri Jun 13, 2014 2:21 am

Re: Forscan in Mac OS X

Postby jamesbissland » Sat Oct 01, 2016 9:03 pm

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
jamesbissland
 
Posts: 2
Joined: Mon Aug 22, 2016 10:02 am
Vehicle: BL Axela 2.0S

Re: Forscan in Mac OS X

Postby Samir92 » Fri Dec 16, 2016 12:47 pm

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/support/Knowledgebase/Article/View/19/0/how-to-install-elm327-usbbluetooth-on-mac-and-obd-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/ShowProduct.aspx?p_id=229&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!
Last edited by Samir92 on Fri Dec 30, 2016 11:50 pm, edited 2 times in total.
Samir92
 
Posts: 2
Joined: Thu Dec 15, 2016 9:16 pm
Vehicle: Ford Focus Zetec, 1.6 tdci 115HP, 2011

Next

Return to General and Support forum

Who is online

Users browsing this forum: 4brats, Bing [Bot], Walkthiswhey, z-xin and 4 guests