On Thu, Jul 30, 2015 at 12:44 AM, Sina Chou <[email protected]> wrote: > After I upgrade my kernel to 4.1.3-ti-r6. > > I try to use ADC utility in adafruit-beaglebone-io-python, the following > error popups, but GPIO utility of the library is okay. > > anything wrong? > > > import Adafruit_BBIO.ADC as ADC > ADC.setup() > Traceback (most recent call last): > File "", line 1, in > RuntimeError: Unable to setup ADC system. Possible causes are: > > A cape with a conflicting pin mapping is loaded > A device tree object is loaded that uses the same name for a fragment: > helper > > > > Anything I need to migrate if the kernel is migrated to 4.1.3-ti-r6 from > 3.8.13.bone73 ??
The Adafruit library isn't ready for v4.1.x... Make sure you install: https://github.com/beagleboard/bb.org-overlays and run: ./dtc-overlay.sh ./install.sh Then you just: sudo sh -c "echo 'BB-ADC' > /sys/devices/platform/bone_capemgr/slots" Regards, -- Robert Nelson https://rcn-ee.com/ -- 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]. For more options, visit https://groups.google.com/d/optout.
