I can confirm the problem with libccid 1.4.15-1 with my Oz776 Smartcard
reader in ubuntu 14.04. While I can still see the card information
correctly with pcsc_scan and libccid 1.4.15,  other applications using
the cardreader stopped working as soon as I upgraded from 13.10
(libccid1.4.12) to 14.04 (libccid 1.4.15).

In a java application I got the following log:
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
sun.security.smartcardio.PCSCException: SCARD_E_NOT_TRANSACTED
sun.security.smartcardio.ChannelImpl.doTransmit(ChannelImpl.java:219)
sun.security.smartcardio.ChannelImpl.transmit(ChannelImpl.java:90)
be.fedict.eid.applet.sc.PcscEid.transmit(PcscEid.java:1531)
be.fedict.eid.applet.sc.PcscEid.selectFile(PcscEid.java:550)
be.fedict.eid.applet.sc.PcscEid.readFile(PcscEid.java:255)
be.fedict.eidviewer.lib.PCSCEid.readFile(PCSCEid.java:82)
be.fedict.eidviewer.lib.PCSCEid.getFile(PCSCEid.java:336)
be.fedict.eidviewer.lib.PCSCEid.getIdentity(PCSCEid.java:95)
be.fedict.eidviewer.lib.PCSCEidController.run(PCSCEidController.java:378
)
java.lang.Thread.run(Thread.java:744)

and probably more relevant:
[PCSCEidController] Clearing Data for security reasons, due to unexpected 
problem.
apdu must be at least 2 bytes long
javax.smartcardio.ResponseAPDU.check(ResponseAPDU.java:73)
javax.smartcardio.ResponseAPDU.<init>(ResponseAPDU.java:67)
sun.security.smartcardio.ChannelImpl.transmit(ChannelImpl.java:91)
be.fedict.eid.applet.sc.PcscEid.transmit(PcscEid.java:1531)
be.fedict.eid.applet.sc.PcscEid.selectFile(PcscEid.java:550)
be.fedict.eid.applet.sc.PcscEid.readFile(PcscEid.java:255)
be.fedict.eidviewer.lib.PCSCEid.readFile(PCSCEid.java:82)
be.fedict.eidviewer.lib.PCSCEid.getFile(PCSCEid.java:336)
be.fedict.eidviewer.lib.PCSCEid.getIdentity(PCSCEid.java:95)
be.fedict.eidviewer.lib.PCSCEidController.run(PCSCEidController.java:378

The problems can be resolved by:
- manually switching back to libccid 1.4.12
sudo dpkg -i libccid_1.4.12-1_i386.deb

- reinstalling pcscd, pcsc-tools and the applications needing the smartcard 
reader (in my case eid-mw and eid-viewer from the belgium government for online 
tax declaration)
sudo apt-get purge pcscd pcsc-tools eid-mw eid-viewer
sudo apt-get install pcscd pcsc-tools
sudo dpkg -i eid-mw_4.0.4r1253_i386_tcm227-178474.deb 
sudo dpkg -i eid-viewer_4.0.4r146_i386_tcm227-178471.deb

- restarting pcscd service:
sudo service pcscd restart

afterwards all the applications I use needing the smartcard reader
(belgium online tax declaration, austrian A-trust bürgerkarte) work
again as expected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311273

Title:
  O2 Micro OZ776 not working with libccid 1.4.15-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ccid/+bug/1311273/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to