Announcement

Collapse
No announcement yet.

On Sheeva and FTDI [aka "OBDPro"]

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    *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

    Comment


    • #3
      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

      Comment


      • #4
        Just bumping. It's working now, and in obdgpslogger's repo as "obdftdipty"

        Code:
        [email protected]:~/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

        Comment


        • #5
          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

          Comment

          Working...
          X