CAN-BITRATE: device-unit bring-up verified on hot-plug
/ crosscheck (push) Successful in 1s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
This commit is contained in:
2026-10-13 18:28:23 +09:00
parent b25267e713
commit cc97f16872
+1
View File
@@ -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-<iface>`, 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"`