{"id":776,"date":"2012-09-08T16:24:27","date_gmt":"2012-09-08T08:24:27","guid":{"rendered":"http:\/\/cargon.net\/?p=776"},"modified":"2012-09-12T02:56:24","modified_gmt":"2012-09-11T18:56:24","slug":"ubuntu-smartcard-reader-issue","status":"publish","type":"post","link":"https:\/\/cargon.net\/?p=776","title":{"rendered":"[Ubuntu] SmartCard Reader issue"},"content":{"rendered":"<p>EZ100PU driver:<\/p>\n<p>http:\/\/www.castech.com.tw\/in-download-02.aspx?cid=C_00000001&#038;id=P_00000001<\/p>\n<p>install driver and install pcsc<\/p>\n<p># apt-get install pcscd pcsc-tools<\/p>\n<p># vi \/etc\/udev\/rules.d\/92-pcscd-ccid.rules<\/p>\n<blockquote><p># If not adding the device, go away<br \/>\nACTION!=&#8221;add&#8221;, GOTO=&#8221;pcscd_ccid_rules_end&#8221;<br \/>\nSUBSYSTEM!=&#8221;usb&#8221;, GOTO=&#8221;pcscd_ccid_rules_end&#8221;<br \/>\nENV{DEVTYPE}!=&#8221;usb_device&#8221;, GOTO=&#8221;pcscd_ccid_rules_end&#8221;<\/p>\n<p># Castles Technology Co., Ltd EZUSB PC\/SC Smart Card Reader<br \/>\nATTRS{idVendor}==&#8221;0ca6&#8243;, ATTRS{idProduct}==&#8221;0010&#8243;, GROUP=&#8221;pcscd&#8221;<\/p>\n<p># All done<br \/>\nLABEL=&#8221;pcscd_ccid_rules_end&#8221;<\/p><\/blockquote>\n<p>must correct idVender and idProduct by # lsusb<\/p>\n<p>then restart udev # service udev restart<\/p>\n<p># pcscd -f<\/p>\n<p># pcsc_scan<\/p>\n<p>http:\/\/softsmith.blogspot.tw\/2011\/10\/ubuntu-1110-webatm.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EZ100PU driver: http:\/\/www.castech.com.t &hellip; <a href=\"https:\/\/cargon.net\/?p=776\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,13],"tags":[],"_links":{"self":[{"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/posts\/776"}],"collection":[{"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cargon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=776"}],"version-history":[{"count":2,"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/posts\/776\/revisions"}],"predecessor-version":[{"id":817,"href":"https:\/\/cargon.net\/index.php?rest_route=\/wp\/v2\/posts\/776\/revisions\/817"}],"wp:attachment":[{"href":"https:\/\/cargon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cargon.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cargon.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}