On Sun, Jan 31, 2016 at 6:43 PM,  <dirmwt...@gmail.com> wrote:
> I'm new to the beagle bone and am having difficulty reading the output of a
> thumb joystick.
>
> I'm running Debian Jessie 8.2
> Linux kernel 4.1.12-ti-r29
>
> I've connected the thumb joystick as follows
>
> vcc - p9_32
> gnd - p9_34
> hor - p9_36
> ver - p9_38
>
> i did not connect the pin for the switch because it is not needed.
>
>
> All the instructions that I can find on the topic suggest that you have to
> enable the analog inputs on the BBB.  The instructions for doing so require
> using "cape-bone-iio".  I've read that cape-bone or bone-cape isn't the way
> things are done on linux kernels in the "4.x" range.
>
> So my question is, how do I get the joystick output on my BBB running Debian
> 8.2 and Kernel 4.1?

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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to