From 58443faaa037dca9c08f6cc42d2cf518ab97a2f4 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Tue, 20 May 2025 20:56:59 -0700 Subject: [PATCH] better path for reset --- userspace/usr/comma/comma.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/usr/comma/comma.sh b/userspace/usr/comma/comma.sh index 05c89c1..cfcaddb 100755 --- a/userspace/usr/comma/comma.sh +++ b/userspace/usr/comma/comma.sh @@ -52,7 +52,7 @@ if [ ! -f /tmp/booted ]; then echo "launching system reset, reset trigger present" rm -f $RESET_TRIGGER $RESET - elif (( "$(cat /sys/devices/platform/soc/894000.i2c/i2c-2/2-0017/touch_count)" > 4 )); then + elif (( "$(cat /sys/class/input/input2/device/touch_count)" > 4 )); then echo "launching system reset, got taps" $RESET elif ! mountpoint -q /data; then