Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Linux


Reply
 
Share Thread Tools Display Modes
Old 12-28-2006, 08:11 PM   #1
Newbie
 
Join Date: Mar 2005
Location: NJ
Posts: 51
timekiller is on a distinguished road
OBDII in Linux

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

Last edited by timekiller; 12-28-2006 at 08:27 PM.
timekiller is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 12-29-2006, 02:15 AM   #2
blk
Newbie
 
blk's Avatar
 
Join Date: Jun 2006
Location: Switzerland
Posts: 44
blk is on a distinguished road
you could
cat /dev/ttyUSB0
to make sure that data's flowing but beware it might (temporarily) screw up your shell. if you get weird chars, just restart the term and it's fine again, or pipe it to less which displays them correctly. (or use nc / netcat if you have)

it's not a solution, but at least you can see if things are wrong on the hardware level.

i'd be interested on your progress on linux-odbII and what you're able to do with it.
blk is offline   Reply With Quote
Old 12-29-2006, 09:59 AM   #3
Newbie
 
Zimans's Avatar
 
Join Date: Jan 2006
Posts: 38
Zimans is on a distinguished road
Your the same timekiller from timekiller.org yes? If not then ignore the rest of this post.

Are you trying to hook the elmscan5 up to your Mazda3? Or do you have a different vehicle now?

The Mazda3 is CAN bus, not OBDII. Looking at Scantool.net it doesn't seem to support CAN.

(I drive a Mazda6, also CAN bus)

Maybe that's why it is not responding?

--Zims
__________________
--------------------------------------------------------------------------------
Now, Where are my Pants?
Zimans is offline   Reply With Quote
Old 12-29-2006, 10:41 AM   #4
Newbie
 
Join Date: Mar 2005
Location: NJ
Posts: 51
timekiller is on a distinguished road
blk and Zimans:

I am the same timekiller from timekiller.org. Yes I am hooking to my Mazda3. I should have mentioned that I used the elmscan with scantool in winblows (to test) and it works fine. So I know the hardware works, and the software can talk to the ecu...
timekiller is offline   Reply With Quote
Old 11-16-2009, 05:06 PM   #5
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
Heh. Googling for "obdii linux" shows this thread right near the top, so I thought I'd add a link to obdgpslogger, which has a forum on this site

... just in case anyone in this thread is still interested, three years on.

Gary (-;
chunkyks is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Frontend for Windows and Linux gbr Other Cool Front Ends 68 01-21-2009 09:55 PM
Linux duck duck goose! rocken Linux 11 03-12-2006 12:15 PM
Linux Login, UPS and Linux Touch Screen polc1410 Newbie 5 02-11-2005 11:43 AM
The LOW Risk Linux Adventure... grepzen Software & Software Development 13 11-08-2004 10:12 PM
PS2 Linux -- check it out Superfly General Hardware Discussion 7 03-22-2003 12:11 AM



All times are GMT -5. The time now is 07:26 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics