Results 1 to 5 of 5

Thread: On Sheeva and FTDI [aka "OBDPro"]

  1. #1
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929

    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 (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  2. #2
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    *mostly* fixed it. Still not quite there, though. Please lemme know if anyone gets the opportunity to try it.

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  3. #3
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    I posted in the sheevaplug forum on this very topic

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  4. #4
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    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 (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

  5. #5
    SuperMod - OBDII GPS Logger forum
    Auto Apps:loading...

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Also, if anyone tries it and suffers permission problems, check 40-ftdiperm.rules in src/ftdipty

    Gary (-;
    OBDGPSLogger, for logging OBDII and/or GPS data
    OBDSim, an OBDII/ELM327 software simulator
    mp3car forums: obdgpslogger, obdsim

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •