Changes

How to use UARTs

88 bytes added, 09:53, 13 February 2012
no edit summary
<pre>setserial -g /dev/ttyS[0123]</pre>
The result will be similar at that:
<pre>root@localhost:~/PROGRAM# setserial -g /dev/ttyS[0123]*
/dev/ttyS0, UART: 16654, Port: 0x0000, IRQ: 72
/dev/ttyS1, UART: 16654, Port: 0x0000, IRQ: 73
If you don't have setserial installed type:
<pre>apt-get install setserial</pre>
NOTE: Starting from Kernel 2.6.37.y, ttySx are named ttyOx. You need to edit source program.
=== Connect peripherals ===
4,199
edits