Commit Graph

15 Commits

Author SHA1 Message Date
mikkeli b7f19c85fb USB report: timed replug repeat (~15 s to stable)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:29:15 +09:00
mikkeli 264cc68ff2 USB report: unplug and replug of hub PD measured separately
Unplug causes the full USB-C detach (~3.5 s total). Replug causes no
detach but ~10 s of disruption: the tablet goes silent while the Orin's
link stays up, then reconnects its gadget once. Only an app-level
heartbeat would see the replug outage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:25:46 +09:00
mikkeli 98fb9f306a Record PD power-cycling test through the hub
Three PD unplug/replug cycles each caused one full USB-C detach; the
link flapped ~3 times and settled within 5-12 s with no intervention.
Treated as a service-level requirement (yukart decision 24), not a
host fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:18:50 +09:00
mikkeli 314ff3c6a7 Add USB tablet link report; disable the L4T-README drive
Tablet as USB host, Orin's stock L4T gadget as the network side: the
tablet chose NCM and got 192.168.55.100. Android only routes app traffic
over it once it is the default network, so the app has to bind to the
Ethernet network explicitly.

Mass storage is off (enable_ums=0); the config isn't a conffile, so an
nvidia-l4t-init upgrade restores it and the report says how to check.
The Orin's USB-C port (FUSB301, no PD) can't charge the tablet; the PD
hub on hand is the practical fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:12:36 +09:00
mikkeli fc0836aec7 Go headless: multi-user target, tty1 console, no sound servers
The car unit has no display of its own (the tablet app is the display),
and unified memory is better spent on the voice stack. GDM/GNOME no
longer start, a text login stays on tty1, and PulseAudio/PipeWire are
disabled for all users while ALSA stays for mic capture. Saves ~200 MB
idle; every step is a reversible disable, not a removal.

Also notes the pre-existing nightly logrotate failure from the NVIDIA
jetson-logging config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 00:01:51 +09:00
mikkeli 9ba464f4a4 Mark povo connection metered
project-yukart's map-tile sync treats NetworkManager's metered flag as
a second guard against syncing over LTE; the flag was never set. It is
now, live on the car unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:58:35 +09:00
mikkeli e29c20de75 Record LTE failover test: seamless switch, Tailscale direct over IPv6
With the WiFi radio off, the default route moved to wwan0 within 10 s and
all IPv4/DNS/Tailscale samples passed. Tailscale went direct to halogen
over povo's global IPv6 (no DERP), and an SSH session over the tailnet
survived both switches. WiFi took back IPv4 within 15 s and IPv6 within
~45 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:50:18 +09:00
mikkeli 1d405a6b91 Pin NTP to NICT, set Tokyo timezone; add time sync report
timesyncd now uses ntp.nict.jp (stratum 1), with the JP pool and Ubuntu
as fallback, over whichever uplink holds the default route. Timezone
moves from Asia/Yakutsk to Asia/Tokyo: same offset, right place.

Records that the RTC loses time at power-off (the cold boot came up at
June 4 until NTP synced), and the planned chrony + gpsd setup once
GNSS has a fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:24:33 +09:00
mikkeli 65a5bb995f Record cold-boot verification of CAN names and LTE
With both adapters attached at power-on, pcan registered first and took
can0, and the udev rule renamed it to can_pcan, confirming the race and
the fix. qmi_wwan auto-loaded, povo auto-connected below WiFi, and gpsd
came up on the stable symlink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 09:19:03 +09:00
mikkeli f651eba2ac Point PCAN rebuild steps at ~/infra instead of /tmp
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 <noreply@anthropic.com>
2026-10-08 01:38:33 +09:00
mikkeli 2d62d1a4f8 Pin CAN interface names by udev; document device naming
mttcan and pcan both load at boot, so the PCAN adapter could take can0
and push the onboard controller to can1. A udev rule now names them
can_onboard (platform c310000.mttcan) and can_pcan (USB 0c72:000c),
both outside the canN pool so a transient canN can never collide.

Also records why the SIM7600 needs nothing more: ModemManager and NM
don't use ttyUSB numbers, and gpsd already uses a symlink.

can_onboard is verified live; can_pcan is checked against the driver
source only (adapter not plugged in).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:38:25 +09:00
mikkeli 4742d4a5bb Add SIM7600 setup report: LTE over QMI, gpsd on stable port
The L4T kernel ships without qmi_wwan/cdc-wdm, and PPP dial-up made KDDI
detach the povo SIM (attach APN was au's; PPP re-activating the default
bearer still detached). Built both modules out of tree from v5.15.148
into ~/infra/qmi_wwan, set the attach APN to povo.jp, and added an NM
connection at metric 1000 so LTE ranks below Ethernet and WiFi.

GNSS autostarts on the modem and gpsd reads /dev/sim7600-gps (udev
symlink on interface 01); no fix yet, tested indoors.

BOM: NMEA is on ttyUSB1 not ttyUSB3, and the data path is QMI, not
RNDIS/PPP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:36:27 +09:00
mikkeli 007ce0bd8e Record PCAN driver install status on mikkeli-orin-nano
The original report was written on another host. On this machine the
pcan module (NETDEV_SUPPORT) is built, installed under misc/, and loaded
at boot via /etc/modules; the adapter was not yet plugged in. Adds the
verification and post-kernel-update rebuild steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 01:36:27 +09:00
mikkeli 262de0a771 Adopt designed front matter: typed, with staleness on plans
Replaces `type: default` — one value across every document, read by nothing.
Types are now reference, guidelines, plan and report; plans carry status and
updated, reports carry date. Convention documented in project-yukart REPOS.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013kj58Jugkic783b8ZrtTVZ
2026-09-04 14:16:05 +09:00
mikkeli c785bca71a Move plans and reports under docs/impl/ for cleaner structure 2026-08-04 16:20:24 +08:00