Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: bubi on February 01, 2014, 01:09:01 AM

Title: How can I use gpio under debian?
Post by: bubi on February 01, 2014, 01:09:01 AM
Hi everybody, I'm trying to use GPIO under debian. I'm following the instruction in the wiki (https://www.olimex.com/wiki/A20-OLinuXino-MICRO#GPIO_under_Linux) but I continue to get the error:"bash: echo: write error: Invalid argument".

I'm using the last release (ULTIMATE A20 Debian 4GB SD-card image release-5)

What am I doing wrong?

many thanks in advance!
Title: Re: How can I use gpio under debian?
Post by: sanzoghenzo on February 02, 2014, 10:49:31 AM
Hi bubi,
are you sure you're running the commands as root?
Can you please post all your commands and the relative output, so we can better understand what's going on?
Title: Re: How can I use gpio under debian?
Post by: bubi on February 02, 2014, 08:16:07 PM
hi sanzoghenzo,
thanks for reply!

I solved. I don't have 230 GPIO, so I replaced 230 with 75 (as in the bin file) and now I can access GPIO!