-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear pikao,

you are trying to _run_ that file rather than writing into it to
enable a GPIO line. And hence the file doesn't have execute right (as
it meant to written into, not execute) you get a permission error.

You need to call something like:
echo 48 > /sys/class/gpio/export
to enable a GPIO line.

See for example http://www.armhf.com/using-beaglebone-black-gpios/ for
further details.

Regards

On 2016-03-11 15:12, [email protected] wrote:
> Hello, I'm a beginner...
> 
> I use BeagleBoard.org Debian Image 2016-01-24
> 
> I don't understand why following comand doesn't work:
> 
> root@beaglebone:~# /sys/class/gpio/export -bash:
> /sys/class/gpio/export: Permission denied
> 
> any idea?
> 
> thankyou
> 
> 
> 
> 
> -- For more options, visit http://beagleboard.org/discuss --- You
> received this message because you are subscribed to the Google 
> Groups "BeagleBoard" group. To unsubscribe from this group and stop
> receiving emails from it, send an email to
> [email protected] 
> <mailto:[email protected]>. For more
> options, visit https://groups.google.com/d/optout.

- -- 
Zoltan Gyarmati
https://zgyarmati.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJW4vZWAAoJEAGmEeeR8iVhdKIH/Ahnru2w1PK0xlqTMvAgB8De
2Pl/GkgvZljUfXL/whIIkNmFRHD4Z6HgMjfF477SKrnJBS97REjkAQomx3dAmQjT
7jWaVMqV7n3PUV1ADX0zdCKJ2CIRT+UqSjRiJPoI9uTkaI+yGwgFSvaL1q3RYxrH
FjzPK2ot9rvqgnxrf4kAOHmMYRwMzJQ8tz9xhigEZRqlYTehbeu+kWBpjSdxANoN
yPY5WHiuqwqv0pXBzXff8x3dVA3Aoh2/6kkqqThux7Xd0YtrZ1Q9s+V/+EU8BSC8
5BlCj/PFSQLeLDl25vT0lunKv4EyDPUTLIa+XIdfhKPePaO/FjSUsRiC+CMZ27U=
=XcoS
-----END PGP SIGNATURE-----

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to