fix(config): use stable /dev/ttyF56 symlink for batm3 dispenser
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 <noreply@anthropic.com>
This commit is contained in:
parent
eafdce36b6
commit
2c71d9d823
1 changed files with 6 additions and 1 deletions
|
|
@ -148,7 +148,12 @@ export const MACHINE_PRESETS: Record<MachineModel, Omit<DeviceConfig, 'fiatCode'
|
|||
},
|
||||
dispenser: {
|
||||
type: 'f56',
|
||||
device: '/dev/ttyUSB0',
|
||||
// Fujitsu F56 on a USB-serial bridge, via the stable udev symlink
|
||||
// /dev/ttyF56 (batm3.nix, serial DDDLb103Y23). Avoids the raw
|
||||
// /dev/ttyUSB0, which is enumeration-order dependent and could point at
|
||||
// the wrong adapter after a re-plug/reboot. Per-box override:
|
||||
// VITE_LAMASSU_DISPENSER_DEVICE.
|
||||
device: '/dev/ttyF56',
|
||||
cassettes: [
|
||||
{ denomination: 20, count: 400 },
|
||||
{ denomination: 1, count: 400 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue