This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BBB ADC - "Device or resource busy"

I'm trying to get continuous ADC working on my BBB (4.1.10-ti-r21)

What I do:

echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en

echo 100 > /sys/bus/iio/devices/iio\:device0/buffer/length

echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable

cat /sys/bus/iio/devices/iio\:device0/in_voltage0_raw

What I get:

cat: in_voltage0_raw: Device or resource busy

These steps were followed from TI's "Linux Core ADC User's Guide"

I'm a bit desperate to get this working for my senior project, any and all help would be greatly appreciated!