1PCSC_SCAN(1)                General Commands Manual               PCSC_SCAN(1)
2
3
4

NAME

6       pcsc_scan - regularly scans every PC/SC readers connected to the host
7

SYNOPSIS

9       pcsc_scan [options]
10

DESCRIPTION

12       This manual page documents the pcsc_scan command.
13
14       pcsc_scan  is  a  program that regularly scans every PC/SC readers con‐
15       nected to the host and display the status of the cards inserted in  the
16       readers.
17
18       The normal way to exit the program is to use Control-C.
19
20       When  pcsc_scan  is  started  it asks PC/SC layer the list of available
21       smart card readers. The list is printed. A sequence number  is  printed
22       before each reader.
23
24       Example:
25        PC/SC device scanner
26        V 1.4.27 (c) 2001-2017, Ludovic Rousseau
27        Scanning present readers...
28        0: Gemalto PC Twin Reader
29
30       When a card is inserted in any reader some information is printed:
31
32       date and time:
33              Wed Apr 12 14:25:30 2017
34
35       reader name:
36              Reader 0: Gemalto PC Twin Reader
37
38       card state and occurred event:
39              Card state: Card inserted,
40
41       ATR in case of card insertion:
42              ATR: 3B 82 00 86 1E
43
44       print an ATR analysis if the ATR_analysis command is available:
45               ATR: 3B 82 00 86 1E
46               + TS = 3B --> Direct Convention
47               + T0 = 82, Y(1): 1000, K: 2 (historical bytes)
48                 TD(1) = 00 --> Y(i+1) = 0000, Protocol T = 0
49               -----
50               + Historical bytes: 86 1E
51

OPTIONS

53       -h     print help
54
55       -V     print version number
56
57       -n     do  not  print ATR analysis.  Use this option if ATR_analysis is
58              not available for example.
59
60       -r     prints the list of readers and then exits.
61
62       -s     stress mode. Sends APDU commands to the card indefinitely (until
63              the card or the reader is removed).
64
65       -q     quiet: prints minimal messages.
66
67       -v     verbose: prints additionnal messages (default).
68

SEE ALSO

70       pcscd(8), ATR_analysis(1)
71

AUTHOR

73       Ludovic Rousseau <ludovic.rousseau@free.fr>
74
75
76
77                                April 10, 2018                    PCSC_SCAN(1)
Impressum