ScanTool is an OBD data reader. Here's how you can run it on linux:
#!/bin/bash #!/bin/bash wget http://archive.ubuntu.com/ubuntu/pool/universe/s/scantool/scantool_1.21+dfsg.orig.tar.bz2 tar xjf scantool_1.21+dfsg.orig.tar.bz2 cd scantool-1.21 wget http://archive.ubuntu.com/ubuntu/pool/universe/s/scantool/scantool_1.21+dfsg.orig-dzcomm.tar.bz2 tar xjf scantool_1.21+dfsg.orig-dzcomm.tar.bz2 mv dzcomm-0.9.9i/ dzcomm wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/dzcomm-usb-serial.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/scantool-linux-build.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/logging-newlines.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/drop-listports.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/allow-elm327-clones.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/drop-report-request.patch wget http://patch-tracker.debian.org/patch/series/dl/scantool/1.21+dfsg-3/build-flags.patch 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 ./fixunix.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.
Спасиба Михаил!!
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