LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2009, 04:15 AM   #1
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Rep: Reputation: 16
Serial, /dev/ttyS0 the data is coming in but I can't see it..


Hi,

When I run "cat /dev/ttyS0" (serial) on one terminal, and then try "echo helo > /dev/ttyS0" from another terminal, i get no output from the first terminal.

However when i do this: "cat /proc/tty/driver/serial" I can see the data coming in on TX... any ideas what is wrong or where i can start looking? It just seems like /dev/ttyS0 is not working.

Any help appreciated. Thanks.
 
Old 10-18-2009, 04:53 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by coffeecoffee View Post
Hi,

When I run "cat /dev/ttyS0" (serial) on one terminal, and then try "echo helo > /dev/ttyS0" from another terminal, i get no output from the first terminal.

However when i do this: "cat /proc/tty/driver/serial" I can see the data coming in on TX... any ideas what is wrong or where i can start looking? It just seems like /dev/ttyS0 is not working.

Any help appreciated. Thanks.
Why not run a terminal that supports serial interfaces? There are many. That would resolve the issue for you.
 
Old 10-18-2009, 06:15 AM   #3
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by lutusp View Post
Why not run a terminal that supports serial interfaces? There are many. That would resolve the issue for you.
I am running Gnome terminal and it didn't work, I would have thought this worked with serial. I also tried the actual bash console (outside of xwindow) and it didn't work either.. surely that supports serial. I think it is another issue..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Query buffer with serial port /dev/ttyS0 mmcshmi11 Linux - Hardware 2 07-08-2008 05:24 PM
writing to serial port, /dev/ttyS0 togunter Programming 2 06-08-2008 10:27 AM
How to read serial port (/dev/ttyS0) seraph-seph Linux - Hardware 4 11-01-2006 07:55 AM
What can be the difference between /dev/ttyS0 and a virtual serial device? philipina Programming 5 10-12-2006 10:29 AM
Serial Port HowTo (Cannot open /dev/ttyS0) chun-mee Linux - Hardware 2 07-14-2006 06:35 PM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration