Instalable Dnie - V1502

This is not your fault. The DNIE v1502 reader has a broken retry counter in firmware. It does not reset the PIN attempt counter after successful auth. Fix:

# Reset the card's internal state without unplugging
opensc-tool -s 00:20:00:00:08:FF:FF:FF:FF:FF:FF:FF:FF -s 00:20:00:00:08:FF:FF:FF:FF:FF:FF:FF:FF

(Only works on v1502 firmware > 2.1)

For Linux users searching for "instalable dnie v1502" – the situation is different. The V1502 often works with the generic pci driver or the dnie staging driver in kernels 4.x to 5.4. To install on Ubuntu/Debian:

sudo modprobe dnie
echo "dnie" | sudo tee -a /etc/modules
sudo update-initramfs -u

However, many Linux users report the need to extract the Windows .sys driver and convert it using NDISwrapper – a process that is far from "instalable." Stick to Windows for reliability. instalable dnie v1502

Cause: Memory conflict or IRQ conflict, common in legacy motherboards. Fix:

Sometimes, a driver install fails because the V1502’s firmware is corrupt or mismatched. A true "instalable" package includes a firmware flasher.

After reboot, the device should appear in Device Manager under "System Devices" or "IDE ATA/ATAPI Controllers". This is not your fault

The old pkcs11-dnie module is dead. Use OpenSC:

sudo apt install opensc-pkcs11

In Firefox:

Then test at: https://www.sede.gob.es

Given the age of this hardware, direct manufacturer links are often dead. Your best bets are:

Product Name: Instalable DNIe Version: v1502 (often associated with the "instalador automático") Developer: Dirección General de la Policía (National Police of Spain) Purpose: To install the necessary drivers and middleware to read the Spanish Electronic ID card (DNIe) on a computer. Official Source: Portal DNIe


Even with an instalable package, problems occur. Here are the top three issues. (Only works on v1502 firmware > 2

Back
Top