LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Problems using UART on MPC5200
@ 2010-07-28  9:26 Sven Batzer
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Batzer @ 2010-07-28  9:26 UTC (permalink / raw)
  To: linuxppc-dev

Hello,

I am using a PowerPC MPC5200 from Freescale (with STK5200-Board), ELDK 4.2
from DENX and the Kernel 2.6.34-rc5.

My Kernel is running fine. The console output is coming over the device
ttyPSC0.

In future I want to login over telnet. So I deactivated the Kerneloption
to output the console over the UART device.

Now I want to read and write to the RS232 interface from a program.
But when I try to open the device ttyPSC* I get the following error:
"unable to read portsettings : Inappropriate ioctl for device"

What does this mean ? How can I send and receive Data from/to the UART ?

Thanks for your help.

Sven

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-29 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <59976.84.175.96.30.1280309170.squirrel__2764.8760042668$1280309549$gmane$org@batzer-biz.prossl.de>
2010-07-29 11:55 ` Problems using UART on MPC5200 Detlev Zundel
2010-07-28  9:26 Sven Batzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox