Reading smart cards.
In particular the driver card for heavy goods vehicles and coaches.
Read the data recorded by the digital tachograph.
The driver can see the activity recorded on his or her smart card.
Last updated: 27 November 2026 (Readesm-Qt5 2026.11).
Hardware needed
You need a card reader connected to a USB port of your computer. It must comply with the PC/SC and CCID standards, as well as USB 2.0 and FCC.
Personally I use an Ingenico Liteo reader, USB Pc/sc Eid Smart Card Reader (seller RedCorp-Xiring): simple, cheap (around €15) and good enough for this purpose.
Installing the free software Cardpeek, which can read various smart cards (Vitale, Moneo, public transport, etc.)
On Linux:
You need the pcscd package and the libccid library.
Install the cardpeek and cardpeek-data packages:
sudo apt install pcscd libccid cardpeek cardpeek-data
When you plug the card reader into the USB port, the lsusb command gives information like this:
Bus 00x Device 00x: ID 04e6:5810 SCM Microsystems, Inc.
The reader is recognised: "ID" gives the manufacturer number, followed after the colon by the device number.
If the reader is not recognised, restart the pcscd daemon (sudo systemctl restart pcscd) or reboot the system.
Cardpeek is also available for Windows and macOS (see the software's website).
Reading the driver card
Start Cardpeek and click OK to select the recognised card reader.

In the "Analyzer" menu choose Tachograph (Driver Tachograph Cards), then, when asked, click the Export signed data file button.
Wait until processing is finished: a .ddd file is created, named like "Surname_Firstnames_date.ddd".
Save this file in your favourite folder, or create a folder (for example "Driver").
Note (cardpeek 0.8.4): the tachograph.lua script may stop with the error "attempt to index a nil value (local 'conversion')" in the Tacho_TEXT_8859 function: the call to iconv.open fails. Simply copy the script to ~/.cardpeek/scripts/ and, in that copy, protect the call with pcall, using the plain text if the conversion fails.
Everything went well and we have read the contents of the card, but this is where it gets tricky! The famous .ddd file now has to be interpreted.
Installing the free software Readesm
The Readesm software interprets this file and presents the results as text and graphics: a 0 to 24 h activity graph for every day, a monthly summary (driving, work, rest, availability) and an HTML report.
It is an adapted version of Readesm (based on the software by Andreas Gölzer) for Qt and Debian 13. The interface and the HTML export are available in 25 languages (all 24 official languages of the European Union, plus Catalan and Russian) and follow the language of your system; English otherwise. The translations added in 2026 were made with the help of an AI assistant and have not all been reviewed by native speakers: corrections are welcome.
On Debian or Ubuntu: the .deb package
A .deb software package is available on SourceForge: https://sourceforge.net/projects/readesm-qt5-2026-11/
Download it, then install it with the command:
sudo apt install ./readesm-qt5_2026.11_amd64.deb
It has been tried on Debian 13. The program then appears in the menus (icon below); you can also type readesm in a terminal. To remove it: sudo apt remove readesm-qt5.
On Windows
An installer for Windows 10 and 11 (64-bit) is available in the "Releases" of the GitHub repository and on SourceForge (see below). It is not signed: Windows shows a warning ("More info" and then "Run anyway").
On macOS
There is no package, and the software has not been tried on a Mac. Instructions for building from source (with Homebrew) are in the README file of the GitHub repository.
Building it yourself (other distributions)
Otherwise you have to roll up your sleeves: download the files from the GitHub site:
https://github.com/Bosctre/ReadEsm-Qt5-2026.11
You need the build tools (cmake, gcc, build-essential, etc.), Qt (version 6, or 5.15) with its development tools, and the gmp and gcrypt libraries. Subversion is no longer needed. On Debian 13:
sudo apt install build-essential cmake git qt6-base-dev qt6-svg-dev qt6-tools-dev qt6-tools-dev-tools libgl-dev libgcrypt20-dev libgmp-dev
Then, in the system terminal, as a normal user:
git clone https://github.com/Bosctre/ReadEsm-Qt5-2026.11.gitcd ReadEsm-Qt5-2026.11mkdir build && cd buildcmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..make -j$(nproc)
If there are errors, read them and install the missing packages or libraries.
If everything went well, install the software as root:
sudo make install
The executable ends up in /usr/bin: just type readesm in the terminal, or click the shortcut icon in the menus.

Using it
And now the miracle happens:

File > Open menu, then find the file in your favourite folder (for example "Driver").

The "show" and "hide" links expand and collapse the list of activity changes for each day.
To get an HTML report directly, without opening the window:
readesm card.ddd report.html
To force a language: readesm -l fr card.ddd (codes: bg, ca, cs, da, de, el, es, et, fi, fr, ga, hr, hu, it, lt, lv, mt, nl, pl, pt, ro, ru, sk, sl, sv).
Personal data
A .ddd file contains personal data (name, date of birth, card number, vehicle plates, trips). Do not publish it, nor reports made from a real card: in particular, check that the screenshots on this page are anonymised. For testing, use anonymised files.
Links and acknowledgements
- Source code and downloads: GitHub and SourceForge.
- The original project: ReadESM, by Andreas Gölzer (GPL licence).
- Cardpeek, for reading the smart card.
Thanks to the various contributors and, for more information, search engines are your friends, with the keywords: Cardpeek, Readesm, Linux, free software.