Hello, Thanks for the response...
I did manage to sort the issue by performing two steps: a. Added a udev rule to make gpio accessible b. Added user to gpio group... Regards, Hemant Kapoor On Monday, 5 February 2018 19:46:12 UTC, Jeff Andich wrote: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/16546de0-01e1-491d-8a11-d4ded3eb4f46%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
