Blog · 2026-11-10
Cannot view some data with VW OBD2
Stefan Bogdanescu
Founder & Senior Architect
Cannot view some data with VW OBD2
The frustration of an intermittent ABS light on a 2009 VW Golf 2.0 TDI often leads developers down a rabbit hole of diagnostic protocols. Once you acquire a generic BT ELM327 adapter and get it talking to your Linux setup via python-obd2, you quickly hit a wall: standard PIDs return clean data for RPM, speed, and engine load, but the advanced diagnostics required to isolate issues like intermittent fault codes remain inaccessible. This isn't a bug in your adapter or a Python library limitation; it is a deliberate architectural constraint imposed by Volkswagen's proprietary implementation of the OBD-II standard.
While ISO 15031-4 defines the baseline for generic powertrain diagnostics, manufacturers are permitted to define their own PID structures for manufacturer-specific data (PID 9x). VW has historically been restrictive with these definitions, particularly regarding ABS and transmission modules. The core issue lies in how the ELM327 communicates. These adapters typically operate using the J1850 CAN bus protocol or ISO-TP over UART. While they successfully bridge the physical layer to retrieve universal data, the higher-level application layer often filters out non-standard requests before they even reach the ECU.
When you inspect the python-obd2 output or use a raw socket connection with the adapter, you will notice that generic PIDs (01-04) function correctly. However, attempts to query manufacturer-specific parameters for ABS module status often result in timeouts or unparseable responses. This happens because VW does not always map these proprietary fields to standard OBD-II PID definitions that third-party libraries expect. The library might try to request PID 09 expecting a specific byte count, but the VW ECU responds with a different structure or simply ignores the request if it doesn't match an internal whitelist.
To bypass this limitation in a development context, you must move away from high-level abstractions like obd.read_pid() and interact directly with the CAN bus. Using Python's can library allows you to construct raw frames that adhere strictly to ISO-TP framing without relying on pre-defined PID lists. You can send custom data requests targeting specific UIDs (Unique Identifiers) for the ABS module, provided you have the exact request frame definitions from a service manual.
import can
from can import CanMessage
# Initialize interface with your ELM327
bus = can.interface.Bus(channel='socketcan', bustype='virtual') # Or appropriate backend
# Example: Constructing a raw diagnostic request for a specific module
# Note: Request frames require specific IDs and DLCs defined by the manufacturer.
# This is where generic libraries fail, as they assume standard PID layouts.
request_frame = can.Message(arbitration_id=0x7E0, data=[...], is_extended_frame=False)
bus.send(request_frame)
The critical trade-off here is between convenience and control. Libraries like python-obd2 abstract away the complexity of ISO-TP framing and manufacturer-specific lookups, which is great for generic monitoring but terrible for deep diagnostic analysis on restricted platforms. When VW implements proprietary data in different PIDs, they are effectively gating this information behind a protocol handshake that third-party tools cannot easily decipher without reverse-engineering the specific frame definitions.
If your goal is to log these intermittent faults or correlate ABS events with engine parameters, you may need to write a custom parser that handles raw CAN logs exported from your Linux host. The ELM327 can often be configured to output raw hex dumps of every frame received and sent. By analyzing these logs, you can identify the specific response codes VW uses for their proprietary PIDs, even if standard documentation doesn't list them.
For those looking for a comprehensive solution involving complex automotive diagnostics or custom fleet management systems where such proprietary data is essential, exploring specialized solutions that integrate with these hardware constraints becomes necessary. For instance, platforms like https://laravelcompany.com often discuss the nuances of handling complex IoT device integrations, though they may not provide the raw CAN frame definitions required for specific VW models directly. The takeaway remains: generic OBD-II tools work for universal data, but proprietary VW data requires a lower-level approach that respects the manufacturer's specific protocol extensions.