Add Dockerfile and run scripts for containerized crash cart adapter

Wraps the NOTECONS02 USB Crash Cart Adapter software (usb-crash-cart-adapter
v20240517) in an Ubuntu 16.04 Docker container to resolve incompatibilities
with modern Fedora. Includes X11/XWayland passthrough, USB device access,
and host udev rules for the crash cart adapter (vendor 152a, products 8460/8463).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 12:28:58 -04:00
parent 1ce321c06f
commit 5e23e78b51
8 changed files with 135 additions and 0 deletions

11
install-udev-rules.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "Installing udev rules for USB Crash Cart Adapter (vendor 152a, products 8460/8463)..."
sudo cp "$SCRIPT_DIR/udev-rules/"*.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
echo "Done. If the crash cart adapter is already plugged in, unplug and reconnect it."