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 <me@xxxxxxxxxxxxxxx> wrote: > 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 to write your own module with, maybe, ioctl for writing to > gpios. > > I don't know of any already implemented way for completely handling > gpios via userland. > > -- > Best Regards, > > Felipe Balbi > me@xxxxxxxxxxxxxxx > http://blog.felipebalbi.com > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html