Am Mittwoch, den 27.06.2007, 11:04 -0700 schrieb Paul Romero: > Dear User Group: > > The speed of the console--/dev/ttyS0, is hardcoded to 19200 > baud in the 2.4.x kernel. This means that fcntl() and similar > calls can not be used to change the speed. > > You can quickly grasp the problem if you search for > CONSOLE_BAUD_RATE in the file > linux-2.4.x/drivers/char/mcfserial.c. I believe that > is the only file that needs to be modified to make > the speed of ttyS0 configurable like other ttys ? > Is that correct ? > > More importantly, has someone already made the ttyS0 > speed configurable, and if so, where can one obtain the > relevant code ? > > Note: I am using UC Linux release 2.4.27 with the 2.4.x kernel > on an M5249C3. > > Best Regards, > > Paul R. > you can override the default CONSOLE_BAUD_RATE from the kernel cmdline, with "console=ttyS0,9600", or whatever baudrate you like.
Regards, Erwin _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
