---
name: "ATR_analysis"
section: "1p"
platform: "linux"
package: "pcsc-tools"
version: "1.7.5-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ATR_analysis"
---

# ATR\_analysis(1p)

analyse a smart card ATR

## NAME

ATR\_analysis - analyse a smart card ATR

## SYNOPSIS

**ATR\_analysis** \[*ATRstring*\]

## DESCRIPTION

**ATR\_analysis** is used to parse the ATR (Answer To Reset) sent by a smart card.

The command also tries to find the card model using an ATR database stored in a text file called *smartcard\_list.txt*.

The *smartcard\_list.txt* file is searched in  *$XDG\_CACHE\_HOME/smartcard\_list.txt*, *$HOME/.smartcardlist.txt* and */usr/share/pcsc/smartcard\_list.txt*.

Example:\
  $ ATR\_analysis '3B A7 00 40 18 80 65 A2 08 01 01 52'\
  ATR: 3B A7 00 40 18 80 65 A2 08 01 01 52\
  \+ TS = 3B --\> Direct Convention\
  \+ T0 = A7, Y(1): 1010, K: 7 (historical bytes)\
    TB(1) = 00 --\> Programming Param P: 0, I: 0\
    TD(1) = 40 --\> Y(i+1) = 0100, Protocol T = 0\
  \-----\
    TC(2) = 18 --\> Work waiting time: 960 x 24 x (Fi/F)\
  \+ Historical bytes: 80 65 A2 08 01 01 52

 Possibly identified card:\
  3B A7 00 40 18 80 65 A2 08 01 01 52\
         Gemplus GPK8000

## BUGS

Maybe many bugs since I am not a ISO 7816 expert.

## FILES

*smartcard\_list.txt*

## SEE ALSO

[**pcscd**(8)](/pcscd/8.md), [**pcsc\_scan**(1)](/pcsc_scan/1.md)

## AUTHOR

Ludovic Rousseau \<ludovic.rousseau@free.fr\>
