Switching to root before doing sysfs operations, (e.g. sudo su), typically 
seems to work for me..

On Friday, February 2, 2018 at 12:01:43 PM UTC-6, Hemant Kapoor wrote:
>
> Hello, 
>
> Yet another newbie question. 
>
> I have got latest debian image on my beagle bone black.
> uname - r output: 4.9.45-ti-r57
>
> and I noticed various gpio directory in /sys/class/gpio
>
> when I tried
> echo 69 > unexport 
> it gave me permission denied.
> so I changed the permission of unexport file to be 666
>
> and now when I try to use the same command it gives me an error: 
> -bash: echo: write error: Invalid argument
>
> Can anyone please help...
>
> Ultimately I want to develop a C++ project to toggle LED which is 
> connected to one of the pins...
>
> Any help regarding this matter is deeply appreciated.
>
> Regards, 
> Hemant Kapoor
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/36fcc8b7-726d-42d0-ba04-a219dffc7a46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to