From 2c71d9d823a1c25a2e4e54e8daba37eb9044f0c2 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Thu, 30 Jul 2026 01:14:11 +0200 Subject: [PATCH] fix(config): use stable /dev/ttyF56 symlink for batm3 dispenser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The batm3 dispenser used the raw /dev/ttyUSB0, which is enumeration-order dependent — a re-plug or reboot could reassign ttyUSB0 to a different adapter. Switch to the stable udev symlink /dev/ttyF56 (batm3.nix, serial DDDLb103Y23), matching the validator's /dev/ttyMEI, so both peripherals bind by identity and survive re-enumeration (incl. on an internal-SATA flash). Per-box override: VITE_LAMASSU_DISPENSER_DEVICE. Co-Authored-By: Claude Opus 4.8 --- apps/machine/src/config/device.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/machine/src/config/device.ts b/apps/machine/src/config/device.ts index ae4ac00..cffdaa3 100644 --- a/apps/machine/src/config/device.ts +++ b/apps/machine/src/config/device.ts @@ -148,7 +148,12 @@ export const MACHINE_PRESETS: Record