Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 11-01-2013, 05:15 AM   #1
LQ Newbie
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
Writing User Space Program for AT91SAMA5 to control LEDs


I am new to embedded linux . I have recently got a board from Atmel SAMA53D3x .
However , no proper documentation is available on how to write applications .

Can anyone tell me how can i write a user space program to modify GPIOs
using buit-in GPIO driver .

Thanks and Regards ,
Old 11-01-2013, 07:20 AM   #2
Registered: Jan 2011
Posts: 93

Rep: Reputation: 10
For me the easiest way is to enable sysfs in the kernel.
Device Drivers -> GPIO Support -> /sys/class/gpio/... (sysfs interface)


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
How to control LEDs from USB Webcam? aurium Linux - Hardware 4 11-30-2016 02:03 PM
Writing a char driver. Sending from user space works, copy_to_user always 0 wedz Linux - Kernel 2 06-11-2013 09:37 PM
how to know which user space process is writing to SD card? sanrio alvares Linux - Newbie 2 09-07-2012 01:03 AM
Help : Process control from Boot loader to User Space vmkaarthik Linux - Newbie 2 06-29-2010 11:23 PM
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 04:04 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:05 AM.

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