> > An Android program is typically run as a non-privileged process (with unique > > user ID) from the perspective of the Linux kernel. > > As a result, one solution to allow the program to access the device driver > > is to grant read/write permission to the device files or sysfs files. > > For example, assume you have the device file named /dev/my_devfile. Set it > > with the following command: chmod 0666 /dev/my_devfile. >
Yes, the driver had rw------ I changed it and it worked. However, I had to to connect a usb cable, adb shell and then chmod. Is there a way for the program to access the device driver by mentioning permissions in the AndroidManifest.xml? I tried using FACTORY_TEST and HARDWARE_TEST permissions, but they dont get installed under settings. Anil -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
