can_pcan out of listen-only: obd-poller transmits

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-12 23:25:04 +09:00
parent 17be962e57
commit ca09521c63
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -18,10 +18,11 @@ Persisted (boot and hot-plug):
- `/etc/udev/rules.d/71-can-up.rules`: on add of `can_pcan`, wants `can-up@can_pcan.service`
- `/etc/systemd/system/can-up@.service`: oneshot; 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="listen-only on restart-ms 100"`
- `/etc/default/can-can_pcan`: `BITRATE=500000`, `CAN_OPTS="restart-ms 100"`
**Listen-only stays on during the sniffing phase**, so the adapter never ACKs on the car's bus. When `obd-poller` (the single writer) exists,
remove `listen-only on` there and restart the unit.
**Listen-only was on during the sniffing phase**, so the adapter never ACKed on the car's bus. Dropped 2026-10-12 for `obd-poller`
(svc-core), the single writer: the adapter now acknowledges frames like any scan tool. To go back, set
`CAN_OPTS="listen-only on restart-ms 100"` there and replug the PEAK (or restart `can-up@can_pcan`).
## Goal