Differences

This shows you the differences between two versions of the page.

doc:recipes:serialbaudratespeed [2012/11/29 16:06]
jrierab
doc:recipes:serialbaudratespeed [2014/08/01 14:22] (current)
b2ag
Line 16: Line 16:
OR OR
<code>stty -F /dev/ttyS0 9600 clocal cread cs8 -cstopb -parenb </code> <code>stty -F /dev/ttyS0 9600 clocal cread cs8 -cstopb -parenb </code>
 +For reading serial port settings use:
 +<code>stty -F /dev/ttyS0 -a </code>
In recent builds, you can easilly install stty from packages as follows: In recent builds, you can easilly install stty from packages as follows:
<code>opkg update <code>opkg update
opkg install coreutils-stty</code> opkg install coreutils-stty</code>
 +You will find stty in your menuconfig under
 +<code>Base system -> busybox -> Coreutils -> stty</code>
===== First method: ===== ===== First method: =====
Line 42: Line 46:
  * grep ttyATH0 ./trunk/target/linux/ar71xx/ -R   * grep ttyATH0 ./trunk/target/linux/ar71xx/ -R
-edit file:+edit file before [[http://wiki.openwrt.org/doc/howto/build|building]] your own image:
  * ./trunk/target/linux/ar71xx/image/Makefile   * ./trunk/target/linux/ar71xx/image/Makefile

Back to top

doc/recipes/serialbaudratespeed.1354201577.txt.bz2 · Last modified: 2012/11/29 16:06 by jrierab