Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc. > OBDII GPS Logger


Reply
 
Share Thread Tools Display Modes
Old 07-21-2009, 12:49 AM   #1
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
On Sheeva and FTDI [aka "OBDPro"]

EDIT: This is resolved. Read down the bottom to find the actual working code.

Gary (-;

[old post left here for posterity]

As promised, I threw together a quick tool. It's not quite working yet [something for which I would be greatly appreciative if someone could help me with], but:

http://icculus.org/obdgpslogger/ftdipty.c.gz

Download, extract. Make sure to install libftdi-dev plus dependencies on your sheeva. Compile with
Code:
gcc -o ftdipty ftdipty.c -lftdi

Now the weird bit, which I hope someone here can help me with. When I run it, obdgpslogger doesn't work with it. If I open minicom on it [use minicom -p /dev/pts/whatever-ftdipty-said], then it works, but I have to hit enter twice each time, and it seems pretty slow. Can anyone suggest what might be happening?

For anyone not clear: This is a small tool to stop you from needing to re-flash the kernel on your sheevaplug just to use an OBDPro device [or anything else using ftdi].

Thanks,
Gary (-;

Last edited by chunkyks; 10-02-2009 at 05:15 PM.
chunkyks is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-21-2009, 02:31 AM   #2
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
*mostly* fixed it. Still not quite there, though. Please lemme know if anyone gets the opportunity to try it.

Gary (-;
chunkyks is offline   Reply With Quote
Old 07-21-2009, 01:14 PM   #3
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
I posted in the sheevaplug forum on this very topic

Gary (-;
chunkyks is offline   Reply With Quote
Old 10-02-2009, 12:36 AM   #4
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
Just bumping. It's working now, and in obdgpslogger's repo as "obdftdipty"

Code:
chunky@chunkplug:~/src/obdgpslogger$ ./bin/obdftdipty ./bin/obdftdipty successfully opened pty. Name: /dev/pts/0

Now run obdgpslogger with "-s /dev/pts/0" [to match the output of obdftdipty] and you'll be good to go. The process is a bit manual, still, but at least it *works*.

Gary (-;
chunkyks is offline   Reply With Quote
Old 10-02-2009, 12:54 AM   #5
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
chunkyks is on a distinguished road
Also, if anyone tries it and suffers permission problems, check 40-ftdiperm.rules in src/ftdipty

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




All times are GMT -5. The time now is 10:32 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