As far as I know, the default am33x-boneblack.dtb which is read from kernel during boot does have only 3 pin addresses for analog inputs, you can modify this by referring TRM or other dts files. I do not have my file now sorry, I cannot post here.
Sent from my iPad > On Apr 5, 2014, at 12:36 AM, John Amidon <[email protected]> wrote: > > Starting with a brand-new, out of the box BBB, I flashed it with > https://rcn-ee.net/deb/flasher/saucy/BBB-eMMC-flasher-ubuntu-13.10-2014-03-27-2gb.img.xz > which is of course the 3.8.13-bone40 kernel. The analog inputs were enabled > once the > > # echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots > > command was given. The raw analog inputs were then readable at > /sys/bus/iio/devices/iio\:device0/in_voltage[0-7]_raw. However, after > reading the inputs over a period of time, I started seeing errors reading the > inputs, the "Resource temporarily unavailable" others have reported. Know > the support for iio was updated in later kernels. I decided to update the > kernel to see if that made a difference. > > Using the update script at > https://rcn-ee.net/deb/saucy-armhf/v3.13.8-bone8/install-me.sh, I updated to > the latest pre-built kernel. Now, I see analog inputs with no additional > prodding required (perhaps the magic is now buried in the boot sequence?), > but I don't see all the inputs, just 3: > /sys/bus/iio/devices/iio\:device0/in_voltage[4-6]_raw. > > What am I missing? Is there something I need to enable/disable in the > /boot/uboot/uEnv.txt? > > Thanks. > > -- jda > -- > 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. -- 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.
