User Tools

Site Tools

한국어

comfilepi:disabling_the_touch_screen:index

Disabling the Touch Screen

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 AR1100 HID-MOUSE.

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.

comfilepi/disabling_the_touch_screen/index.txt · Last modified: 2020/06/05 09:41 by COMFILE Technology