Page 3 of 8 FirstFirst 12345678 LastLast
Results 21 to 30 of 75

Thread: Trying to get USB OBD2 interface to work...

  1. #21
    Newbie FunkyStickman's Avatar
    Join Date
    Jun 2008
    Location
    South Louisiana
    Posts
    45
    Quote Originally Posted by unsungboxer View Post
    I appreciate the suggestion to use LinuxICE, however Evoscan is still much further advanced, its also capable of tuning and rewriting the eeprom. At this point, if I can get the USB to work, I am golden.

    Closest idea I found is called making a "symoblic link" in home/.wine/dosdevices by going:

    Code:
    ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
    The only problem is this makes a com port, but Evoscan doesn't use com ports, it uses USB devices. Perhaps I can add something other than /com1, but I can't find what that is yet.
    The problem is that wine doesn't look for native USB drivers, if it's not standard emulated hardware, it won't work. I'm kind of in the same boat, HPT uses both USB and serial... but it won't recognize my USB box, and up until now I hadn't thought of symlinking it to a tty port for wine. I still don't know if it will work, but I'm going to try.

  2. #22
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by FunkyStickman View Post
    The problem is that wine doesn't look for native USB drivers, if it's not standard emulated hardware, it won't work. I'm kind of in the same boat, HPT uses both USB and serial... but it won't recognize my USB box, and up until now I hadn't thought of symlinking it to a tty port for wine. I still don't know if it will work, but I'm going to try.
    Please keep me up to date on your progress. Right now the only thing standing in my way is getting USB to work. I tried the symbolic link with no success, but this is new to me so there is a good chance I didn't do it right.

  3. #23
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    Why bother with the vm? Why not just natively run windows and save yourself a lot of time/effort?
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  4. #24
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by Extide View Post
    Why bother with the vm? Why not just natively run windows and save yourself a lot of time/effort?
    Yeah, were not talking about VMware or Virtualbox. Our goal is to get USB to work in WINE so there is no need for a windows partition or Virtual Machine.

  5. #25
    Constant Bitrate
    Join Date
    Feb 2007
    Location
    Taylorsville, UT
    Posts
    135
    Ah, i see. I thought he had just resorted to using windows in a vm on top of linux. If you are going to make it work in WINE, then yeah thats much better.
    -James
    Car: 2004 GTI VR6 24v Turbo 2.8L, GT35R, 630cc, Unitronic, Bosch 044, etc, etc..
    Main PC:i7 920@4Ghz, 6GB DDR3, MSI X-58 Pro-E, Win 7 x64 RTM, Scythe Mugen2, 128GB G.Skill Falcon, 2x ATI4850 512MB Crossfire, Auzentech X-Fi Forte, Grado Labs SR-80

  6. #26
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by Extide View Post
    Ah, i see. I thought he had just resorted to using windows in a vm on top of linux. If you are going to make it work in WINE, then yeah thats much better.
    I guess I missed his post referring to VM. My goal is to get this working in WINE. I will let you guys know what I find.

  7. #27
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    making progress, found a way to patch the FTDI interface here:
    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/460857 post #8


    ftdifix.tar.gz

    To install:
    1) open a terminal window
    2) install the latest kernel headers:
    # sudo apt-get install kernel-headers-generic
    3) download and uncompress the attached file ftdifix.tar.gz
    4) change to the directory where you uncompressed the file, e.g.
    # cd ftdifix
    5) build the driver:
    # make
    6) install the driver
    # sudo make install
    Until this is fixed, you may have to repeat these steps each time you install a new version of the kernel.

    For me, the installation worked fine (the "sudo apt-get install kernal-headers-generic" was already up to date). ftdi_sio.ko seems to have been installed properly.

    I believe the way to check data through my OBD2 cable should be
    Code:
    cat /dev/ttyUSB0
    but nothing happens, so it leads me to believe that its still not being recognized?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    929
    Another option is to use obdftdipty, which is in the obdgpslogger bundle. Put ftdi_sio in your modules blacklist, build and install obdftdipty [needs libftdi-dev].

    when you run it, it tells you what pty it created. You could use that instead of /dev/ttyUSB0

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

  9. #29
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    update:
    Code:
    lsusb
    output:
    Code:
    Bus 002 Device 003: ID 0403:cc4a Future Technology Devices International, Ltd product FTDI TACTRIX_OPENPORT_13U 0xcc4a OpenPort 1.3 Universal
    Doesn't this mean its being detected?

  10. #30
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by chunkyks View Post
    Another option is to use obdftdipty, which is in the obdgpslogger bundle. Put ftdi_sio in your modules blacklist, build and install obdftdipty [needs libftdi-dev].

    when you run it, it tells you what pty it created. You could use that instead of /dev/ttyUSB0

    Gary (-;
    Thanks Gary, could you give me more detailed instructions?

Page 3 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 12-01-2008, 04:48 PM
  2. QUESTION about M2-160WATT AND X-TREME CARPC
    By kostas_lion in forum Power Supplies
    Replies: 3
    Last Post: 05-15-2008, 09:50 AM
  3. Modular Shutdown Controller with USB Interface
    By evandude in forum Power Supplies
    Replies: 11
    Last Post: 02-19-2007, 11:57 AM
  4. Problem with ITPS / hibernation and External USB HD
    By veetid in forum Power Supplies
    Replies: 5
    Last Post: 01-02-2006, 08:35 PM
  5. are usb 2.0 devices able to work with usb 1.1 hubs?
    By chris in nh in forum General Hardware Discussion
    Replies: 9
    Last Post: 06-28-2004, 07:27 PM

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
  •