12425 - Established June, 2013 - all GRiSO, all the time...
 
HomeFAQRegisterLog in
Share | 
 

 Guzzidiag on linux won't connect- com port greyed out

View previous topic View next topic Go down 
AuthorMessage
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Guzzidiag on linux won't connect- com port greyed out   Thu May 04, 2017 12:53 pm

Hi all, i recently ditched horrible slow vista on my ancient laptop for linux, making my fossilised dell perform like it's on crack.
Trouble is i can't get guzzidiag to connect anymore, the com port is blank and greyed out.
Any help will be much appreciated.
Thanks.
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Thu May 04, 2017 9:54 pm

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:

[You must be registered and logged in to see this image.]


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

sudo usermod -a -G dialout [enter]

You will be asked for your password. Enter your password and hit [enter].

Then, type:

ls -al /dev/ttyUSB0

You should get something like this:


[You must be registered and logged in to see this image.]




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



cheers
Back to top Go down
https://www.griso.org
Oz1200Guzzi
Don Abbondio
Don Abbondio
avatar

Posts : 2164
Join date : 2014-03-13
Age : 62

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Thu May 04, 2017 10:13 pm

Awesome Mark - Oh Linux Guru
Back to top Go down
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Thu May 04, 2017 10:38 pm

Hi beetle, still greyed out sadly. I'll do a fresh install tomorrow and try again, i've been messing about in the terminal previously and fear i cocked something up trying to get it to work.
Thanks for your reply, much appreciated.
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Thu May 04, 2017 11:19 pm

Don't reload. Try this:

With the cable plugged in and powered, check that you have this device:  /dev/tts/USB0

If so, In a terminal, run this command:

sudo chmod 666 /dev/tts/USB0

Create a symlink:

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



You might also try running GuzziDiag as root.



Suspect
Back to top Go down
https://www.griso.org
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 5:56 am

It comes up with 'bash: /dev/tts/USB0: No such file or directory'. So looks like something's missing.
I'll do a search and see what i need.
Back to top Go down
Oz1200Guzzi
Don Abbondio
Don Abbondio
avatar

Posts : 2164
Join date : 2014-03-13
Age : 62

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 5:58 am

Try replacing the zero in the USB string with other numbers. Sometimes there is an apparent conflict between real and virtual USBs. Then again, I may be talking shyte...
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 8:25 am

Does /dev/ttyUSB0 exist when the cable is plugged in and powered?



scratch
Back to top Go down
https://www.griso.org
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 8:57 am

No, I'm presuming that line should be entered in the terminal, same as the rest? It's really bugging me now, still, there's scan m5x i can fall back on for tps reset. I won't give up on this though...
Thanks again.
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 9:08 am

In a terminal, what is the output of:

ls -al /dev/*USB*


(With the cable plugged in and powered).


Question
Back to top Go down
https://www.griso.org
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 9:33 am

'no such file or directory' aaaarrrghh Mad
I'm off for a spin to clear my head
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 10:50 am

Oops.

Try:

sudo ls -al /dev/*USB*




silent
Back to top Go down
https://www.griso.org
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 12:10 pm

Something appeared!  'crw-rw---- 1 root dialout 188, 0 may  5 13.05 /dev/ttyUSB0'

And as superuser (lol !) 'lrwxrwxrwx 1 root 13 may 5 13.46 /dev/ttyUSB0 -> /dev/tts/USB0'


Last edited by wayne68 on Fri May 05, 2017 12:56 pm; edited 1 time in total
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 12:34 pm

Did you do:

sudo usermod -a -G dialout $USER

...where $USER is your username?



scratch
Back to top Go down
https://www.griso.org
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 1:02 pm

..


Last edited by wayne68 on Fri May 05, 2017 4:14 pm; edited 1 time in total (Reason for editing : Useless post)
Back to top Go down
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 1:36 pm

Hang on... IT WORKS!
Thank you thank you cheers cheers cheers
Back to top Go down
wayne68
Tanabuso
Tanabuso
avatar

Posts : 60
Join date : 2014-08-28

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 4:28 pm

So in the end i just did

sudo usermod -a -G dialout $USER


ls -al /dev/ttyUSB0.

Just adding my name did it.
Thanks again Mark, you saved what's left of my sanity
Back to top Go down
beetle
GRiSO
GRiSO
avatar

Posts : 4645
Join date : 2013-09-30

PostSubject: Re: Guzzidiag on linux won't connect- com port greyed out   Fri May 05, 2017 10:12 pm

cheers





cheers
Back to top Go down
https://www.griso.org
 
Guzzidiag on linux won't connect- com port greyed out
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
GRiSO ghetto :: The Ghetto :: GRiSOLOGY-
Jump to: