How to get the eid electronic card reader ACR38U working in Ubuntu 16.04.2 64-bit using a bash shell script

Posted: 2014/01/04 in Ubuntu
Tags: , , , , , , , , , , , , ,
 # Supported CCID readers: 
 # bash shell script
 # Prerequisites: Ubuntu 16.04.2 LTS 64-bit or newer (LiveUSB session
 # or installed on HD/SSD), newest version of Mozilla Firefox 
 # (version 54.0 or newer), Ubuntu packages in bash shell script below
 # install prerequisites for compiling eid-mw from Github
 sudo rm /etc/apt/sources.list.d/eid.list
 sudo touch /etc/apt/sources.list.d/eid.list
 sudo sh -c 'echo "deb xenial main" >> /etc/apt/sources.list.d/eid.list'
 sudo sh -c 'echo "deb xenial main" >> /etc/apt/sources.list.d/eid.list'
 sudo apt-key adv --keyserver --recv-keys 63F7D4AFF6D61D45 A35743EA6773D225 F9FDA6BED73CDC22 3B4FE6ACC0B21F32 4E940D7FDD7FB8CC A040830F7FAC5991 16126D3A3E5C1192
 sudo DEBIAN_FRONTEND=noninteractive add-apt-repository --yes ppa:gertvdijk/opensc-backports
 sudo DEBIAN_FRONTEND=noninteractive apt --yes --force-yes remove --purge beid*
 sudo DEBIAN_FRONTEND=noninteractive apt update
 sudo DEBIAN_FRONTEND=noninteractive apt install aptitude
 sudo aptitude install usbutils pciutils eid-mw eid-viewer apt firefox pcscd default-jre opensc libacr38u libacr38ucontrol0 libacsccid1 libccid libusb-1.0-0 libpcsclite1 libpcsclite-dev pcsc-tools ca-certificates libtool autoconf automake checkinstall git libgtk-3-dev libxml++2.6-dev libproxy-dev openssl libssl-dev libcurl4-openssl-dev
 sudo update-pciids
 sudo update-usbids
 # compile and install newest version of eid-mw using Github
 sudo rm -rf eid-mw
 git clone
 cd eid-mw/
 autoreconf -i
 sudo checkinstall
 # press 2 and change eid package name to eid-mw and hit ENTER key
 # press 3 and change version to 4.2.10 and hit ENTER key
 # Ensure that there are absolutely NO add-on EXTENSIONS installed in the Mozilla Firefox webbrowser
 # The add-on PLUGINS like Citrix Receiver for Linux,OpenH264 and Shockwave Flash plugins can remain active in Mozilla Firefox, as they do not seem to interfere with the eid card reader.
 # Close all web browser windows. Restart Mozilla Firefox browser and test eid card reader.
  1. mark911 says:

    Automated the configuration of the about:config settings in Mozilla Firefox by adding more bash commands.

  2. mark911 says:

    Added ppa:gertvdijk/opensc-backports to bash script to enable installation of opensc version 0.14.

    More details are here:

  3. wistef says:

    Merci beaucoup 🙂

  4. mark911 says:

    Rewrote the procedure for Ubuntu 16.04 LTS 64-bit and added some improvements.

  5. mark911 says:

    Added support for 64-bit Google Chrome browser in Ubuntu 16.04.2 64-bit in last couple of lines in bash shell script.

  6. mark911 says:

    Rewrote install procedure in order to use Fedict’s eid-mw source code from Github.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s