I have a GPIO button connected to GPIO 17 which triggers a system reboot using a python script.
It seems like when I plug in my phone to USB the device reboots.
This reboot seems to be triggered by the python service because when I disable it plugging in and out my phone doesn't seem to trigger a reboot anymore.
Maybe update the python service to write GPIO changes to a log file to see if there are other more stable GPIOs I can use for this.
I have a GPIO button connected to GPIO 17 which triggers a system reboot using a python script. It seems like when I plug in my phone to USB the device reboots. This reboot seems to be triggered by the python service because when I disable it plugging in and out my phone doesn't seem to trigger a reboot anymore.
Maybe update the python service to write GPIO changes to a log file to see if there are other more stable GPIOs I can use for this.