Results 1 to 6 of 6

Thread: linux ( ubuntu 10.04), obdpros usb ,BU-353 gps receiver and toyota prius

  1. #1
    Newbie
    Join Date
    May 2011
    Posts
    1

    Angry linux ( ubuntu 10.04), obdpros usb ,BU-353 gps receiver and toyota prius

    hi

    I have set up the following. ubuntu 10.04 laptop connected to BU-353 , obdpros USB and sqlite table . when i connect the setup to my toyota prius , the database has only the gpx co-ordinates . theere is no obd data.

    here is the screen capture.

    pdp2907@pdp2907-laptop:~/obdgpslogger-0.15$

    obdgpslogger -s /dev/ttyUSB0 -d test20
    Opening serial port /dev/ttyUSB0, this can take a while
    Successfully connected to serial port. Will log obd data
    Successfully connected to gpsd. Will log gps data
    Couldn't get obd bytes for cmd 00
    here
    GPS acquisition complete

    I used the dmesg command to check if the obd connector is connected. here is the output.


    [ 556.985937] USB Serial support registered for generic
    [ 556.987246] usbcore: registered new interface driver usbserial_generic
    [ 556.987253] usbserial: USB Serial Driver core
    [ 557.003965] USB Serial support registered for pl2303
    [ 557.005543] pl2303 4-2:1.0: pl2303 converter detected
    [ 557.017514] usb 4-2: pl2303 converter now attached to ttyUSB0
    [ 557.017553] usbcore: registered new interface driver pl2303
    [ 557.017558] pl2303: Prolific PL2303 USB to serial adaptor driver
    [ 900.903915] hrtimer: interrupt took 16273 ns

    any hints will be really useful

    thanx

    pdp2907

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    It may not have the right baudrate set. IIRC, the obdpro is 38400, and linux probably defaulted to 9600. Try this:

    Code:
    obdgpslogger -s /dev/ttyUSB0 -d test20 -b 38400
    I also put in a baudrate guesser, which might work for you:

    Code:
    obdgpslogger -s /dev/ttyUSB0 -d test20 -b 0
    Also, obdgpslogger 0.15 is pretty out of date. Could you try the SVN version? Among other changes, the timeout for serial comms is a lot longer in SVN; I made it longer when I found out my bike took too long to initialise the ECU<->Dongle comms, and was failing with that error.

    I gotta do a real release one of these days, there's been a lot of changes since 0.15

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

  3. #3
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    i didn't think the obdpro defaulted to 38400. maybe you are thinking obdlink?
    Former author of LinuxICE, nghost, nobdy.
    Current author of Automotive Message Broker (AMB).
    Works on Tizen IVI. Does not represent anyone or anything but himself.

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    OBDLink used to default to 38400, the new firmware is 115200

    Either way, try different baudrates, and try the SVN version.

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

  5. #5
    Newbie
    Join Date
    Aug 2011
    Posts
    4
    I had similar problems with some vehicles - I found obdgpslogger up to v0.15 refused to log from ISO protocols using a 5 baud slow init (modes 3 and 4 on the ELM327) because of the timeout problem chucky mentions.

    Also, try using a terminal program (miniterm, hyperterm, whatever) set to the same port (ttyUSB0) to watch the output - you can also determine baud rate this way. (note- don't leave it open once you fixed the problem or it can garbage the output from the logger)

    I tried v0.16 today, and it works fine (after 3 timeouts!)

    (I'm using ubuntu 10.04 on eeePC 701, bluetooth ELM327 adapter. Test vehicle was a 2000 VW polo)

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    A lot of serial-type changes went in for 0.16, mainly to fix all the problems you describe

    Once it's figure out what baudrate to use, you can put that in ~/.obdgpslogger and never worry about it again [man dot-obdgpslogger]

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

Similar Threads

  1. Have Questions on Linux and Ubuntu Linux.
    By HiJackZX1 in forum Linux
    Replies: 17
    Last Post: 03-05-2010, 09:59 AM
  2. Everex launches $198 Ubuntu Linux gPC at Wal-Mart
    By walstib in forum General Hardware Discussion
    Replies: 11
    Last Post: 11-20-2007, 02:07 PM
  3. Replies: 1
    Last Post: 10-01-2006, 09:10 PM
  4. toyota prius help
    By studmonk3y in forum Newbie
    Replies: 3
    Last Post: 02-09-2004, 11:21 PM

Tags for this Thread

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
  •