Lazarus
Retired Moderator
- Joined
- May 29, 2009
- Messages
- 27,086
- Reaction score
- 8,673
- Points
- 113
- My Satellite Setup
-
80cm Motorised.
Several small Dishes.
Much else.
- My Location
- North York Moors
Some months ago I tried to get my ELM327 Vehicle Diagnostic Scanner/Code Reader to work with EasyOBDII software under Linux Mint.
Used Wine to install it and that seemed easy enough, but whatever I did I could not get the ELM327 to interact with it.
As I had no vehicle issues then, I gave it up as a bad job.
A few days ago, however, my car starting intermittently losing all power now and again, with a warm/hot engine, and the Check Engine light came on.
So I dug out the gear and had another go at getting it to work.
Bottom line: I got both EasyOBDII and Scantool (Similar type of prog.) to install simply via right-clicking the .exe and pointing at "Open With Wine Windows Program Loader" >> No need to run Wine first, just a simple "Open With".
Great. All seemed ok, but neither prog. would talk to the ELM327.
Solved it, though.
The ELM327 is recognised by Mint as a valid FTDI device on USB0, but the Progs use COM Ports ..................
So I mapped USB0 to an unused COM port thus:
In a Terminal, type:
ln -s /dev/ttyUSB0 ~./wine/dosdevices/COM1 (This is a permanent change)
And because the innate Permissions are Read-Only for all tty Ports, simply authorise a temporary change to universal R/W by any and all with:
sudo chmod 0777 /dev/ttyUSB0
Ta da.
All worked fine.
The only niggle is that I haven't found out how to permanently elevate Permissions, so each time (ie A couple of times a year!) I want to scan by car, I need to type the chmod stuff.
PS: The MAP Sensor is failing .............. only replaced it two years ago. This time it's the actual load cell that measures Manifold Pressure, whereas last time the Temperature element had gone and it was telling me the inlet air was at 34C when it was mid-winter!
I've carefully cleaned oil contamination off the sensor and all is (temporarily, no doubt) well.
Used Wine to install it and that seemed easy enough, but whatever I did I could not get the ELM327 to interact with it.
As I had no vehicle issues then, I gave it up as a bad job.
A few days ago, however, my car starting intermittently losing all power now and again, with a warm/hot engine, and the Check Engine light came on.
So I dug out the gear and had another go at getting it to work.
Bottom line: I got both EasyOBDII and Scantool (Similar type of prog.) to install simply via right-clicking the .exe and pointing at "Open With Wine Windows Program Loader" >> No need to run Wine first, just a simple "Open With".
Great. All seemed ok, but neither prog. would talk to the ELM327.
Solved it, though.
The ELM327 is recognised by Mint as a valid FTDI device on USB0, but the Progs use COM Ports ..................
So I mapped USB0 to an unused COM port thus:
In a Terminal, type:
ln -s /dev/ttyUSB0 ~./wine/dosdevices/COM1 (This is a permanent change)
And because the innate Permissions are Read-Only for all tty Ports, simply authorise a temporary change to universal R/W by any and all with:
sudo chmod 0777 /dev/ttyUSB0
Ta da.
All worked fine.
The only niggle is that I haven't found out how to permanently elevate Permissions, so each time (ie A couple of times a year!) I want to scan by car, I need to type the chmod stuff.
PS: The MAP Sensor is failing .............. only replaced it two years ago. This time it's the actual load cell that measures Manifold Pressure, whereas last time the Temperature element had gone and it was telling me the inlet air was at 34C when it was mid-winter!
I've carefully cleaned oil contamination off the sensor and all is (temporarily, no doubt) well.