What is this all about...
The ACR38U is the smartcard reader (from ACS) distributed by the belgian gouvernment to read the new (electronic) Id cards. It seems well documented by the manufacturer. There is a lot of informations about the beId (Belgian Identity Card) and the ISO smart cards in general. Card Reader driver and applications are available for three main operating systems (MS-Windows, MacOSX and Linux). The sources are available for Linux and it is easy to install the binaries on the latest Ubuntu distributions (since Edgy Eft), one just has to search for 'beid' in Synaptic and select the gui.
The card reader should be able to read other cards...
The (Linux) sources are rather complex and it is difficult to see what's happening.
So came the idea of writing simple programs to explore USB, the card reader and the cards...
The following code is NOT (yet) fool proof. It is more an exploration than a real driver. There should be more checks for EINVALs, some extentions (get the ATR out of the powerup function; allow for more than 64 (?) bytes I/O;...). The aim is to have the more concise and readable code, a working 'exercice' with libusb. The dates of the blog are irrelevant, it is just a way to get the articles in the right order.
Notice that I put a new version of the program on GitHub : Beid2html (30Jan2015). It uses an USB/CCID class device : The Digipass-870 from VASCO proposed by the Belfius bank and uses libusb 1.0
The card reader should be able to read other cards...
The (Linux) sources are rather complex and it is difficult to see what's happening.
So came the idea of writing simple programs to explore USB, the card reader and the cards...
The following code is NOT (yet) fool proof. It is more an exploration than a real driver. There should be more checks for EINVALs, some extentions (get the ATR out of the powerup function; allow for more than 64 (?) bytes I/O;...). The aim is to have the more concise and readable code, a working 'exercice' with libusb. The dates of the blog are irrelevant, it is just a way to get the articles in the right order.
Notice that I put a new version of the program on GitHub : Beid2html (30Jan2015). It uses an USB/CCID class device : The Digipass-870 from VASCO proposed by the Belfius bank and uses libusb 1.0