title: How to control a serial device on Android?
body: <p>I want to develop an application whitch control the serial device over usb, on Linux Android.<br/>
  An Android OS is 3.1 that supports USB host.</p>
  
  <blockquote>
    <p>Q1: Please let me know how to get which port the serial device is mounted .</p>
  </blockquote>
  
  <p>I got likely USB device information when I got "Dump Device State" on Dalvik Debug Monitor.<br/>
  And, I checked /dev/tty* on android device by using adb.<br/>
  I don't know which one(/dev/tty??) the serial device is.<br/></p>
  
  <p>adb shell<br/>
  $ ls /dev/tty*<br/>
  /dev/tty<br/>
  /dev/ttyFIQ0<br/>
  /dev/ttyHS0<br/>
  /dev/ttyHS2<br/>
  /dev/ttyHS3<br/>
  /dev/ttyHS4<br/>
  /dev/ttyS0<br/>
  /dev/ttyS1<br/>
  /dev/ttyS2<br/>
  /dev/ttyS3<br/></p>
  
  <blockquote>
    <p>Q2: Please let me know how to control the serial device on Android without root permission.</p>
  </blockquote>
  
  <p>I have a application(exe) that can control the serial device on linux.<br/>
  I tried to do on android , but I couldn't do for permission denied.<br/></p>
  
  <p>And, I tried redirect to the serial port(maybe)<br/>
  $ ls > /dev/ttyS0<br/>
  But I couldn't. <br/>
  cannot create  /dev/ttyS0: permission denied.<br/></p>
  
  <p>Please let me know anything how to control and access to the serial device.</p>