LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-07-2010, 02:39 PM   #1
jblc
LQ Newbie
 
Registered: Jul 2010
Posts: 1

Rep: Reputation: 0
Darn serial port doesn't work with minicom


EDIT: but a c++ program seemed to be able to access the port based on the voltages, but only *sometimes*.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I read through dozens of threads here and elsewhere, and I'm sure this is a common problem...but I can't find relevant threads?

Basically I can't even use minicom to write to the serial port. An oscilloscope shows no signal being outputted when typing on minicom. I tried ttyS0-ttyS4 just in case, though my computer only has one physical port. I have a loopback adaptor (TX/RX connected) so what I type should be returned.

Minicom is set up for /dev/ttyS0 for 57600 8N2.
The port is there, since "dmesg | grep tty" returns:

serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

And "ls /dev/ttyS*" returns:
/dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3

Why is there no output on minicom when I type?

I'm new to linux, and am on Gnome/RedHat...

Last edited by jblc; 07-07-2010 at 04:44 PM.
 
Old 07-08-2010, 01:59 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Try dropping it down to 9600 baud ... from memory it's 'minicom -s' to set defaults

Last edited by kbp; 07-08-2010 at 02:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
On my PCI serial port card I-440 work only two ports from 4 vitaly_v_ch Linux - Hardware 0 01-16-2010 01:18 AM
Fedora 10 com1 port will not connect to router console port using minicom rgjr979 Linux - Newbie 4 12-28-2009 05:35 PM
Minicom -- want to read data coming in a serial port ihopeto Linux - Newbie 2 04-12-2009 09:46 PM
Serial communication - minicom sg3 Linux - Networking 0 07-17-2003 12:00 AM
getting serial port to work with c jonfa Programming 1 07-29-2002 01:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration