LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cat /dev/tty issue (https://www.linuxquestions.org/questions/linux-newbie-8/cat-dev-tty-issue-906153/)

m1organb 10-03-2011 03:45 AM

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

corp769 10-03-2011 08:20 PM

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


All times are GMT -5. The time now is 01:42 PM.