D/Xcan field test · 2022 Genesis G70 3.3T · Riverside, CA

Two drives, every frame accounted for

Read as

One evening, D/Xcan logged a cold start, a warm idle and two errand drives through the car's OBD port. Across —— mileskm, —— of themkm on the freeway, the car answered — of — requests, typically in — ms. The engine stayed healthy: — fault codes, fuel trims within normal limits, and boost peaking at —— psikPa. The one thing to act on is the battery, which sagged to — V while cranking.

Distance logged
—— mikm
Two drives, about 38 minutes of recording
Top speed
—— mphkm/h
On the freeway, drive out
Peak boost
—— psikPa
Above outside air; no full-throttle run yet
Coolant peak
—— °F°C
Normal warm range about 195–220 °FNormal warm range about 90–105 °C
Lowest voltage while cranking
— V
A healthy battery usually stays above 9.6 V
Requests answered
—%
— of —, no slow-downs

The setup: about $30 of hardware and a laptop

No dealer tool, no dongle app. A USB-to-CAN adapter wired to an OBD-II pigtail, a Linux laptop, and D/Xcan, a diagnostic stack written from the CAN frame up in Rust. Everything below is read-only: the tool asks the car questions and records the answers.

The clear USB-to-CAN adapter lit green on the car seat, its wires running to a laptop
The whole kit: the clear USB-to-CAN adapter (green light, on the seat), its pigtail into the OBD port under the dash, and a laptop. The drives used the same wiring on a ThinkPad L14.
Car's OBD-II port, facing you 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 USB-to-CAN adapter SH-C31A · gs_usb · can0 CAN-H CAN-L GND Pin 6 → CAN-H · pin 14 → CAN-L · pins 4/5 → ground Pin 16 (battery +12 V) is left unconnected and taped off. The adapter's 120 Ω termination stays off: the car's bus is already terminated.
  • Adapter: SH-C31A USB-to-CAN (candleLight/gs_usb firmware), no driver install on Linux
  • Cable: OBD-II male to open-wire pigtail, screwed into the adapter's terminals
  • Laptop: Lenovo ThinkPad L14 Gen 1 on Fedora 44 for the drives
  • Software: D/Xcan (Rust, zero third-party crates in the core), plus Wireshark's dumpcap as an independent recorder

How it got here

D/Xcan is a car diagnostic tool written from scratch in Rust, running on Linux with about $30 of hardware. This is the first drive it recorded cleanly, and it took one failure to get there.

  1. Step 1Built against a simulator. A Python prototype, then a rewrite in Rust with no third-party code in the core: CAN transport, ISO-TP, OBD-II and UDS, tested against a 10-module simulated Genesis.
  2. Step 2First time on the real car. Read every module the G70 answers (27 of them): identities, readiness and trouble codes. The car was clean.
  3. Step 3The first drive recording failed. To listen without sending anything, the adapter was set to listen-only. On this car the OBD port is a private bus behind a security gateway, and a listen-only adapter never acknowledges a frame, so the gateway kept resending the same one: 9.38 million copies of a single frame in 66 minutes, about 2,370 a second, filling the bus.
  4. Step 4Rebuilt around that lesson. A pre-drive GO/NO-GO check, polled recording in normal mode, a flood guard that stops the instant one frame dominates the bus, and Wireshark-compatible capture files. Every one of them proven on a virtual CAN bus before going near the car, including a deliberate flood:dxc: flood guard tripped: bus flood: id 7E8 repeated 2311 of 2317 frames (3825 frames/s) with an unchanging payload — the listen-only failure mode. Stopped.
  5. Step 5Two clean drives. The check said NO-GO twice (ignition off, then leftover error counts from the adapter), then GO. Every one of 36,084 requests was answered.

The check that said no, twice

Before any recording, D/Xcan runs a preflight: it listens, identifies the car, times ten round trips, reads the battery and compares the adapter's error counters before and after. The first run failed because the ignition was off. The second failed on error counts left over from that attempt; on this adapter, restarting the interface doesn't clear them, but unplugging it for five seconds does. The third run passed.

Terminal: D/Xcan preflight NO-GO, no OBD-II ECU answered, ignition off
NO-GO #1: no engine computer answered. Ignition was off.
Terminal: D/Xcan preflight NO-GO, controller transmit errors 117
NO-GO #2: the car answered, but the adapter still carried 117 transmit errors from the first try.
Terminal: D/Xcan preflight GO, every line ok
GO: after a five-second unplug, every line passed. VIN shown masked, as D/Xcan prints it.
Terminal: a 25-requests-per-second capture against the simulator with 0% missed
Proven first on the bench: a 25-requests-per-second capture against the simulator, 0% missed, before the car.

The evening at a glance

Speed over the whole evening, with what the car was doing worked out from the data alone: no one typed a single mark. Freeway means speed held at 50 mph or more; a stop means standing still for 5 seconds or longer. Blank stretches are when nothing was recording (between captures and while parked at the store). Click a stretch to look at it second by second below.

FreewayCityStopped or parkedSpeedBoost above 2 psiPulling away

Every stretch, worked out from the data

DriveWhat the car was doingStartedMinutes Mileskm Avg mphAvg km/h Top mphTop km/h Avg rpmAvg load % Peak boost psiPeak boost kPa Trim B1 %Trim B2 % Coolant at end °FCoolant at end °C

Second by second

Point at any chart to read every panel at the same moment. The drive out polled 12 values ten times a second in batches; the drive home polled 19 values at twice the rate, adding bank 2, both oxygen sensors and catalyst temperature.

Speed mphkm/h
Engine speed rpm
Boost psikPa · above zero is boost, below is vacuum
Throttle and engine load %
LoadThrottle
Temperatures °F°C
CoolantIntake air
Total fuel trim % · short plus long term; positive means the computer is adding fuel
Bank 1
System voltage V

Four questions the data answers

Is the battery healthy? Not entirely.

The first capture began a few seconds before the engine started, so it caught the cranking dip. Resting voltage was 12.1 V (a rested, healthy battery reads 12.4–12.7 V) and it fell to — V while the starter turned. Readings arrive about five times a second, so the true low point may be lower still. An earlier scan read 11.8 V with the key on. Once running, the alternator held 14.4–14.6 V, so charging is fine; the battery itself needs a charge and a load test.

Voltage V · first 30 seconds
Engine speed rpm · first 30 seconds

How fast does it warm up? About 12 minutes to 195 °F90 °C.

Coolant and intake air across the evening, timed from engine start. A recording gap between the idle and the first drive hides the exact moment it crossed into the warm range, but coolant reached it about 12 minutes after starting and held there; intake air climbed while parked (heat soak) and cooled again once moving.

CoolantIntake airNormal warm range

Is it leaking air? No sign of it.

Average total fuel trim on the drive home, engine warm, by engine speed and load. A vacuum leak shows up in the learned (long-term) trim: high at idle, near zero at higher load, because the same unmetered air matters less as more air flows. This car's long-term trim is flat instead: bank 1 holds +5.5 to +6.3% and bank 2 +6.3 to +7.4% from idle to the highest load reached, and bank 2 is a little higher at cruise than at idle, the opposite of a leak. The cells fade with load only because the short-term trim swings negative under acceleration (−3 to −5%), which is the computer reacting moment to moment, not a learned correction. The sensors agree: measured air-fuel ratio sat on the commanded 0.98–0.99 at idle and cruise. What it shows is a steady +6% added on both banks at all loads, inside the normal ±10%. That pattern fits a small, constant fuel or airflow offset (fuel blend, injector flow, the computer's airflow model) better than a leak; it needs nothing done. Darker cells add more fuel; blank cells had fewer than 10 readings.

Bank 1 %
Bank 2 %

How hard did the turbos work? About a third of their range.

Every reading from both drives: boost against engine speed. Most driving happens in vacuum below zero; the few excursions above it peaked near 11 psi between 1,800 and 2,600 rpm. A launch-control run will fill in the top of this chart.

Health check before and after

Full scans taken cold before the first drive and warm after the last. The fuel level the engine computer reported dropped far more than 19 miles of driving explains; the dash range (115 → 99 miles) agrees with the distance, so the first, cold reading was taken before the fuel sender settled.

Reading BeforeAfterUnit BeforeAfterUnit

How the tool performed

Every request D/Xcan sent got an answer, the pacing never had to slow down, and the flood guard (built after the listen-only capture filled the bus with one repeated frame) never tripped. A separate Wireshark recorder (dumpcap) ran alongside and matched these counts frame for frame: 65,689 and 95,124.

CaptureStartedSecondsFramesSentAnsweredMissed %Median msp95 msSlow-downs

What comes next

  1. Every channel the car has, not just generic OBD-II. Gear, wheel speeds, transmission and oil temperature, knock, MAF and battery current live in manufacturer data identifiers. D/Xcan's next job is finding and decoding them, with proof for each signal.
  2. Race-telemetry pace. Each value updated about five times a second here. Polling several modules in parallel and having modules stream bundled values aims for 50–100 on the core channels.
  3. Analysis built in. The stretch and event detection on this page moves into dxc capture summary, plus capture profiles that focus a session on one question (battery, warm-up, performance).
  4. No gaps. An always-on logger that wakes with the ignition, so nobody juggles a laptop between errands.
  5. A launch-control run at a safe, legal venue, to fill in the top of the boost chart.

The receipts

Straight from the terminal on the night: the two drive recordings, the independent Wireshark recorder agreeing frame for frame, and D/Xcan's own summary of one capture.

Terminal: the drive and drive2 captures saved, 56,643 and 95,124 frames, 0% missed
Both drives saved: 56,643 frames (12 values at 10 requests a second) and 95,124 frames (19 values at 20 a second), 0% missed.
Terminal: dumpcap captured 65,689 and 95,124 packets with none dropped
Wireshark's recorder, running alongside: 65,689 and 95,124 packets, none dropped. The same totals D/Xcan wrote.
Terminal: no stored faults, and the capture summary for the cold start with 598 of 598 requests answered
No stored, pending or confirmed faults in any module, and the summary of the cold-start capture: 598 of 598 answered, 6.1 ms median.
How these numbers were made
  • Hardware: a ~$30 USB-to-CAN adapter (SH-C31A, gs_usb) on an OBD-II pigtail, a ThinkPad L14 running Fedora, and D/Xcan, written from scratch in Rust. Read-only: nothing was written to the car.
  • D/Xcan polled the engine computer with standard OBD-II requests, batching up to six values per request, and wrote every frame to pcapng files that open in Wireshark.
  • Every reading is kept, one row per polling cycle, in the car's own metric units; the US view converts on screen.
  • Stretches and events are worked out by a short script. Stretches shorter than 30 seconds merge into the one before them, so a brief slowdown on the freeway stays freeway.
  • Boost is manifold pressure minus the 97 kPa outside air pressure the car reported. 1 kPa = 0.145 psi.
  • Distance is speed added up over time. The trim map uses readings with coolant at 80 °C (176 °F) or more.
  • The car doesn't expose MAF airflow, fuel rail pressure, oil temperature, gear or wheel speeds through standard OBD-II; those come next, through manufacturer data identifiers.
  • The VIN and odometer are left out of everything on this page.

Download the data behind every chart: