From: Craig H. <cr...@gu...> - 2006-03-18 21:28:18
|
On Mar 18, 2006, at 8:05 AM, Renzo wrote: > Hi, > > for my application i need to set the serial port speed to 115200 bps. > This is off course essily done with: > > stty 115200 -F /dev/ttyS2 > > but doing this every time i start the gumstix is annoying... > Is there any configuration file in which i can set the default speed? You can use the configuration file for /sbin/init, which is called / etc/inittab. Add the line: ::sysinit:/bin/stty -F /dev/ttyS2 115200 > Of course a startup script would also do; but changing > the config file is better. "better" how? C |