[android-porting] Re: Android access GPIO

2012-11-05 Thread Shree Kumar
On Friday, November 2, 2012 3:07:24 PM UTC+5:30, vincent wrote: > > Hi All, > > I am newer of Android and Linux. Now I am doing a task which > request to access GPIO in hwc.c or Surfaceflinger.cpp. > > (I am using a panda board, and have light up it, now I want to > modify someth

[android-porting] Re: Android access GPIO

2012-11-05 Thread valeswararao dhilipudi
Hi Vincent, You can not access kernel calls in user space libraries. You can not directly handle the hardware from user space , Either way you can utilize the kernel features like proc fs or syfs to communicate with the kernel from user space. You can implement proc fs or sysfs calls to communi