Author Topic: GuzziDiag on Linux  (Read 7555 times)

Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
GuzziDiag on Linux
« on: July 02, 2016, 10:48:33 AM »
Picked up a used university surplus PC laptop running Ubuntu the other day for 40 bucks. Want to use it to run GuzziDiag. Had GuzziDiag running just fine previously on a borrowed Windows XP machine but no luck yet with the Linux laptop. Pretty sure it's a driver issue. Can anyone point me to a set of simple step-by-step instructions on how to get the proper drivers installed? I have the connector cables from LoneLoc. I am reasonably computer literate but have zero experience with Linux. Thanks.
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

Offline rboe

  • Gaggle Hero
  • *****
  • Posts: 5086
Re: GuzziDiag on Linux
« Reply #1 on: July 02, 2016, 12:31:27 PM »
GuzziDiag comes in a Linux version (and Mac) too.
Phoenix, AZ
2000 Quota 1100 ES Black (sold & gone)
2008 Honda XR650L
2012 Griso SE
2013 Honda CB1100

Online StuCorpe

  • Gaggle Hero
  • *****
  • *
  • *
  • *
  • *
  • *
  • Posts: 1102
  • Location: Traverse City, MI
Re: GuzziDiag on Linux
« Reply #2 on: July 02, 2016, 01:21:07 PM »
Get the Linux version or try loading "Wine" on the Ubuntu machine. This lets you run many (but not all) Windows programs under Ubuntu.

twowings

  • Guest
Re: GuzziDiag on Linux
« Reply #3 on: July 02, 2016, 01:53:33 PM »
I could not get it to connect with Ubuntu MATE...I'm sure it was just a port configuration issue....took the easy way out an borrowed my wife's Windoze machine...

Wildguzzi.com

Re: GuzziDiag on Linux
« Reply #3 on: July 02, 2016, 01:53:33 PM »

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #4 on: July 02, 2016, 05:43:06 PM »
You don't need to install any drivers for Linux.

With the cable plugged in and powered, check that you have this device:  /dev/tts/USB0
In a terminal, as root, run this command:

chmod 666 /dev/tts/USB0

Create a symlink:

 ln -s /dev/tts/USB0 /dev/ttyUSB0

Even with superuser privileges, make sure you are part of the dialout group:

usermod -a -G dialout root

usermod -a -G dialout <your user name>


That should do it.



Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
Re: GuzziDiag on Linux
« Reply #5 on: July 02, 2016, 08:08:21 PM »
I could not get it to connect with Ubuntu MATE...I'm sure it was just a port configuration issue....took the easy way out an borrowed my wife's Windoze machine...

I could forget about Linux and install Windows but wanted to see if I could get it to run in Linux first
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
Re: GuzziDiag on Linux
« Reply #6 on: July 02, 2016, 08:13:04 PM »
You don't need to install any drivers for Linux.

With the cable plugged in and powered, check that you have this device:  /dev/tts/USB0
In a terminal, as root, run this command:

chmod 666 /dev/tts/USB0

Create a symlink:

 ln -s /dev/tts/USB0 /dev/ttyUSB0

Even with superuser privileges, make sure you are part of the dialout group:

usermod -a -G dialout root

usermod -a -G dialout <your user name>


That should do it.

Thanks beetle. Can you put this in a format that I can understand what I need to do, step-by-step. As I said, I am brand new to Linux and do not know how to check if I have a "device", what a "superuser" is, what "dialout" is, how to open a terminal etc. Thanks. Sorry if I seem a bit dense.
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
Re: GuzziDiag on Linux
« Reply #7 on: July 02, 2016, 08:16:53 PM »
Get the Linux version or try loading "Wine" on the Ubuntu machine. This lets you run many (but not all) Windows programs under Ubuntu.

Thanks. I do have the Linux version installed but can't get it to recognize the bikes ECU. Could go the Windows emulator route change operating system to Windows but wanted to see if I could run GuzziDiag in Linux first
« Last Edit: July 02, 2016, 08:18:50 PM by tpeever »
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #8 on: July 02, 2016, 09:39:17 PM »
I'll try to make this as simple as possible. OK. First thing to do is open a terminal window. Ways to do this vary by which type of desktop you have, but you can usually right-click on the desktop and the menu will have a Terminal or Open-In-Terminal selection. Alternatively, type CTRL-ALT-T and a terminal will open.

You will get something that looks like this:




Plug in the GuzziDiag cable to a USB port. In the terminal, type:

Code: [Select]
sudo usermod -a -G dialout <your user name> [enter]
You will be asked for your password. Enter your password and hit [enter].

Then, type:

Code: [Select]
ls -al /dev/ttyUSB0
You should get something like this:







That should do it. You should now be able to connect.

Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
Re: GuzziDiag on Linux
« Reply #9 on: July 02, 2016, 10:49:19 PM »
Thanks Mark! Will give it a shot
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #10 on: July 02, 2016, 10:52:57 PM »
If you can't connect immediately, try rebooting.

pete roper

  • Guest
Re: GuzziDiag on Linux
« Reply #11 on: July 03, 2016, 12:53:32 AM »
mark@cunnox?

(Snort!)  :grin:

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #12 on: July 03, 2016, 01:21:41 AM »
:laugh:

Offline tpeever

  • Gaggle Mentor
  • ****
  • Posts: 510
  • Location: Saltspring Island BC Canada
Re: GuzziDiag on Linux
« Reply #13 on: July 13, 2016, 08:58:33 AM »
Thanks very much Mark! Worked great!
2008 Moto Guzzi 1200 Sport
2007 Moto Guzzi Nevada
1978 Kawasaki KZ650
1976 BMW R75/6
1974 Norton Commando
1968 Moto Guzzi V700
1967 Triumph TR6C
1961 Norton Dominator

Offline MorenoB

  • New Egg
  • *
  • Posts: 15
  • Location: Northern Italy
Re: GuzziDiag on Linux
« Reply #14 on: September 19, 2016, 06:53:12 AM »
I'm experiencing many issues with my XP laptop (i can connect 1 on 10 times)...Considering that I've also a Debian Linux OS in my EEEPC I'll try the linux version! Many thanks for this short guide :-)

Moto

  • Guest
Re: GuzziDiag on Linux
« Reply #15 on: September 19, 2016, 08:42:09 AM »
Works fine on my Eee PC, FYI.

Moto

Offline MorenoB

  • New Egg
  • *
  • Posts: 15
  • Location: Northern Italy
Re: GuzziDiag on Linux
« Reply #16 on: September 28, 2016, 07:36:13 AM »
YEHA"I't works very fine also on my Debian based EeePC  :thumb: Perfect!

Offline webmost

  • Gosling
  • ***
  • Posts: 410
  • Safety Third
    • The Sotweed Factor
  • Location: Newark, Delaware
Re: GuzziDiag on Linux
« Reply #17 on: September 28, 2016, 11:28:11 AM »
help a newb out here....

What years & models does this work on?
Unmitigated risk aversion is the new Puritanism; complete with witch hunts funny outfits and humorless preachers thundering doom. The Deity is Safety; Satan is a Lawyer; but the object is the same: to suck the life out of life and tell you how to live it.

Offline jas67

  • Gaggle Hero
  • *****
  • Posts: 5439
  • Location: Palmyra, PA
Re: GuzziDiag on Linux
« Reply #18 on: September 28, 2016, 11:56:48 AM »
Get the Linux version or try loading "Wine" on the Ubuntu machine. This lets you run many (but not all) Windows programs under Ubuntu.

Don't bother trying to run it under Wine, you'll never get the communications working.

Either use Windows or, run the native Linux version.

You need to make sure you have the drivers working for the RS232-USB adapter that you have.

Get one that uses the FTDI chipset.  It is more modern, and works better.   Also, most Linux distributions have the driver built in for it.

2017 V7III Special
1977 Le Mans
1974 Eldorado
2017 Triumph Thruxton R
2013 Ducati Monster 796, 2013 848 Evo Corse SE, 1974 750GT, 1970 Mk3d 450 Desmo, 1966 Monza 250
1975 Moto Morini 3 1/2
2007 Vespa GTS250
2016 BMW R1200RS, 80 R100S, 76 R90S ,73 R75/5
76 Honda CB400F, 67 305 Super Hawk, 68 CL175

Offline waxi

  • The light at the end of the tunnel has been turned off due to budget cuts.
  • Gosling
  • ***
  • Posts: 293
  • Location: Slovenia, Europe
Re: GuzziDiag on Linux
« Reply #19 on: September 29, 2016, 05:46:54 AM »
GuzziDiag should also work on Raspberry Pi. Will try to do that one day... with touchscreen. I am looking for master thesis title anyway :thumb: Any ideas?  :huh:
« Last Edit: September 29, 2016, 07:16:39 AM by waxi »
Moto Guzzi V7 II Special, 2015
Moto Guzzi Nevada, 1998
Tomos Automatik A3 ML, 1987, oldtimer

Offline jas67

  • Gaggle Hero
  • *****
  • Posts: 5439
  • Location: Palmyra, PA
Re: GuzziDiag on Linux
« Reply #20 on: September 30, 2016, 05:01:40 PM »
GuzziDiag should also work on Raspberry Pi. Will try to do that one day... with touchscreen. I am looking for master thesis title anyway :thumb: Any ideas?  :huh:

What programming language is GuzziDiag written in?   Maybe port it to Android?
That would be the ultimate in portability!
2017 V7III Special
1977 Le Mans
1974 Eldorado
2017 Triumph Thruxton R
2013 Ducati Monster 796, 2013 848 Evo Corse SE, 1974 750GT, 1970 Mk3d 450 Desmo, 1966 Monza 250
1975 Moto Morini 3 1/2
2007 Vespa GTS250
2016 BMW R1200RS, 80 R100S, 76 R90S ,73 R75/5
76 Honda CB400F, 67 305 Super Hawk, 68 CL175

pete roper

  • Guest
Re: GuzziDiag on Linux
« Reply #21 on: September 30, 2016, 08:49:54 PM »
help a newb out here....

What years & models does this work on?

15M, 15M-RC, W5AM and MUIG3.

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #22 on: September 30, 2016, 10:41:23 PM »
GuzziDiag should also work on Raspberry Pi. Will try to do that one day... with touchscreen. I am looking for master thesis title anyway :thumb: Any ideas?  :huh:


An ARM version is not available yet. The developer did mention to me he will compile an ARM version once the language he uses has been developed for the ARM architecture.

Offline jas67

  • Gaggle Hero
  • *****
  • Posts: 5439
  • Location: Palmyra, PA
Re: GuzziDiag on Linux
« Reply #23 on: October 01, 2016, 06:27:28 AM »

An ARM version is not available yet. The developer did mention to me he will compile an ARM version once the language he uses has been developed for the ARM architecture.

Do you know what language it is written in?    There are many Android tablets that have Intel Atom (x86) processors, so, it might be possible to do an Android build, although, it may only work on x86 targets.    I only bring up Android in the context of your ARM comment, because many Android devices have ARM processors.

Android uses Java as it's primary development language, but, it is also possible to compile libraries in C and C++ and integrate into apps.   

I've got a  26 years of software development experience, much of that embedded systems.   I've also got a couple years worth of iOS and Android experience, albeit, most of that using Cordova, which is Javascript+HTML5 based.
2017 V7III Special
1977 Le Mans
1974 Eldorado
2017 Triumph Thruxton R
2013 Ducati Monster 796, 2013 848 Evo Corse SE, 1974 750GT, 1970 Mk3d 450 Desmo, 1966 Monza 250
1975 Moto Morini 3 1/2
2007 Vespa GTS250
2016 BMW R1200RS, 80 R100S, 76 R90S ,73 R75/5
76 Honda CB400F, 67 305 Super Hawk, 68 CL175

beetle

  • Guest
Re: GuzziDiag on Linux
« Reply #24 on: October 01, 2016, 06:39:58 AM »
Do you know what language it is written in? 


No, I didn't ask.

 

Quad Lock - The best GPS / phone mount system for your motorcycles, no damage to your cameras!!
Get a Wildguzzi discount of 10% off your order!
http://quadlock.refr.cc/luapmckeever
Advertise Here