JDMoore0883
Posts: 9
Joined: Mon Sep 23, 2013 7:32 pm

Serial Connection problems

Sun Aug 17, 2014 3:58 pm

Hello everyone!

So this seems to me to be a bit more of an OS issue on my end, but I will post for help nonetheless... So I am using a USB Serial connection to the Pi. In windows, using PuTTY, the connection is fine. When I try to use it in Linux however, it doesn't. Here is the command I am using:

sudo minicom -b 115200 -D /dev/ttyUSB0

I get prompted for my sudo password and minicom comes up. But the bottom right status lists as offline, and there is no responses to any input. If I unplug the USB cable, I get an error about not being to read the /dev/ttyUSB0 device.

I am very sure I am doing something wrong somewhere, as the connection is fine in Windows and PuTTY, but I can't for the life of me figure out what and where things are going wrong.

Any ideas?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5621
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Serial Connection problems

Sun Aug 17, 2014 6:12 pm

JDMoore0883 wrote: ...
sudo minicom -b 115200 -D /dev/ttyUSB0

I get prompted for my sudo password and minicom comes up. But the bottom right status lists as offline, and there is no responses to any input. If I unplug the USB cable, I get an error about not being to read the /dev/ttyUSB0 device.

I am very sure I am doing something wrong somewhere, as the connection is fine in Windows and PuTTY, but I can't for the life of me figure out what and where things are going wrong.

Any ideas?
I've also had issues with getting minicom to work and, eventually, both on my Pi's and Ubuntu netbook found GtkTerm easier to set up and get working (from the Desktop)
FWIW, links to some screenshots & other notes below:
http://www.cpmspectrepi.webspace.virgin ... pters.html
http://www.cpmspectrepi.webspace.virgin ... rtRep.html
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Serial Connection problems

Sun Aug 17, 2014 11:14 pm

Not sure if this will help but I only use sudo with minicom when setting the config. After that don't use sudo.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Return to “Troubleshooting”