The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
1answer
36 views

Running Deamon Involving GPIO on Pi

I have a deamon that monitors various things using the GPIO ports. I have used python to write the code for this using the RPi.GPIO module. I would like to ensure that the deamon is always running, ...
2
votes
1answer
63 views

Can one core on a multicore linux system be dedicated to one user-space app?

Can a core be dedicated to one user-space app (e.g. for the purpose of bit-banging GPIO without any interruptions)?
0
votes
1answer
46 views

Debian Lenny Adafruit_BBIO failure to install

Im sorry if i have this in the wrong forum, but im not sure where to put this. Google Groups is going to be too slow in a response (They are where i posted to first). I have Debian Lenny installed on ...
1
vote
0answers
44 views

Is there a limit of GPIOs that can be used in Linux?

When it comes to use GPIOs, is there a limited number that can be used in Linux (except through the limitation of the physical availability/amount of the ports/pins) or is it theoretically possible to ...
1
vote
1answer
137 views

What priority should I give to a script running on startup?

I 'm running Angstrom distribution on an embedded device. I want to make use of its GPIO expansion ports, that are set to be high on start-up. Below, is the code segment, that releases an expansion ...
0
votes
2answers
148 views

GPIO User Space App

GPIO User Space App describes user space application to test the GPIO. Another related link is Linux GPIO Driver. This would be running on a xilinx zynq board having an ARM Cortex A 9 processor. I ...
4
votes
4answers
5k views

Unable to write to a GPIO pin despite file permissions on /sys/class/gpio/gpio18/value

This is on a Raspberry Pi. Here's the output of sudo ls -lL /sys/class/gpio/gpio18: -rwxrwx--- 1 root gpio 4096 Mar 8 10:50 active_low -rwxrwx--- 1 root gpio 4096 Mar 8 10:52 ...
1
vote
1answer
557 views

Basic script in Angstrom Linux running on a Beaglebone Black

On my embedded system, I can toggle a user led with: echo > 1 sys/class/leds/beaglebone:green:usr2/value. Similarly, I can find the value of a GPIO (gpio60) (set to input), with more ...
0
votes
0answers
281 views

RaspberryPi GPIO FreeBSD assignment

First my Assignment: I'm a beginner with BSD and low level peripherals like GPIO etc., and I need to toggle Raspberry GPIO Pins from a C programme on BSD. I am Using this BSD Image i took from here: ...
3
votes
0answers
483 views

Enabling GPIO in kernel not working [closed]

I have tried to enable the GPIO pins for my system through the Kernel but I am not able to get them to work. When I try this: echo 1 > /sys/class/gpio/export The terminal window just closes. ...
3
votes
1answer
1k views

How can I access GPIO pins from CentOS 6.4?

I have a single board computer with 8 GPIO pins that I would like to access from user space on my CentOS 6.4 installation. I see the GPIO pins mentioned in the 'dmesg' output, but the /sys/class/gpio ...
4
votes
1answer
787 views

Set GPIO permissions cleanly

Can the default permissions and ownership of /sys/class/gpio/ files be set, e.g. by configuring udev? The point would be to have a real gid for processes that can access GPIO pins on a board. Most ...
4
votes
2answers
1k views

Run Python Portio script as normal user without root access

I know there are risks running a root script as a normal user, but in this case I don't have a choice and what I am doing is machine related. I have an Small Board Computer that has GPIO ports and I ...