2010年9月28日 星期二

Use WebATM with Ez-100PU on Ubuntu 10.04

  • 安裝讀卡機相關工具 (pcscd , pcsc-tools)
$ sudo apt-get install pcscd pcsc-tools
  •  安裝  Ez-100PU Linux 驅動程式 
wget http://www.casauto.com.tw/db/pictures/modules/PDT/PDT060207001/200910202021270555.gz -O EZUSB_Linux_x86_v1.4.9.tar.gz 
tar zxvf EZUSB_Linux_x86_v1.4.9.tar.gz
cd EZUSB_Linux_x86_v1.4.9/driver_ezusb_v1.4.9/

確認系統環境
./check_env
 
若都沒有出現error 或 file not found訊息,再執行安裝驅動程式指令
 sudo ./install 
  • 重新起動 pcsc daemon
sudo /etc/init.d/pcscd restart

使用前可以使用 pcsc_scan差詢讀卡機狀態,應該會有下列的顯示
$ pcsc_scan 
PC/SC device scanner
V 1.4.16 (c) 2001-2009, Ludovic Rousseau 
Compiled with PC/SC lite version: 1.5.3
Scanning present readers...
Waiting for the first reader...found one
Scanning present readers...
0: CASTLES EZ100PU 00 00

Tue Sep 28 15:07:40 2010
 Reader 0: CASTLES EZ100PU 00 00
  Card state: Card removed, 


備註:
    • Reference 
    http://jackden-diary.blogspot.com/2010/01/webatm-on-ubuntu-910-use-ez-100pu.html
    http://trac.nchc.org.tw/grid/wiki/jazz/UNR_Tuning

    沒有留言:

    張貼留言

    Ceasar's Photo

    www.flickr.com