Difference between revisions of "Omnikey Cardman 5321"

From ArchWiki
Jump to: navigation, search
m
m (Test with pcsc_scan: typo)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
This page will explain how to get the Omnikey Cardman 5321 SmartCard Reader up and running under Archlinux. This guide may work for other models to, but this has not been tested.
 
This page will explain how to get the Omnikey Cardman 5321 SmartCard Reader up and running under Archlinux. This guide may work for other models to, but this has not been tested.
  
= Installation =
+
== Installation ==
  
== Packages ==
+
[[Install]] the {{Pkg|pcsclite}}, {{Pkg|pcsc-tools}}, and {{AUR|omnikey_cardman_5x2x}} packages.
  
=== pcsclite ===
+
[[Start]] pcscd with {{ic|pcscd.service}}.
You need to install pcsclite, a middleware to access a smart card using the SCard API. {{Pkg|pcsclite}} availible in [community].
+
  
=== pcsc-tools ===
+
== Test with pcsc_scan ==
In addition you can install pcsc-tools which provide you some tools that you can use with smart cards and PC/SC: [https://www.archlinux.org/packages/community/i686/pcsc-tools/ pcsc-tools].
+
  
=== Driver ===
+
You can test the installation by running pcsc_scan. If everything worked fine, you should get something like that:
At least you have to install the driver, that is now also available through the AUR: [https://aur.archlinux.org/packages.php?ID=34887 omnikey_cardman_5x2x].
+
  
= Usage =
 
 
== Start pcscd ==
 
To start pcscd you have to run the following command:
 
 
For legacy init systems:
 
<pre>
 
# /etc/rc.d/pcscd start
 
</pre>
 
 
For systemd systems:
 
<pre>
 
# systemctl start pcscd.service
 
</pre>
 
 
== Test with pcsc_scan ==
 
You can test the installation by running pcsc_scan. If everything worked fine, you should get something like that:
 
 
<pre>
 
<pre>
 
PC/SC device scanner
 
PC/SC device scanner

Latest revision as of 16:40, 8 December 2015

This page will explain how to get the Omnikey Cardman 5321 SmartCard Reader up and running under Archlinux. This guide may work for other models to, but this has not been tested.

Installation

Install the pcsclite, pcsc-tools, and omnikey_cardman_5x2xAUR packages.

Start pcscd with pcscd.service.

Test with pcsc_scan

You can test the installation by running pcsc_scan. If everything worked fine, you should get something like that:

PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.5
Scanning present readers...
0: OMNIKEY CardMan 5x21 00 00
1: OMNIKEY CardMan 5x21 00 01

Sun Feb 21 18:21:05 2010
 Reader 0: OMNIKEY CardMan 5x21 00 00
  Card state: Card removed, 

Sun Feb 21 18:21:05 2010
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card removed, 

Sun Feb 21 18:21:11 2010
 Reader 1: OMNIKEY CardMan 5x21 00 01
  Card state: Card inserted, 
  ATR: 3B 89 80 01 4A 43 4F 50 34 31 56 32 32 4D

ATR: 3B 89 80 01 4A 43 4F 50 34 31 56 32 32 4D
+ TS = 3B --> Direct Convention
+ T0 = 89, Y(1): 1000, K: 9 (historical bytes)
  TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0 
-----
  TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1 
-----
+ Historical bytes: 4A 43 4F 50 34 31 56 32 32
  Category indicator byte: 4A (proprietary format)
+ TCK = 4D (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 89 80 01 4A 43 4F 50 34 31 56 32 32 4D
	New Zealand e-Passport