lock_device shared the confirm_write() fallback which returns True
when the client doesn't support elicitation. This meant lock could
proceed silently without user consent — confirmed by accidentally
locking a real device.
Now lock_device has its own strict path that returns an error when
elicitation fails, rather than falling through.
Write tools now prompt the user via MCP elicitation before
modifying OTP EPROM. Falls back to no confirmation if the
client doesn't support elicitation.
lock_device always requires confirmation — refuses without it.
New tool: setup_udev_rule
- Auto-generates symlink name from product string
- Installs rule to /usr/lib/udev/rules.d/
- Elicits user permission before sudo operations
PKGBUILD:
- Builds 64-bit shared/static libraries from Silicon Labs source
- Installs headers to /usr/include/cp210x/
- Includes udev rules for non-root device access
To build: cd aur/cp210xmanufacturing && makepkg -si