Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 02-25-2009, 08:35 AM   #1
LQ Newbie
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Using GPIO (from kernel GPIO support) in MY application

Hi !

When I build the KERNEL, I can specify that I want to use the generic GPIO support (I also see that there is a specific GPIO.C driver for my chip... AT91SAM9260 ARM 9 processor).

How can we use the function from GPIO inside my own application ?
Old 03-02-2009, 06:36 PM   #2
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
I was wondering the same thing....

To bad the lusers deem this far too easy, and beneath them to respond. Thanks guys. Back to Windows, where everything just works =)
Old 03-16-2009, 07:52 AM   #3
LQ Newbie
Registered: Mar 2009
Posts: 7

Rep: Reputation: 0
Just modify the code in GPIO.c, for an example,in driver init part u can do your gpio initilizaiton and same like everything....i hope u understand if not, tel me i will tell very clearly...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gpio board FrollyC Linux - General 4 02-09-2008 08:38 AM
GPIO response time_ stz Programming 2 11-29-2006 12:34 AM
Gpio rash_f Linux - Newbie 1 08-31-2006 01:14 PM
GPIO testing rash_f Linux - Hardware 0 08-31-2006 02:22 AM

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration