13 Nov 2016, 10:39

too long to read. Let me tell you how the GPIO driver works : it expects the GPIO button pin to be grounded to say "button pushed", and on Hi Z/open to say "button not pressed". I didn't take time to read the full doc to see how your button says "pushed". Can you check by yourself ?