Re: user space program for omap gpio

2008-06-03 Thread mohammed shareef
Hi Felipe, could you give me some useful pointers on how to use the gpio-switch and ioctl to read and write gpio? thanx and regards, Shareef On Mon, Jun 2, 2008 at 11:14 PM, Felipe Balbi [EMAIL PROTECTED] wrote: On Mon, Jun 02, 2008 at 10:28:02PM +0530, mohammed shareef wrote: Hi, i want to

Re: user space program for omap gpio

2008-06-03 Thread Felipe Balbi
On Tue, 3 Jun 2008 15:21:02 +0530, mohammed shareef [EMAIL PROTECTED] wrote: Hi Felipe, could you give me some useful pointers on how to use the gpio-switch and ioctl to read and write gpio? gpio-switch you can check in arch/arm/mach-omap2/board-n800.c about using ioctls for controlling

Re: user space program for omap gpio

2008-06-03 Thread Eduardo Valentin
Hi Felipe, Actually, David Brownell is working on something very similar. sysfs for gpio lib. http://kerneltrap.org/mailarchive/linux-kernel/2008/4/28/1640134 That'd be really useful indeed. But I believe it is not merged yet. My 2 cents. Cheers, On Tue, Jun 3, 2008 at 7:19 AM, Felipe

Re: user space program for omap gpio

2008-06-03 Thread Felipe Balbi
On Tue, 3 Jun 2008 07:35:38 -0400, Eduardo Valentin [EMAIL PROTECTED] wrote: Hi Felipe, Actually, David Brownell is working on something very similar. sysfs for gpio lib. http://kerneltrap.org/mailarchive/linux-kernel/2008/4/28/1640134 That'd be really useful indeed. But I believe

user space program for omap gpio

2008-06-02 Thread mohammed shareef
Hi, i want to access the omap5912 GPIO pins from user space... like reading the pin or writing to it from a user space program. is it possible? thanx and regards, Shareef -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

Re: user space program for omap gpio

2008-06-02 Thread Felipe Balbi
On Mon, Jun 02, 2008 at 10:28:02PM +0530, mohammed shareef wrote: Hi, i want to access the omap5912 GPIO pins from user space... like reading the pin or writing to it from a user space program. is it possible? Maybe you can use gpio-switch for reading. But for writing, then you would have