I have a Adafruit PiTFT - 2.8" Capacitive Touchscreen Display for Raspberry Pi and it's currently using the tactile switch attached GPIO Pin #23 to initate the shutdown process for the Pi. I tried to remove this "feature" by removing the line:
Code: Select all
options rpi_power_switch gpio_pin=23 mode=0
from
/etc/modprobe.d/adafruit.conf, however upon testing it now seems that the process is attached to GPIO Pin # 22. How do I go about disabling the tactile switch as power button. I'm currently running the Adafruit Jessie Lite-based PiTFT 2.4", 2.8" and 3.2" Resistive Image for Pi 1, 2, 3, Zero (Sept 23, 2016).