Re: user space program for omap gpio

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

 



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 Balbi <me@xxxxxxxxxxxxxxx> wrote:
>
>
> 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
>



-- 
Eduardo Bezerra Valentin
--
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