I'm trying to pull analog input from a beaglebone black using this tutorial. However when I go to /sys/devices there is no cape-bone-iio. I have spoken with several other programmers and one of them suggested that the cape-bone does not work with the newer versions of Linux. However downgrading could have negative impact on the rest of the project. Is there any other solution?

  • $\begingroup$ What is "this tutorial"? $\endgroup$
    – Shahbaz
    Dec 2 '14 at 13:42
  • $\begingroup$ I have fixed the link $\endgroup$
    – Thijser
    Dec 2 '14 at 13:52

I believe I encountered the exact same problem that you are encountering. The short/easy fix is downgrade your kernel. The newer kernel version (later than 3.8.x) for UbuntuARM does not use device tree overlays and stores all of these ADC values in god knows where.

You'll also notice that your tutorial is indeed using kernel 3.8.13. One that still involves device tree overlays and stores ADC values in the cape-bone-iio.

While it might not be exactly what you want, on my github I have a step by step approach to getting ADC values (as part of using ROS) on the BBB. This includes how to downgrade your kernel and enable Device Tree Overlays and then where the file locations for these values will be. I would recommend taking a look at it for some guidance towards your specific solution.

My Github

The steps for accomplishing this are directly on this page. I cannot post them directly due to a lack of reputation and the number of links the guide entails.

Another helpful hint, would be to specifically search for the name Robert C Nelson alongside Beaglebone Black. He has worked extensively with them and is involved in a multitude of blogs and tutorials that might help you find your solution.

Hope all of this helps.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.