Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



New!

Thinking MCU? Think TI
Visit the new
TI MCU resource center for the latest videos and documents to help support your design efforts.

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AT91SAM ARM | Silly embedded Linux question: Reading console from a program

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

Silly embedded Linux question: Reading console from a program - Dan Lyke - Mar 31 12:30:44 2009

I've got Linux on an AT91SAM9261-EK, and I need to grab the console
messages so my main control can do the right thing when devices are
connected. I tried:

cat /dev/console > test.txt

just gives me a newline in test.txt, so I'm guessing that
opening /dev/console for read and using it in my select() loop isn't
going to give me what I want.

Anyone know what will?

Thanks!

Dan
------------------------------------

______________________________
Have a look at the new TI MCU Center on EmbeddedRelated.com!


(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )