diff --git a/docs/impl/reports/PCAN-SETUP.md b/docs/impl/reports/PCAN-SETUP.md index c0abb6d..180b477 100644 --- a/docs/impl/reports/PCAN-SETUP.md +++ b/docs/impl/reports/PCAN-SETUP.md @@ -134,3 +134,50 @@ sudo candump can1 ## Cleanup Source files left at `/tmp/peak-linux-driver-9.2.0/` and `/tmp/pcan-driver.tar.gz`. Can be removed after verifying everything works. + +## Current Status — 2026-08-05 + +This report was written during an earlier session. On this machine (hostname: `mikkeli-orin-nano`, +kernel `5.15.148-tegra`, L4T 36.4.4) the driver has been **built and installed**: + +| Step | Status | +|------|--------| +| Download PEAK Linux Driver 9.2.0 | Done (source at `/tmp/peak-linux-driver-9.2.0/`) | +| Build with `NET=NETDEV_SUPPORT` | Done — module compiled successfully | +| Install to `/lib/modules/.../misc/pcan.ko` | Done | +| `depmod 5.15.148-tegra` | Done | +| `modprobe pcan` | Done — module loaded (`lsmod | grep pcan` confirms) | +| Boot persistence (`/etc/modules`) | Done — `pcan` added to `/etc/modules` | + +**Device not yet physically connected.** The USB adapter (`0c72:000c`) will be auto-detected and +a `canX` interface created when plugged in. No udev rule is needed since the module loads at boot +and the kernel matches the USB VID/PID against the module's built-in aliases. + +### Verification (after plugging in the device) + +```bash +# Confirm module is loaded +lsmod | grep pcan + +# Check for new CAN interface +ip link show type can + +# Bring it up at 500 kbps +sudo ip link set canX up type can bitrate 500000 + +# Read traffic +sudo candump canX +``` + +### After a kernel update + +This is an out-of-tree module. Rebuild with: + +```bash +cd /tmp/peak-linux-driver-9.2.0/driver +make clean +make NET=NETDEV_SUPPORT all +sudo cp pcan.ko /lib/modules/$(uname -r)/misc/pcan.ko +sudo depmod +sudo modprobe pcan +```