What if I don't see qep module loaded?

07/15/2016 12:07 PM, Michael Haberler rašė:

Am 15.07.2016 um 10:11 schrieb Simon Jones <[email protected]>:



On Sunday, 10 July 2016 20:41:01 UTC+1, Marius Alksnys wrote:
Should this feature work? If so - what special thing should I
  know? Encoder works right except for index. Where should index
  pin be connected? I connected it to eQEP index pin.


----Android NewsGroup Reader----
http://usenet.sinaapp.com/


I hit the same problem. I'm running with kernel:

simonj@beaglebone:~$ uname -a

Linux beaglebone 3.8.13-xenomai-r78 #1 Sat Sep 26 17:07:01 UTC 2015 armv7l 
GNU/Linux

The cause is a clash with the active kernel QEP driver. The HAL driver relies 
on seeing the IEL index event latch interrupt flag but the kernel driver 
interrupt handler clears this. Depending on timing, it occasionally works, with 
a 100us update thread, the HAL driver detected the index pulse about one in ten 
times.

I guess the cleanest solution would be to disable the kernel QEP driver but I 
couldn't see an easy way to do this, and I'm not set up to rebuild the kernel 
at the moment, so I did a quick and dirty hack to the HAL driver:


here is an easy way: try 'unbind': 
https://xenomai.org/pipermail/xenomai/2015-March/033707.html



--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to