=====================================================

					Au9520 CCID Linux Release Note				      
					
=====================================================					

v1.0.0 2006/09/04

If the version of  libusb is under 0.1.7 , it need to update to latest one.
Otherwise skip  step1.


[Optional]
 step1. Install  libusb

 # tar zxvf  libusb-0.1.12.tar.gz 
 # cd libusb-0.1.12                          
 # ./configure                             
 # make                                    
 # make install          ( Login as a root to install driver )          


step2. Install  pcsc-lite
 
 # tar zxvf  pcsc-lite-1.3.2.tar.gz 
 # cd pcsc-lite-1.3.2.tar.gz 
 # ./configure                             
 # make                                    
 # make install          (Login as a root to install driver)
 
step3. Install  ccid driver
 
 # tar zxvf ccid-1.1.0.tar.gz 
 # cd ccid-1.1.0.tar.gz 
 # ./configure                             
 # make                                    
 # make install          (Login as a root to install driver)
 
 step4. Activate the daemon pcscd
 
 #/usr/local/sbin/pcscd
 
Test tool:

You can use "Formaticc" to send batch APDUs
Execute  /pcsc-lite-1.3.2/src/utils/formaticc

The input file format as follows:

Length   APDUs
05            00 84 00 00 08

05 is the APDU's length ,and 00 84 00 00 08 is the APDU command.

[Example]
[root@localhost utils]# ./formaticc

Winscard PC/SC Lite Test Program
Please enter the desired host (localhost for this machine) [localhost]:
Please input the desired transmit protocol (0/1) [0]:
Please input the desired input apdu file: sample.in

[root@localhost utils]# ./formaticc

Winscard PC/SC Lite Test Program
Please enter the desired host (localhost for this machine) [localhost]:
Please input the desired transmit protocol (0/1) [0]:
Please input the desired input apdu file: sample.in
Please input the desired output apdu file: 123.out
Reader 01: Alcor Micro AU9520 00 00
Enter the desired reader number: 01

Please insert a smart card
Processing Command 001 of length 005: 05 C0 84 00 00 08
Processing Command 002 of length 005: 05 C0 84 00 00 08
Processing Command 003 of length 007: 07 C0 A4 00 00 02 3F 00
Processing Command 004 of length 007: 07 C0 A4 00 00 02 3F 00

[root@localhost utils]# vi 123.out

Content of file 123.out 
02 6E 00
02 6E 00
02 6E 00
02 6E 00





 Note:
 	At step2 or step3, when execute the "make" operation .
 	if there has error message - visibility arg must be one of "hidden", "protected" or "internal",
 	solution:
 			replace #define PCSC_API __attribute__ ((visibility("default")))
	 		with       #define PCSC_API 

	At step3, when execute the "./confiure" operation .
	if the error message is  "Package libpcsclite was not found in the pkg-config search path",
 	solution:
 			 Using the following command "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure"
