Try giving

chmod 777 /dev/*

We had similary device permission problem and it worked using the above.

--------------
Regards

Vikas KM


On Mon, Oct 17, 2011 at 5:25 PM, David Turner <di...@android.com> wrote:

> Hello,
>
> I think this is not related to the NDK, try android-porting@ instead,
> where people with similar problems will likely be able to help you
>
> Regards
>
> On Fri, Oct 14, 2011 at 7:08 PM, Anil 
> <anil.phi...@motorolasolutions.com>wrote:
>
>> What permissions does AndroidManifest.xml need to access a device
>> driver?
>> The device driver file has 777 permissions.
>> I am using Froyo 2.2 on the OMAP4 Blaze board.
>> When I try to call the device driver through JNI, I get a write error
>> and errno is "Bad File Number".
>> I used permissions
>>   <uses-permission android:name="android.permission.FACTORY_TEST" />
>>   <uses-permission android:name="android.permission.HARDWARE_TEST" />
>>
>> However when I look in Settings, I do not see these permissions.
>>
>> Anil
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "android-ndk" group.
>> To post to this group, send email to android-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> android-ndk+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/android-ndk?hl=en.
>>
>>
>  --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>

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

Reply via email to