I am calling the driver from an Android program (OMAP4/Blaze). It
calls a c++ program via JNI which then calls the device driver.
When I open the driver and write to it, I get a 'bad file number'
error.
Someone suggested it might be a permissions problem - the program is
running in user mode.

on Blaze board, /system/bin
# ls -l
-rwxrwxrwx system   system       7636 2011-09-30 03:53 mydriver

What permissions does AndroidManifest.xml need to access a custom
device driver?

Anil

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to