From: Matt Callow <mc-lists@tesco.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: Userspace GPIO
Date: Tue, 16 May 2006 10:08:27 +0100 [thread overview]
Message-ID: <4469968B.3050802@tesco.net> (raw)
In-Reply-To: <09D3F703EF3B0A4CBE28449EA9F3D320477AD8@nicta-atp-mail.in.nicta.com.au>
Marco Candiago wrote:
> Hello,
>
> We are developing with the Innovator 1510 2.6.12-rc2-omap1 kernel
> version.
>
> Going through the archives I see that a similar type of question has
> been a
> Asked regarding accessing the GPIO lines via user-space; the answer
> being just a link to the mailing list archives.
>
> With this kernel is there a convenient method of toggling the GPIO lines
> without having to resort to kernel space programming. With some other
> hardware I have seen using Linux, it is possible to access the GPIO
> lines via a /proc entry, however, I don't see that here.
>
>
Since the GPIO lines are mapped into the ARM memory space, you can use a
program like devmem2 to access the memory locations directly. Maybe not
the most elegant solution but I've used the program successfully on an
OMAP board. Try searching for devmem2.c in google.
Matt
next prev parent reply other threads:[~2006-05-16 9:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-16 7:46 Userspace GPIO Marco Candiago
2006-05-16 9:08 ` Matt Callow [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-05-16 12:09 Woodruff, Richard
2006-05-17 4:09 Marco Candiago
2006-05-17 8:56 ` andrzej zaborowski
2006-05-17 9:49 ` Juha Yrjölä
2006-05-18 4:08 Marco Candiago
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4469968B.3050802@tesco.net \
--to=mc-lists@tesco.net \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox