Page 1 of 1

Putty on Ubuntu18.04 via VMware Workstation15

Posted: Wed Jun 10, 2020 7:25 am
by rsato
following the instruction on Working.with.Zephyr.pdf (Revision: 0.1.0) , but not able run putty due to fatal error.
Untitled.png
Untitled.png (137.88 KiB) Viewed 19943 times

thanks for your advice.

Re: Putty on Ubuntu18.04 via VMware Workstation15

Posted: Wed Jun 10, 2020 8:40 am
by spingali
The serial port is not available on ttyUSB0. That is the error.

Make sure the connection is proper and find out which port it is connected on. You can use below command.
On my ubuntu system the output is as below.

Code: Select all

qlblue@Ubuntu184-3:~$ dmesg | grep ttyUSB
[    4.084503] usb 2-1.4: cp210x converter now attached to ttyUSB0
If you are using a virtual box, first you have to expose the USB port to Ubuntu through virtual box. Please refer virtual box documentation on this.
In fact, if you are using virtual box, you can use Tera Term/Putty on windows it self.

Re: Putty on Ubuntu18.04 via VMware Workstation15

Posted: Thu Jun 11, 2020 3:04 am
by rsato
hi,

I'm using VMWare Workstation 15 Player on WIndows10 for this time.

I hit the command as
ryo@ubuntu:~$ dmesg | grep ttyUSB
but seems nothing match with ttyUSB.

QuickFether being connected to laptop and select the virtual machine to connect. How can I get the info on Ubuntu18?

thanks,

Re: Putty on Ubuntu18.04 via VMware Workstation15

Posted: Thu Jun 11, 2020 4:17 am
by tutatis7
rsato,

I was having a similar issue with my set up.
I'm using VirtualBox VM on a MAC running Ubuntu 20.04 LTS.

So, I found that I had to first enable the USB port on VirtualBox. So I assume that you might need to find that in the VMware settings for the Ubuntu VM.

Then when you get into Ubuntu, in terminal you can try
dmesg | grep tty

In my set up, the port is assigned to an ACM device. so instead of ttyUSB0, it is assigned to ttyACM0. Once I change it to that in the command I was able to run putty successfully.

Re: Putty on Ubuntu18.04 via VMware Workstation15

Posted: Fri Jun 12, 2020 6:17 am
by rsato
thanks tutatis7,

Tried to enable USB connection on VMWare Workstation and back to the terminal to confirm by typing the command.
ryo@ubuntu:~$ dmesg | grep tty
[ 1.372396] printk: console [tty0] enabled
[ 5.462632] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
ryo@ubuntu:~$
then tried with ttyS0 on Putty but seems it's not a correct port to connect to...

Can anyone help to check my connection and advice?

Re: Putty on Ubuntu18.04 via VMware Workstation15

Posted: Wed Jun 17, 2020 9:48 am
by spingali
Inside the Ubuntu window, click on Device menu and then USB. In the list of ports, see if your serial port is checked. If not select the port. Try again and see if it is checked. Unless the port is marked checked, it will not be available for Ubuntu.