From cc97f168729b75b6b1a4007c314a852873dc10ff Mon Sep 17 00:00:00 2001 From: Mikkeli Date: Tue, 13 Oct 2026 18:28:23 +0900 Subject: [PATCH] CAN-BITRATE: device-unit bring-up verified on hot-plug Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz --- docs/impl/plans/CAN-BITRATE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/impl/plans/CAN-BITRATE.md b/docs/impl/plans/CAN-BITRATE.md index 3df9b32..2a21872 100644 --- a/docs/impl/plans/CAN-BITRATE.md +++ b/docs/impl/plans/CAN-BITRATE.md @@ -20,6 +20,7 @@ Persisted (boot and hot-plug): `can_pcan` appears, at boot or on hot-plug. It replaced `/etc/udev/rules.d/71-can-up.rules` (2026-10-13), whose `SYSTEMD_WANTS` never reached systemd, by `NAME==` or by USB id: the interface stayed down on hot-plug and at boot, so the recorder never opened a session and refused marks ("no session"). + Verified on hot-plug 2026-10-13: three plug-ins in the car, each up within a second and recorded. Boot not yet seen. - `/etc/systemd/system/can-up@.service`: oneshot, with that `[Install]` section; reads `/etc/default/can-`, sets the bitrate and options, brings the interface up, and stops with the device - `/etc/default/can-can_pcan`: `BITRATE=500000`, `CAN_OPTS="restart-ms 100"`