Mainline kernel driver for eQEP

40 views
Skip to first unread message

David Lechner

unread,
Jul 22, 2019, 12:04:21 PM7/22/19
to BeagleBoard
FYI, I just submitted a driver for the eQEP using the new counter subsystem if anyone is interested.

I would be curious to hear which features of the eQEP people are using.

Robert Nelson

unread,
Jul 22, 2019, 12:15:03 PM7/22/19
to Beagle Board, David Lechner, Jason Kridner
On Mon, Jul 22, 2019 at 11:04 AM David Lechner <da...@lechnology.com> wrote:
>
> FYI, I just submitted a driver for the eQEP using the new counter subsystem if anyone is interested.
>
> I would be curious to hear which features of the eQEP people are using.

Awesome David! I'll add it to our 5.3.x tree so users can start testing..

Regards,

--
Robert Nelson
https://rcn-ee.com/

David Lechner

unread,
Jul 22, 2019, 2:54:10 PM7/22/19
to Robert Nelson, Beagle Board, Jason Kridner
On 7/22/19 11:14 AM, Robert Nelson wrote:
> On Mon, Jul 22, 2019 at 11:04 AM David Lechner <da...@lechnology.com> wrote:
>> FYI, I just submitted a driver for the eQEP using the new counter subsystem if anyone is interested.
>>
>> I would be curious to hear which features of the eQEP people are using.
> Awesome David! I'll add it to our 5.3.x tree so users can start testing..
>
> Regards,
>
It should work on 5.2.x as well.

Dave

unread,
Jul 23, 2019, 8:00:20 PM7/23/19
to BeagleBoard
I am using a Rotary Encoder with the eQEP as an input device. 
Initially I had a service that monitored sysfs changes to the count and injected right or left arrow keys based on the change. 
But the existing eqep driver did not notify changes correctly and once I found the need to change it, I added the key injection into the driver itself. 

I posted that here several months ago. I will look at your driver, the changes to use an RE as an input device are pretty simple. 
Maybe some others find them useful. 

Jason Kridner

unread,
Jul 26, 2019, 4:23:39 PM7/26/19
to beagl...@googlegroups.com
With EduMIP[1] and Scuttle[2], we use just the relative position updates (per librobotics[3]), but I met someone who was using it for absolute positioning on a jewelry mill (based on stepper motors) and was using the index and strobe functions I don’t typically utilize. He said the homing could be far more accurate that way than we see with mechanical switch homing stops. 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e8a4f30b-4c19-4553-8946-aead5c18efa5%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages