On Tue, 3 Jun 2008 15:21:02 +0530, "mohammed shareef" <mdshareef@xxxxxxxxx> 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 the gpio, you'll have to write a module from scratch. afaict, there's no way of controlling gpio from userland. Besides gpiofs that a friend was writing and never finished :-p I'll try to reach him and ask him to send as RFC cuz it was a good work anyway :-) -- Best Regards, Felipe Balbi http://felipebalbi.com me@xxxxxxxxxxxxxxx -- 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