kidoman / embd

Embedded Programming Framework in Go
http://embd.kidoman.io
MIT License
1.28k stars 157 forks source link

change ownership of 'slots' file to user on BBB #27

Closed c2akula closed 9 years ago

c2akula commented 9 years ago

hey guys, I am working with the BBB rev A5C, with Debian 3.8.13-bone71 on it. One thing I have noticed when I have to read Analog values is, I have to - "sudo chown {user} /sys/devices/bone_capemgr.*/slots" temporarily until I reboot the BBB. After reboot, I have to again run the command. Is it possible to add the ability to chown the slots file with the $USER before initializing the ADC device?