I was getting weird values - it turns out I didn't correctly understand how to use pin-config & the universal overlay. When I configured the pins correctly, everything works.
On Friday, 3 February 2017 21:18:35 UTC, Drew Fustini wrote: > > On Fri, Feb 3, 2017 at 6:02 AM, Hugh Frater <hugh....@gmail.com > <javascript:>> wrote: > > Did you ever get any further with this? I'm struggling with eQEP on > 4.4.36 - > > but for different reasons > > Are you getting an error? > > I am able to use eQEP ok with a rotary encoder on 4.4 kernel: > > # uname -a > Linux beaglebone 4.4.44-ti-r85 #1 SMP Fri Jan 27 22:16:52 > > # config-pin p8.11 qep > # config-pin p8.12 qep > > # cat /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/position > -2 > <turn the rotary encoder> > # cat /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/position > 18 > > Here are results with 4.1, 4.4 and 4.9: > https://gist.github.com/pdp7/1db356e758e9ff0c1e570e6ee362c673 > > > -drew > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1276f9da-9966-4171-a03c-4915d94e8e6b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.