Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: gvi70000 on June 12, 2015, 08:55:16 AM

Title: Buttons settings
Post by: gvi70000 on June 12, 2015, 08:55:16 AM
Hi,

I have made a new PCB with all board buttons to use them on a custom box.
The issue is that i have used resistors with different tolerances.

Can any body tell me where i can set the analog threshold values for the buttons in Android?
I need to add new values for them.

Thank you!
Title: Re: Buttons settings
Post by: Gerrit on June 12, 2015, 01:14:51 PM
it is done in the kernel drivers/input/keyboard/sun4i-keyboard.c
so you have to make the changes in this file and recompile the kernel, or replace the resistors