How to run ScanTool on Linux

ScanTool is an OBD data reader. Here's how you can run it on linux:

tar xjf scantool_1.21+dfsg.orig.tar.bz2
cd scantool-1.21
tar xjf scantool_1.21+dfsg.orig-dzcomm.tar.bz2
mv dzcomm-0.9.9i/ dzcomm
sed s_/usr/share/scantool/__ -i scantool-linux-build.patch
patch -p1 -i dzcomm-usb-serial.patch
patch -p1 -i scantool-linux-build.patch
patch -p1 -i logging-newlines.patch
patch -p1 -i drop-listports.patch
patch -p1 -i allow-elm327-clones.patch
patch -p1 -i drop-report-request.patch
patch -p1 -i build-flags.patch
cd dzcomm && sh ./ && ./configure && make depend && make lib; cd ..
make CFLAGS="-Idzcomm/include -DDZCOMM_DJGPP=1" LDFLAGS="-Ldzcomm/lib/unix"
cd ..
cp scantool-1.21/scantool .
cp scantool-1.21/scantool.dat .
cp scantool-1.21/codes.dat .
rm -rf scantool-1.21
rm scantool_1.21+dfsg.orig.tar.bz2

Courtesy goes to PePe.

One thought on “How to run ScanTool on Linux”

  1. Спасиба Михаил!!
    I tried it out and works fine on Kubuntu13.10
    Main problem was to get the ELM327 working on Linux. It will be recognized by the kernel but as long as the user is not a member of the dialout group it will not work. So with id -Gn you have to check if you are member of that group.
    Привет и до свидания,
    Dick Saarloos

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.

This site uses Akismet to reduce spam. Learn how your comment data is processed.