Page 2 of 8 FirstFirst 12345678 LastLast
Results 11 to 20 of 75

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

  1. #11
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    is HPT a .NET app? I wonder if it would run native using MONO... It supposedly has really good .NET 2.0 support. It may be worth a try...
    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.

  2. #12
    Newbie FunkyStickman's Avatar
    Join Date
    Jun 2008
    Location
    South Louisiana
    Posts
    45
    I did get it installed using wine, took a little figuring out, but I got it to run.

    I couldn't, however, get the program to recognize the interface directly in Linux, even though the drivers work well enough to pass through to the VM...

    However, after slimming down the VM install (removing unneeded services, etc.) and installing Blackbox4Windows on it, bumped the VM's memory to 512MB, it boots quickly and runs smoothly. So this is the solution I'm going to go with... I'd rather it work smoothly and deal with the VM.

    On a side note, I'm playing with desktop features in Gnome, until I get the time to compile nGhost to try. Compiz is fun, though I wish I had a touchscreen to use the "Expo" feature with. Very iPhone-like. The factory I work at uses 19" touchscreen LCD's in every work cell... imagine the demos I could do with one of those in a car!

    Anyway, now that I've got the tuning software working correctly, I can focus on shaping the Linux desktop to do what I want.

  3. #13
    Newbie FunkyStickman's Avatar
    Join Date
    Jun 2008
    Location
    South Louisiana
    Posts
    45
    Quick update: I'm going to try to get this working in Wine again, I now have a Dell Inspiron 9" Mini running Ubuntu 8.10 to test with. I'm going to try to get the virtual COM port drivers to work, and hopefully that will let me access the interface box directly in Linux. We'll see. If/when I get it working, I'll post up instructions. I think this has more to do with Wine not supporting the native .dll, so I'm going to try it as a serial port... we'll see.

  4. #14
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    let me know if you get this to work in WINE. I am trying to use Evoscan in WINE, but of course it wont for 2 reasons:

    1. No dotnetfx 3.5 support.
    2. No USB support.

    I too have done what you did, which is run WinXP in VirtualBox. This works ok, except I have to wait for 2 OS's to load instead of just Linux. A Temporary solution is running TinyXP in VirtualBox. It has a 20sec boot time which is far more tolerable.

    At any rate, I would be much happier running Evoscan in Wine. Keep us updated on your progress.

  5. #15
    Newbie FunkyStickman's Avatar
    Join Date
    Jun 2008
    Location
    South Louisiana
    Posts
    45
    Quote Originally Posted by unsungboxer View Post
    let me know if you get this to work in WINE. I am trying to use Evoscan in WINE, but of course it wont for 2 reasons:

    1. No dotnetfx 3.5 support.
    2. No USB support.

    I too have done what you did, which is run WinXP in VirtualBox. This works ok, except I have to wait for 2 OS's to load instead of just Linux. A Temporary solution is running TinyXP in VirtualBox. It has a 20sec boot time which is far more tolerable.

    At any rate, I would be much happier running Evoscan in Wine. Keep us updated on your progress.
    Thanks, I'm going to try a newer patched (development) version of Wine that has rudimentary USB support. From the instructions, you have to manually add the USB device entries in the registry, but if it works I'll be happy! It was originally developed to use USB software security dongles, but the basics should apply.

    Trust me, if/when I get this working, I will post it everywhere!

    I'm not sure about .NET 3.5 They may get it working, but it was recently released, so there's no telling.

  6. #16
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by FunkyStickman View Post
    Thanks, I'm going to try a newer patched (development) version of Wine that has rudimentary USB support. From the instructions, you have to manually add the USB device entries in the registry, but if it works I'll be happy! It was originally developed to use USB software security dongles, but the basics should apply.

    Trust me, if/when I get this working, I will post it everywhere!

    I'm not sure about .NET 3.5 They may get it working, but it was recently released, so there's no telling.
    Did you ever figure out how to get USB support to work with WINE? I recently got Evoscan to work using WINE 1.2, and Winetricks to load dotnetfx 1, 2, and 3. My only holdup at this point is figuring out how to get wine to point to ttyUSBx . Any ideas?

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

    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    924
    I heard a rumor that there's now OBDII support around for Linux that doesn't suck. I think my sig mentions it, but it's also available in LinuxICE now [not sure if it's working in the current beta, but nghost understands it]

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

  8. #18
    Low Bitrate
    Join Date
    Jan 2009
    Posts
    67
    Quote Originally Posted by chunkyks View Post
    I heard a rumor that there's now OBDII support around for Linux that doesn't suck. I think my sig mentions it, but it's also available in LinuxICE now [not sure if it's working in the current beta, but nghost understands it]

    Gary (-;
    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.

  9. #19
    licensed to kill - FKA kev000
    Auto Apps:loading...
    tripzero's Avatar
    Join Date
    Aug 2006
    Location
    16.40618, 120.61106
    Posts
    2,494
    i don't know how wine works, but it should wrap the usb api's in win32 to *just work* in linux. if the app is probing for a usb device, it should find it.

    idk for sure though. chances are, it just may not work.
    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.

  10. #20
    Newbie FunkyStickman's Avatar
    Join Date
    Jun 2008
    Location
    South Louisiana
    Posts
    45
    Honestly, I have been too busy to try recompiling wine to try to get USB to work, when it works in Virtualbox.

    However, you may find this of interest:
    http://www.winehq.org/pipermail/wine...er/028097.html

    Basically, it says that if the device shows up as a tty device, it should work... I know most USB OBD2 readers are actually serial port bridge chips, so possibly making a symlink as /dev/ttyxxx (where xxx is a non-taken number) just might work. I'm in the process of rebuilding my carPC (again) so I'll try it and see what happens.

Page 2 of 8 FirstFirst 12345678 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 12-01-2008, 05: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, 10:50 AM
  3. Modular Shutdown Controller with USB Interface
    By evandude in forum Power Supplies
    Replies: 11
    Last Post: 02-19-2007, 12:57 PM
  4. Problem with ITPS / hibernation and External USB HD
    By veetid in forum Power Supplies
    Replies: 5
    Last Post: 01-02-2006, 09: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, 08: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
  •