Forums - permission denied for tty device

1 post / 0 new
permission denied for tty device
Join Date: 20 Sep 15
Posts: 1
Posted: Wed, 2015-10-14 08:52



I am using snapdragon 410c processor and android 5.1 OS. I want to interface a GSM modem connected on ttyxx port. Currently I am using reference HAL layer provided in Android code. I have compiled it as .so lib and copied it to required location.

The problem is when my .so is called and try to open the ttyxx device, I am getting permission denied  error. I have changed init.rc file to point to compile .so library.

I have added following line to ueventd.rc

/dev/ttyxx              0666   radio      radio

Is there any qualcomm specific changes that I am missing in code?

The permission of /dev/ttyxx is set to 666.



  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.