The driver itself is generic driver for rotary encoder with gpio. For the application in user space do i need to export,set direction and read values of GPIO ? I am not able to find any reference regarding the same.I have implemented an application where i have exported gpio,have set its direction as in and reading gpio value but i am getting an error while doing it.Can you please send me an sample or reference regarding the same if you have any idea about it?