|
Veethree D7 SDK
|
If the rotary encoder seems to produce two events for each movement, it may be that your unit is part of an older batch that used a different rotary encoder.
The fix for that is to create the following file in /etc/modprobe.d/rotary-encoder.conf:
Note: The following commands should be run as root on the release image.
You can create it by running:
Then you will need to reload the driver:
If your board is currently on a development image, you can use evtest to check if the changes took effect.
Select device 2 (the rotary encoder) and rotate it. One detent should produce one event, similar to this: