Hello. I am trying to figure out how to use I/O with my BBB running Debian, but the more I try the more confused I get. For example: I try to read the analog inputs using information I find on the web. Per instructions, I enter
echo cape-bone-iio > /sys/devices/bone_capemgr.*/slots which indeed adds something to slots. Then the instructions say to enter cat /sys/devices/ocp.2/helper.11/AIN1 but I discover that there is no directory named "ocp.2" in /sys/devices, or anywhere else that I can find. There is an ocp.3, but it doesn't contain "helper.11" ... and so on. I keep searching for some sort of definitive guide to using the IO capabilities of the board, but have had no luck. There is nothing on software in the SRM, and memory-mapping to the registers described in the data sheet seems to be frowned upon. Can anyone point me to an entry point into all these mysteries? Where do I go to find the definitive guide to reading the analog inputs under Debian, for example? What commands are available? Why would anyone want to use file IO to do simple GPIO operations when it is so much faster to just memory-map the GPIO registers? -- 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.
