Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-03-2011, 03:45 AM   #1
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, 08:20 PM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002

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.




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 05:27 PM
[lirc] No output from irw, but cat /dev/lirc0 and mode2 /dev/lirc0 work fine Meson Linux - Software 0 10-20-2009 11:28 AM
/dev/tty vs /dev/pts anshexp Linux - Kernel 1 09-21-2009 09:13 AM
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
cat /dev/tty? yoshiznit123 Linux - Security 3 12-14-2005 12:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:58 AM.

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