Summary: | app-crypt/ccid-1.4.11: pcsc_transmit failed: not transacted (0x80100016) error for Omnikey 3121 card reader | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | Current packages | Assignee: | Crypto team [DISABLED] <crypto+disabled> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | alonbl, ludovic.rousseau |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch for src/commands.c |
Description
Ulrich Müller
![]() Created attachment 351694 [details, diff]
Patch for src/commands.c
Attached patch fixes the problem for me.
For completeness, here are the syslog messages from pcscd: Jun 23 00:19:48 juno pcscd: /var/tmp/portage/app-crypt/ccid-1.4.11/work/ccid-1.4.11/src/commands.c :1655:CmdXfrBlockTPDU_T0() Command too long (417 bytes) for max: 261 bytes Jun 23 00:19:48 juno pcscd: ifdwrapper.c:527:IFDTransmit() Card not transacted: 612 Jun 23 00:19:48 juno pcscd: winscard.c:1606:SCardTransmit() Card not transacted: 0x80100016 Hello Ludovic, I don't see this committed into upstream, any reason why not? any replacement? Thanks, Alon Alon, I already answered in http://article.gmane.org/gmane.comp.lib.muscle/7762 I do not like to patch my driver (and add complexity) to support readers that do not follow CCID. The best solution is to use a reader that does support extended APDU in the normal way. (In reply to Ludovic Rousseau from comment #4) > Alon, I already answered in > http://article.gmane.org/gmane.comp.lib.muscle/7762 > > I do not like to patch my driver (and add complexity) to support readers > that do not follow CCID. > > The best solution is to use a reader that does support extended APDU in the > normal way. Thank you Ludovic, I am closing this bug as I do not wish to maintain patches that never reach upstream. Thanks. (In reply to Ludovic Rousseau from comment #4) > I do not like to patch my driver (and add complexity) to support readers > that do not follow CCID. What sort of reasoning is this? The only alternative to get the reader in question working would be to use the manufacturer's proprietary binary-only driver, which is not an acceptable solution. I don't understand why you want to suppress a free alternative when a simple patch (adding some 40 lines to the code) is readily available. Reopening, since "OMNIKEY AG CardMan 3121" is listed in supported_readers.txt. Please note that I've already addressed your concerns about the "quirks lookup" in http://article.gmane.org/gmane.comp.lib.muscle/7763 and replaced it with conditions as suggested. What else needs to be done to get this accepted upstream? (In reply to Ulrich Müller from comment #7) > Please note that I've already addressed your concerns about the "quirks > lookup" in http://article.gmane.org/gmane.comp.lib.muscle/7763 and replaced > it with conditions as suggested. > > What else needs to be done to get this accepted upstream? Please discuss this upstream, so other relevant people may join the discussion. Downstream bugzilla is not the place for this. Discussion for patch inclusion should go to upstream. When it merged into upstream, please reopen. Thanks! (In reply to Alon Bar-Lev from comment #9) > Discussion for patch inclusion should go to upstream. When it merged into > upstream, please reopen. Well, a patch against the latest version is attached and upstream is in CC. Not much more that I could do. |