LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-03-2011, 04:45 AM   #1
m1organb
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
cat /dev/tty issue


I'm using the max3100 driver *by Christian Pell where I'm able to successfully transmit serial data over the SPI bus and out the max3100's TxD pin using "echo xxxxxx > ttymax".

Using "cat ttymax", I expected to capture the serial data (that's being injected into the RxD pin and *configured for 9600 8 n 1), but the data never appears on the terminal where *"cat ttymax" is running. *

The platform is a *Freescale*mpc8313 PowerPC that is configured by dts file set up to tell the kernel that IRQ 17 is used for the interrupt while CS 18 is used to enable the max3100 device during transfers.

Any suggestions would be appreciated using "cat" to read in the data.

Best Regards
 
Old 10-03-2011, 09:20 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

So then where is the data being displayed? Also, have you tried redirecting the data into a file, and using tail -f to view it? Doing it this way, you can view it live, and at the same time, it will be saving the data to file.

Cheers,

Josh
 
  


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
[SOLVED] Stupidly ran "cat /dev/urandom > /dev/mem", worried I broke firmware crosstalk Linux - Hardware 2 10-25-2010 06:27 PM
[lirc] No output from irw, but cat /dev/lirc0 and mode2 /dev/lirc0 work fine Meson Linux - Software 0 10-20-2009 12:28 PM
/dev/tty vs /dev/pts anshexp Linux - Kernel 1 09-21-2009 10:13 AM
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 01:46 PM
cat /dev/tty? yoshiznit123 Linux - Security 3 12-14-2005 01:44 PM


All times are GMT -5. The time now is 10:06 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