Friday, 22 May 2015

/sys/device/bone_capemgr* doesn't exist on fresh image

Purpose: bone_capemgr* is needed for Device Tree Overlays.

Solution:
Down grade to v3.8.x:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone68
sudo reboot 



source: https://groups.google.com/forum/#!topic/beagleboard/IpZuVHS3aEs

Recursively look for files with a specific extension in Linux



find $directory -type f -name \*.[file extension]


source: http://stackoverflow.com/questions/5927369/recursively-look-for-files-with-a-specific-extension

Thursday, 21 May 2015

Tuesday, 19 May 2015

PARISOMA hackerspace @ SF


Running pipe commands as super user in bash

sudo sh - c '[command]'

sh -c is needed here to execute that command in a root subshell. This is because sudo echo out > direction would execute echo as root, but the redirection (> direction) would be done by your current (non-root) shell. You could also just do this su root.

 source: https://groups.google.com/forum/#!topic/beagleboard/KanwoGOy2bY