The kiosk's <title> still read "Lamassu ATM" — visible as the browser tab
on the public demo, and inherited by the Electron window. The product has
been bitSpire since the rename; Lamassu belongs in the provenance credits
(README, the c0b69d1 boundary note), not on the artifact.
Rename the user-facing labels that ship: the page title, the flake
description (surfaces in `nix flake metadata`), the ISO build banner, the
header comments on the live-USB config / udev rules / app derivation that
land on the machine image, and the workspace packages' descriptions.
Deliberately NOT touched, because they are identifiers rather than labels
and renaming them has deployed-machine consequences:
- VITE_LAMASSU_MACHINE_MODEL / VITE_LAMASSU_FIAT_CODE (provisioned .env)
- LamassuEventKind (exported enum)
- localStorage keys lamassu-theme / lamassu-color-mode (would reset
every machine's stored theme)
- docker container names + devenv scripts (dev-only)
- the packages/hal Cargo crate name
Hardware names in HAL driver comments ("Lamassu Sintra", "Douro", "Tejo")
stay: those are the physical machines' real names — that IS the credit.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013A6683cCHnQxFUosx1krY4
57 lines
2.1 KiB
Text
57 lines
2.1 KiB
Text
# bitSpire ATM Hardware udev Rules
|
|
# Place in /etc/udev/rules.d/ or use services.udev.extraRules in NixOS
|
|
|
|
# ============================================
|
|
# Bill Validators
|
|
# ============================================
|
|
|
|
# ID-003 Bill Validator (JCM/Japan Cash Machine)
|
|
# Uses TI USB-Serial chip
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="3410", MODE="0666", GROUP="dialout", SYMLINK+="bill-validator"
|
|
|
|
# MEI Bill Validator (Mars Electronics)
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0b00", MODE="0666", GROUP="dialout", SYMLINK+="bill-validator"
|
|
|
|
# CCNET Bill Validator (CashCode)
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="1b5a", MODE="0666", GROUP="dialout", SYMLINK+="bill-validator"
|
|
|
|
# ============================================
|
|
# Bill Dispensers
|
|
# ============================================
|
|
|
|
# Puloon Bill Dispenser (uses FTDI chip)
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", MODE="0666", GROUP="dialout", SYMLINK+="bill-dispenser"
|
|
|
|
# Genmega Bill Dispenser
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE="0666", GROUP="dialout", SYMLINK+="bill-dispenser"
|
|
|
|
# ============================================
|
|
# Generic USB-Serial Adapters
|
|
# ============================================
|
|
|
|
# Prolific PL2303
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="067b", MODE="0666", GROUP="dialout"
|
|
|
|
# FTDI
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", MODE="0666", GROUP="dialout"
|
|
|
|
# Silicon Labs CP210x
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", MODE="0666", GROUP="dialout"
|
|
|
|
# CH340/CH341
|
|
SUBSYSTEM=="tty", ATTRS{idVendor}=="1a86", MODE="0666", GROUP="dialout"
|
|
|
|
# ============================================
|
|
# Camera
|
|
# ============================================
|
|
|
|
# Allow access to all video4linux devices (cameras)
|
|
SUBSYSTEM=="video4linux", MODE="0666", GROUP="video"
|
|
|
|
# ============================================
|
|
# Printers
|
|
# ============================================
|
|
|
|
# Common thermal receipt printers
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="04b8", MODE="0666", GROUP="lp" # Epson
|
|
SUBSYSTEM=="usb", ATTRS{idVendor}=="0519", MODE="0666", GROUP="lp" # Star Micronics
|