Just got a elmscan5 usb and I want to hook it into my linux carpc. I downloaded the source code for scantool, patched and compiled it. Everything was going well, but I can not get the software to see the hardware.
Here's how far I got so far:
The kernel uses the ftdi usb-serial converter to create the serial interface /dev/ttyUSB0.
The scantool software seems to be written for windows, with linux as an afterthought. As such, the settings list serial interfaces as comm ports. I did an strace and confirmed that the comm#s are translating to the proper tty devices (comm1 = /dev/ttyS0,comm2 = /dev/ttyS1, etc)
I symlinked /dev/ttyUSB0 to /dev/ttyS4, and set scantool to use comm5 and made sure my user has read/write perms.
But for some reason I still get an error that scantool can not find the hardware.
Anyone get this to work ?
Followup question: what are people using for OBDII data in Linux ?
thanks for the feedback.
EDIT - Quick note: I just compiled freediag and noticed the binary it creates is called scantool too. My initial post is about Scantool.net's software :
http://www.scantool.net/?mode=displa...y=ScanTool.net