This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

(OMAP-3530) how does one update Android for r/w access to serial ports ?



Our Android module interfaces to a peripheral device via the serial port (ttyS2, ttyS3, etc).

However, listing all serial ports with "ls -l /dev/ttyS*" shows that root access is required to be able to read/write.

 

For engineering, using "chmod 666 /dev/ttyS3" works well but in the field we don't want to ship "/system/bin/su" so that the app can gain r/w access.

 

What (and how) needs to be updated so that a serial port is accessible to all users - including our app ?

 

 

Note: I've looked through the Froyo userguide but didn't see anything that answers my question

http://processors.wiki.ti.com/index.php/TI-Android-FroYo-DevKit-V2.2_UserGuide