From f651eba2ac029c4880413626276bbfcd116a6b1f Mon Sep 17 00:00:00 2001 From: mikkeli Date: Thu, 8 Oct 2026 01:38:33 +0900 Subject: [PATCH] Point PCAN rebuild steps at ~/infra instead of /tmp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver source sat in /tmp and was gone after a reboot, leaving the "after a kernel update" steps unusable. Re-fetched PEAK 9.2.0 into ~/infra/peak-linux-driver-9.2.0 per GUIDELINES §1; it is the same release as the installed pcan.ko (Release_20260707_n). Co-Authored-By: Claude Opus 5.5 --- docs/impl/reports/PCAN-SETUP.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/impl/reports/PCAN-SETUP.md b/docs/impl/reports/PCAN-SETUP.md index 87e577c..5942562 100644 --- a/docs/impl/reports/PCAN-SETUP.md +++ b/docs/impl/reports/PCAN-SETUP.md @@ -138,6 +138,9 @@ sudo candump can1 Source files left at `/tmp/peak-linux-driver-9.2.0/` and `/tmp/pcan-driver.tar.gz`. Can be removed after verifying everything works. +> **2026-10-08:** `/tmp` copies are gone (cleared on reboot). Source now kept at `~/infra/peak-linux-driver-9.2.0/` +> (fetched from `https://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-9.2.0.tar.gz`). + ## Current Status — 2026-08-05 This report was written during an earlier session. On this machine (hostname: `mikkeli-orin-nano`, @@ -174,10 +177,12 @@ sudo candump canX ### After a kernel update -This is an out-of-tree module. Rebuild with: +This is an out-of-tree module. The source was lost from `/tmp` on reboot and re-fetched on 2026-10-08 into +`~/infra/peak-linux-driver-9.2.0/` (per [GUIDELINES §1](../../GUIDELINES.md)). It is the same release as the installed module, +`Release_20260707_n`. Rebuild with: ```bash -cd /tmp/peak-linux-driver-9.2.0/driver +cd ~/infra/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