[Ubuntu] SmartCard Reader issue

EZ100PU driver:

http://www.castech.com.tw/in-download-02.aspx?cid=C_00000001&id=P_00000001

install driver and install pcsc

# apt-get install pcscd pcsc-tools

# vi /etc/udev/rules.d/92-pcscd-ccid.rules

# If not adding the device, go away
ACTION!=”add”, GOTO=”pcscd_ccid_rules_end”
SUBSYSTEM!=”usb”, GOTO=”pcscd_ccid_rules_end”
ENV{DEVTYPE}!=”usb_device”, GOTO=”pcscd_ccid_rules_end”

# Castles Technology Co., Ltd EZUSB PC/SC Smart Card Reader
ATTRS{idVendor}==”0ca6″, ATTRS{idProduct}==”0010″, GROUP=”pcscd”

# All done
LABEL=”pcscd_ccid_rules_end”

must correct idVender and idProduct by # lsusb

then restart udev # service udev restart

# pcscd -f

# pcsc_scan

http://softsmith.blogspot.tw/2011/10/ubuntu-1110-webatm.html