title: Detect UART port names on BananaPi M3
body: <p><br>
  I'm trying to detect the UART port names for a BananaPi M3 device running a Raspbian so I can do a simple test to send and receive some data on it. I connected the RX and TX pins of the UART connector with a simple jumper but I cannot detect the actual name of the ports. The pins are described <a href="http://www.bananapi.org/p/product.html" rel="nofollow">here</a> but I don't find exactly their names.
  <br>The tests I made so far without success:</p>
  
  <pre><code>ser = serial.Serial('/dev/ttyS1', 115200, timeout = 1)
      num = ser.write("test\n")
  ser2 = serial.Serial('/dev/ttyS2', 115200, timeout = 1)
      data = ser2.read(100)
  </code></pre>
  
  <p><br>So, how exactly the UART port names can be detected.
  <br>Thank you</p>