Files
odroid-duel-head/overlay/usr/bin/launch-calibration
2024-12-23 16:27:08 +09:00

6 lines
222 B
Bash
Executable File

#!/bin/bash
DEV_PATH="/sys"$(udevadm info /dev/input/by-path/platform-fe050000.spi-cs-1-event --query=property |\
awk -- 'BEGIN { FS="=" } { if ($1 == "DEVPATH") { print $2; exit } }')
weston-touch-calibrator "$DEV_PATH"