LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-13-2010, 09:02 AM   #1
tomas632
LQ Newbie
 
Registered: Dec 2009
Posts: 15

Rep: Reputation: 0
GPIO interfacing


Hi Guys, I'm a complete linux beginner and currently have the following board that I am playing around with...

http://www.glomationinc.com/product_9260.html

the main chip onboard is an atmel arm9 core with a debian style distribution pre-installed. I have just updated the factory kernel to 2.6.30 as I was told this had an inbuilt GPIO driver? I am trying to interface the output pins on the header of the GESBC-9260 to the linux distribution. i.e. I would initially like to write a c file that did something like toggle an output pin, which I can then connect upto an led and see this flash. However I don't really have a clue where to start. Hopefully someone could point me in the right direction?
 
Old 01-13-2010, 06:25 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Judging by the sample code on the manufacturer's website, they are just writing directly to the ports, and not using the kernel at all.

However, if you want to use the gpio_sysfs driver, the avrfreaks wiki has a good description.
 
  


Reply



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
Using GPIO (from kernel GPIO support) in MY application DannyGilbert Linux - Kernel 2 03-16-2009 07:52 AM
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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:55 PM.

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