pxa320: change uart configuration

Judith Baumgarten judith.baumgarten at tu-cottbus.de
Thu Jan 14 05:52:25 EST 2010


Zitat von Russell King - ARM Linux <linux at arm.linux.org.uk>:

> On Tue, Jan 12, 2010 at 06:30:00PM +0100, Judith Baumgarten wrote:
>> I want to change the uart configuration of the pxa serial ports in order
>> to be able to connect to different devices. The problem is, that it jumps
>> back to its initial configuration, when it receives some data. I used
>> stty of busybox 1.14.3 as well as the termios-structure to change the
>> configuration, but it always remained the same. I could protect some
>> configurations by using the TIOCSLCKTRMIOS ioctl, but the baudrate still
>> jumps back.
>
> Something will be changing it back.  A getty maybe?

We have no getty on our system. Inittab contains just the following entries:

::sysinit:/etc/init.d/rcS
ttyS0::respawn:-/bin/sh
ttyS1::respawn:-/bin/sh
tty1::respawn:-/bin/sh
tty2::respawn:-/bin/sh
::ctrlaltdel:/bin/umount -a -r

and a "ps ax | grep tty" has no result.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the linux-arm-kernel mailing list