Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am designing an image processing application on Android that needs to access hardware registers from user space. The application is integrated to external/skia. First, I have to determine the virtual address of my hardware by doing a device open("/dev/mem", O_RDWR|O_SYNC) followed by a mmap(etc...)
Android Volume Deamon version 2.0
The open() is failing with a EACCES(13) error: I dont have permission.
I have noticed config files having the following flags:
in Kconfig.debug in kernel/arch/x86 and in other places.
I also tried to alter the AndroidManifest.xml for my application (Camera) to add a permission called "HARDWARE_TEST". The PackageManager rejected the permission at boot-up.
1. Who has permission to open the mem device ?
2. What is the usage of the config flags and can they help me?
3. Where is the master config file that generates all the generated files?
4. Is there anything I can do via the permission within the xml manifests ?