>
> *Hello, i am new at linux.. I use bbb with debian and usb remote desktop*
> *I try this command on terminal:*
>
> * /sys/class/gpio/export*
>
> *I always receive: -bash: /sys/class/gpio/export: Permission denied*
>
> *I also have change the permisson on the gpio folder per GUI... but
> without success??*
>
> *ThankYou*
>

First of all */sys/class/gpio/export *is not a command. */sys/class/gpio/export
*is a path to a pseudo file. Additionally, this file very likely has write
permissions only, so attempting to read from this "file" may always fail
regardless of the users permissions.

As stated by another person already, you echo(write) a valid value into
this file, and then the gpio system drivers enables a related gpio pin for
you. In order to reverse this process, you would echo(write) this same
value into the unexport pseudo file.


On Fri, Mar 11, 2016 at 1:44 PM, Chad Baker <[email protected]> wrote:

> Have you tried the following command
> :> sudo echo NN > /sys/class/gpio/export
> where NN is the gpio device that you want to work with.
> If root, you don't need sudo.
>
> Chad
>
> On 3/11/2016 4:54 AM, [email protected] wrote:
>
> Hello, i am new at linux.. I use bbb with debian and usb remote desktop
> I try this command on terminal:
>  /sys/class/gpio/export
>
> I always receive: -bash: /sys/class/gpio/export: Permission denied
>
> I also have change the permisson on the gpio folder per GUI... but without
> success??
>
> 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].
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Chad Baker Memphis, TN
>
> --
> 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.
>

-- 
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