On 29/11/05, Gary Pearman <[EMAIL PROTECTED]> wrote:
> Is there any chance you could post the code that you're using to
> initialise the BasicCard?
>
> At the moment regardless of what protocol I use (SCARD_PROTOCOL_T0,
> SCARD_PROTOCOL_T1 or SCARD_PROTOCOL_ANY), I just get Protocol
> unsupported errrors. Also, as I'm using the ACR38U, do I need to use the
> ACS38DrvSetCardType() function from the driver library?

Your driver does not correctly implement the
IFDHSetProtocolParameters() function [1].

> prothandler.c:108:PHSetProtocol() Protocol T=0 requested but unsupported
> by the card

Your card is T=1 so it will fail if you try to use T=0.

> prothandler.c:129:PHSetProtocol() Attempting PTS to T=1
> prothandler.c:145:PHSetProtocol() PTS failed (255), using T=1

The driver returns the error code 255. I don't know where ACS got this
value. Maybe they wanted to use IFD_NOT_SUPPORTED instead.

You can try to patch the driver if you have the source code.

Bye,

[1] http://pcsclite.alioth.debian.org/ifdhandler-3/node15.html

--
 Dr. Ludovic Rousseau
 For private mail use [EMAIL PROTECTED] and not "big brother" Google

_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to