Dobrica Pavlinušić's random unstructured stuff
touchatag: Revision 4
http://www.touchatag.com/

.pre
sudo apt-get install pcscd
sudo dpkg -i libnfc-read_dev-build-1_i386.deb
sudo ldconfig
.pre

modify pcscd configuration:

.pre
dpavlin@t61p:~$ diff -urw /etc/libccid_Info.plist*
--- /etc/libccid_Info.plist 2011-01-13 23:05:25.624371843 +0100
+++ /etc/libccid_Info.plist.orig 2011-01-13 23:05:07.449342958 +0100
@@ -52,7 +52,7 @@
-->

<key>ifdDriverOptions</key>
- <string>0x0004</string>
+ <string>0x0000</string>

<!-- Possible values for ifdDriverOptions
1: DRIVER_OPTION_CCID_EXCHANGE_AUTHORIZED
.pre

to detect reader and restart pcscd

.pre
sudo /etc/init.d/pcscd restart
.pre

test it (with touchatag sticker)

.pre
dpavlin@t61p:~$ nfc-list
nfc-list use libnfc 1.4.0 (r842)
Connected to NFC device: ACS ACR122U PICC Interface 00 00 / ACR122U102 - PN532 v1.4 (0x07)
1 ISO14443A passive target(s) was found:
ATQA (SENS_RES): 00 44
UID (NFCID1): 04 cc 6b d9 a1 25 80
SAK (SEL_RES): 00
.pre

read Mifare

.pre
mfoc -O dump | tee keys.txt
.pre