Re: eID Viewer: unable to read card

3,387 views
Skip to first unread message

Frederik Vernelen

unread,
Feb 10, 2015, 4:40:45 AM2/10/15
to eid...@googlegroups.com
Hello Koen,

When you say nothing is happening when you click the eID viewer, do you you mean you do not even see the eID Viewer UI appearing?
-> If that is the case, could you try to install the latest eiD middleware v407 (http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/windows/)
-> We made a change there so the shortcut also starts with java8

If you do see the eID Viewer UI, but no detection of the card reader there:
-> Could you try launching the eID Viewer with the card reader already connected?
-> (the eID Viewer stops searching for card readers after being launched when it already found one)

-> Does windows detects the card reader? (in control panel->system->devices->smartcardreader (if you're not sure, try adding and removing the card reader and see if there is an item added/removed to the smartcardreader list))
-> and is its driver ok?
-> if not, right-click it to update the driver ( the card reader should be able to work with microsoft's ccid driver)

Wkr,
 Frederik



On Tue, Feb 3, 2015 at 7:48 PM, Koen Lichtert <koen.l...@gmail.com> wrote:
The Belgian eID card reader is driving me mental.

I successfully installed the middleware for the 32bit, yet nothing is happening when I click on the eID Viewer shortcut on my desktop. Card reader is connected via USB. I have been told to install the drivers by their official support, but then I get the message below:


er






















So I can't even install a driver as it says it is not needed? 

The log of the eID viewer shortcut says the following:


[LibJ2PCSCGNULinuxFix] OS is [Windows 7]. Not Enabling PCSC library fix.
[LogHelper] java.runtime.name=Java(TM) SE Runtime Environment
[LogHelper] sun.boot.library.path=C:\Program Files\Java\jre1.8.0_31\bin
[LogHelper] java.vm.version=25.31-b07
[LogHelper] java.vm.vendor=Oracle Corporation
[LogHelper] java.vendor.url=http://java.oracle.com/
[LogHelper] path.separator=;
[LogHelper] java.vm.name=Java HotSpot(TM) Client VM
[LogHelper] file.encoding.pkg=sun.io
[LogHelper] user.script=
[LogHelper] user.country=DE
[LogHelper] sun.java.launcher=SUN_STANDARD
[LogHelper] sun.os.patch.level=Service Pack 1
[LogHelper] java.vm.specification.name=Java Virtual Machine Specification
[LogHelper] user.dir=C:\Program Files\Belgium Identity Card\EidViewer
[LogHelper] java.runtime.version=1.8.0_31-b13
[LogHelper] java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
[LogHelper] java.endorsed.dirs=C:\Program Files\Java\jre1.8.0_31\lib\endorsed
[LogHelper] os.arch=x86
[LogHelper] java.io.tmpdir=C:\Users\KLICHT~1\AppData\Local\Temp\
[LogHelper] line.separator=

[LogHelper] java.vm.specification.vendor=Oracle Corporation
[LogHelper] user.variant=
[LogHelper] os.name=Windows 7
[LogHelper] sun.jnu.encoding=Cp1252
[LogHelper] java.library.path=C:\Program Files\Java\jre1.8.0_31\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;;C:\Program Files\Java\jre1.8.0_31\bin;.
[LogHelper] sun.awt.enableExtraMouseButtons=true
[LogHelper] java.specification.name=Java Platform API Specification
[LogHelper] java.class.version=52.0
[LogHelper] sun.management.compiler=HotSpot Client Compiler
[LogHelper] os.version=6.1
[LogHelper] user.home=C:\Users\KLichtert
[LogHelper] user.timezone=Europe/Berlin
[LogHelper] java.awt.printerjob=sun.awt.windows.WPrinterJob
[LogHelper] file.encoding=Cp1252
[LogHelper] java.specification.version=1.8
[LogHelper] user.name=klichtert
[LogHelper] java.class.path=C:\Program Files\Belgium Identity Card\EidViewer\eID Viewer.exe
[LogHelper] java.vm.specification.version=1.8
[LogHelper] sun.arch.data.model=32
[LogHelper] java.home=C:\Program Files\Java\jre1.8.0_31
[LogHelper] sun.java.command=C:\Program Files\Belgium Identity Card\EidViewer\eID Viewer.exe
[LogHelper] java.specification.vendor=Oracle Corporation
[LogHelper] user.language=de
[LogHelper] awt.toolkit=sun.awt.windows.WToolkit
[LogHelper] java.vm.info=mixed mode
[LogHelper] java.version=1.8.0_31
[LogHelper] java.ext.dirs=C:\Program Files\Java\jre1.8.0_31\lib\ext;C:\Windows\Sun\Java\lib\ext
[LogHelper] sun.boot.class.path=C:\Program Files\Java\jre1.8.0_31\lib\resources.jar;C:\Program Files\Java\jre1.8.0_31\lib\rt.jar;C:\Program Files\Java\jre1.8.0_31\lib\sunrsasign.jar;C:\Program Files\Java\jre1.8.0_31\lib\jsse.jar;C:\Program Files\Java\jre1.8.0_31\lib\jce.jar;C:\Program Files\Java\jre1.8.0_31\lib\charsets.jar;C:\Program Files\Java\jre1.8.0_31\lib\jfr.jar;C:\Program Files\Java\jre1.8.0_31\classes
[LogHelper] java.vendor=Oracle Corporation
[LogHelper] file.separator=\
[LogHelper] java.vendor.url.bug=http://bugreport.sun.com/bugreport/
[LogHelper] sun.cpu.endian=little
[LogHelper] sun.io.unicode.encoding=UnicodeLittle
[LogHelper] sun.desktop=windows
[LogHelper] sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
[TrustServiceController] Removing Proxy
[VersionChecker] Could not reach eID software repository website

--
Je hebt dit bericht ontvangen omdat je bent geabonneerd op de groep "eID Middleware" van Google Discussiegroepen.
Als je je wilt afmelden bij deze groep en geen e-mails van de groep meer wilt ontvangen, stuur je een e-mail naar eid-mw+un...@googlegroups.com.
Als je een bericht in deze groep wilt plaatsen, stuur je een e-mail naar eid...@googlegroups.com.
Bezoek deze groep op http://groups.google.com/group/eid-mw.
Ga naar https://groups.google.com/d/optout voor meer opties.

Frederik Vernelen

unread,
Feb 12, 2015, 3:45:48 AM2/12/15
to eid...@googlegroups.com
Hello Koen,

I don't think the driver is the issue, as the device isn't even detected by the OS.
(And it should work with the default windows driver)

It looks like either the USB port or the DP905 are not functioning correctly.

Is the power indication LED on the DP905 on (the green LED) when it is attached to the PC ?

Can you try to attach the DP905 to a different USB port?

Would it be possible to attach the DP905 to a different PC, and check if it is detected there?


Wkr,
 Frederik




On Wed, Feb 11, 2015 at 6:35 PM, Koen Lichtert <koen.l...@gmail.com> wrote:
Hi Frederik

Thanks for taking your time to have a look at it first of all.

The way I see the userface when the card reader is connected is how you see it in the attached picture. So I assume the middleware has been successfully installed.

I don't think Windows detects the card reader.

Not sure if this is of any help, but this pc is connected to a network as it's a work pc, but I have admin rights and never had any trouble before installing software.

My windows is in German and I get stuck where you say Devices -> Smartcardreader. In German I have System > Geräte-Manager (see picture attached named 'System'). I don't see "Smartcardreader" there. 

I guess I might have to install new drivers, but don't have a clue where? Only thing I found so far is what I posted in the first post, where I went onto the Vasco site to look for some drivers, but then I got the message which you can read there, that it "is not needed to install extra drivers" (see pic 'Driver 905').
Message has been deleted
Message has been deleted
Message has been deleted

Jean-Pierre Vandermolen

unread,
Aug 20, 2015, 6:53:36 AM8/20/15
to eID Middleware


I have successfully installed eid midleware on raspberry pi 2 (armv7hf) under debian 8 (jessie)

I have compiled  middleware from source and then installed.

Il works with iceweasel (debian version of firefox) and eid plugin : I can reach rrn (mon dossier)  and it works fine.

But I can't read the card with eid viewer !
I have same result  as Koen.

Aug 20, 2015 12:31:51 PM be.fedict.eidviewer.gui.VersionChecker doCheckVersions
WARNING: Could not reach eID software repository website

Jean-Pierre Vandermolen

unread,
Aug 20, 2015, 7:09:40 AM8/20/15
to eID Middleware
More on my installation.

eid-version : 4.1.4 (last version)
Java version on Raspberry:
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode
)

linux version :
Linux raspberry 4.1.5-v7+ #809 SMP PREEMPT Thu Aug 13 00:50:56 BST 2015 armv7l GNU/Linux
iceweasel version: 31.8.0
Eid extension version( on iceweasel): 1.0.18.1- signed

Jean-Pierre Vandermolen

unread,
Aug 20, 2015, 7:14:32 AM8/20/15
to eID Middleware
More on my installation:
I'am using a vasco digipass provided by belfius
pcsc_scan result :

PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic....@free.fr>
Compiled with PC/SC lite version: 1.8.11
Using reader plug'n play mechanism
Scanning present readers...
0: VASCO DIGIPASS 870 [CCID] 00 00

Thu Aug 20 13:11:29 2015
Reader 0: VASCO DIGIPASS 870 [CCID] 00 00
  Card state: Card inserted, Shared Mode,
  ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11

ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11
+ TS = 3B --> Direct Convention
+ T0 = 98, Y(1): 1001, K: 8 (historical bytes)
  TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU
    43010 bits/s at 4 MHz, fMax for Fi = 5 MHz => 53763 bits/s
  TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0
-----
  TC(2) = 0A --> Work waiting time: 960 x 10 x (Fi/F)
+ Historical bytes: A5 03 01 01 01 AD 13 11
  Category indicator byte: A5 (proprietary format)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 98 13 40 0A A5 03 01 01 01 AD 13 11
        Belgium Electronic ID card



Wouter Verhelst

unread,
Aug 25, 2015, 5:44:02 AM8/25/15
to eid...@googlegroups.com
Hi,

On 20-08-15 12:53, Jean-Pierre Vandermolen wrote:
> <https://lh3.googleusercontent.com/-S-J4ZQTePxA/VdWxMulAWGI/AAAAAAAAECk/CVK2gN6-2_c/s1600/eid_viewer_raspberry.png>
>
>
> I have successfully installed eid midleware on raspberry pi 2 (armv7hf)
> under debian 8 (jessie)
>
> I have compiled middleware from source and then installed.

Okay.

> Il works with iceweasel (debian version of firefox) and eid plugin : I
> can reach rrn (mon dossier) and it works fine.
>
> But I can't read the card with eid viewer !
> I have same result as Koen.
>
> Aug 20, 2015 12:31:51 PM be.fedict.eidviewer.gui.VersionChecker
> doCheckVersions
> WARNING: Could not reach eID software repository website

That message is *not* related to your problem. It tries to contact the
eID software repository, in order to figure out which version of the
viewer is the most recent. If it can't contact the website, it should
continue normally.

Instead, the problem is that java is slightly broken in that it doesn't
use the system-configured directories to look for libraries, but uses an
internally-hardcoded list instead. Since due to multiarch, the PC/SC
library on Debian and derivatives is installed in /usr/lib/<gnu arch
triplet>/ rather than /usr/lib, by default, the java runtime environment
won't find them.

We have a workaround for that in place in
<https://github.com/Fedict/eid-viewer/blob/master/eid-viewer-lib/src/main/java/be/fedict/eidviewer/lib/file/helper/LibJ2PCSCGNULinuxFix.java>,
but it considers x86_64 and x86 architectures only.

If you want to run the eID viewer on Debian-based arm machines, you have
essentially two options:

- Use a cluebat on the OpenJDK people so they don't have a hardcoded
list but will instead look in the correct multi-arch directory
- Patch the above file so it searches for libpcsclite.so.1.0.0 in the
correct location (run "dpkg -L libpcsclite1" to get the details) and
rebuild the eid-viewer.

We don't currently support arm as an architecture. This might change in
the future (but don't take that as a promise).

--
Wouter Verhelst

Verhelst Wouter (Consultant)

unread,
Sep 10, 2015, 6:05:05 AM9/10/15
to eid...@googlegroups.com
On 25-08-15 11:43, Verhelst Wouter (Consultant) wrote:
> We don't currently support arm as an architecture. This might change in
> the future (but don't take that as a promise).

So, if you happened to look at the files.eid.belgium.be repository, you may have noticed that armhf has been added as an architecture for Debian 7 "wheezy" and Debian 8 "jessie" about an hour ago.

I'm still doing some tests, but if all goes well, we'll have support for Debian's armhf architecture with the next release of the middleware for Linux.

Regards,

--
Wouter Verhelst

Vincent

unread,
Sep 11, 2015, 12:04:06 PM9/11/15
to eID Middleware
Hi,


Le mardi 25 août 2015 11:44:02 UTC+2, Wouter Verhelst a écrit :
Hi,

On 20-08-15 12:53, Jean-Pierre Vandermolen wrote:
> <https://lh3.googleusercontent.com/-S-J4ZQTePxA/VdWxMulAWGI/AAAAAAAAECk/CVK2gN6-2_c/s1600/eid_viewer_raspberry.png>
>
>
> I have successfully installed eid midleware on raspberry pi 2 (armv7hf)
> under debian 8 (jessie)
>
> I have compiled  middleware from source and then installed.

I compiled and installed middleware 4.1.4 on BeagleBone Black (armv7hf) under Gentoo.
I also compiled sdk C examples on BeagleBone Black and it works great.
Reply all
Reply to author
Forward
0 new messages