Ubuntu 10 10 Connecting to a terminal to a serial-to-USB device on Maverick Meerkat

0 votes

So, I tried to connect minicom to a serial device that is connected via a USB-to-serial adapter. It's a PL2303. If I'm not wrong, there's no need for additional drivers. 

I'm new to this and the following is what I've tried;

$ sudo minicom --device /dev/ttyUSB0
minicom: cannot open /dev/ttyUSB0: No such file or directory

$ sudo lsusb -v

Bus 002 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Device Descriptor:
  bLength                18
  bDescriptorType         1

$ tail /var/log/syslog  #then removed and attached the device.
Mar 13 23:31:49 ubuntu kernel: [807996.786805] usb 2-1: pl2303 converter now attached to ttyUSB0
Mar 13 23:34:44 ubuntu kernel: [808172.155129] usb 2-1: USB disconnect, address 7
Mar 13 23:34:44 ubuntu kernel: [808172.156321] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
Mar 13 23:34:44 ubuntu kernel: [808172.156374] pl2303 2-1:1.0: device disconnected
Mar 13 23:34:52 ubuntu kernel: [808179.497856] usb 2-1: new full speed USB device using uhci_hcd and address 8
Mar 13 23:34:52 ubuntu kernel: [808179.785845] pl2303 2-1:1.0: pl2303 converter detected
Mar 13 23:34:52 ubuntu kernel: [808179.872309] usb 2-1: pl2303 converter now attached to ttyUSB0

Am I doing it right??

Jun 10, 2019 in Linux Administration by Shubham
• 13,490 points
8,209 views

1 answer to this question.

0 votes
  1. Check with dmesg | grep tty if system recognize your adapter. 
  2. Run minicom with sudo minicom -s, go to "Serial port setup" 
  3. Change the first line to /dev/ttyUSB0.
  4. Save config as default with "Save setup as dfl". 

It works for Ubuntu 11.04 on VirtualBox.

answered Jun 10, 2019 by Upasana
• 8,620 points

Related Questions In Linux Administration

0 votes
1 answer

Error when trying to install a few packages on ubuntu

Try executing the following commands and try ...READ MORE

answered Mar 15, 2019 in Linux Administration by Jobin
1,599 views
+2 votes
1 answer

Not able to install npm on Ubuntu

Try installing npm using aptitude: sudo apt install aptitude sudo ...READ MORE

answered Nov 28, 2018 in Linux Administration by Omkar
• 69,220 points
8,249 views
+1 vote
3 answers

How to uninstall Apache2 on Ubuntu?

Hey @Laksha, execute the following commands: $ sudo ...READ MORE

answered May 14, 2019 in Linux Administration by Hemant
275,210 views
0 votes
0 answers

How to create a file in Linux from terminal window?

What's the easiest way to create a ...READ MORE

Apr 13, 2022 in Linux Administration by Rahul
• 9,680 points
575 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
1,184 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
1,274 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
848 views
0 votes
1 answer

To run a shell script on a Unix console or Mac terminal

To run a non-executable sh script, use: sh myscript To run ...READ MORE

answered May 16, 2019 in Linux Administration by Upasana
• 8,620 points
850 views
0 votes
1 answer

To attach a file using mail command on Linux

$ echo | mutt -a syslogs.tar.gz admin@domain.org READ MORE

answered Jun 28, 2019 in Linux Administration by Upasana
• 8,620 points
2,849 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP