Re: user space program for omap gpio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux