There are some use cases where the ComfilePi should display information, but should not be interacted with by an operator via the touch screen. Once such use case is digital signage.
The touch screen is connected to the system on an internal USB bus. Run
lsusb from a terminal to see it enumerated as
Bus 001 Device 004: ID 04d8:0c02 Microchip Technology, Inc..
The model of the IC from Microchip Technology is the AR1100. Run
cat /sys/bus/usb/devices/1-1.2/product/ to verify that USB device
1-1.2 is listed as
Therefore to disable the touchscreen one must execute the command
echo '1-1.2' > /sys/bus/usb/drivers/usb/unbind.
To disable the touchscreen on each boot, create a cron job with the following commands.
# Edit the crontab file sudo crontab -e # Add the following line to the crontab file @reboot echo '1-1.2' > /sys/bus/usb/drivers/usb/unbind
Reboot the ComfilePi, and the touch screen should be disabled.