Smartcard recognized by pcsc_scan but not opensc-tools

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Smartcard recognized by pcsc_scan but not opensc-tools

Florent Deybach
Hello,

I have the following environment :

Ubuntu 12.10 32bits
OpenSC 0.13
pcscd 1.8.5
pcsc-tools 1.4.20
libccid 1.4.7-1

I am using a Gemalto IAS/ECC smart into a Gemalto USB Shell Token V2.

The token is fully operational when used on a physical machine however when my Ubuntu is a Virtual Machine running under VMware Player 5.0.2 I have a problem.

The reader and the card are shown by pcsc_scan, however all OpenSC tools (opensc-tools, pkcs15-init, etc.) fail because it cannot see the card, i.e. I have the following error message:
"Failed to connect to card: Unresponsive card (correctly inserted?)"

Here's a output of lsusb and pcsc_scan and finally opensc-tool in debug mode :

Many thanks!



root@ubuntu12-10# lsusb
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 08e6:3438 Gemplus GemPC Key SmartCard Reader


--------------------------------------------------------------------------------------------------


root@ubuntu12-10# pcsc_scan
PC/SC device scanner
V 1.4.20 (c) 2001-2011, Ludovic Rousseau <[hidden email]>
Compiled with PC/SC lite version: 1.8.3
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...found one
Scanning present readers...
0: Gemalto USB Shell Token V2 (309EF81F) 00 00

Thu Mar 14 13:35:49 2013
Reader 0: Gemalto USB Shell Token V2 (309EF81F) 00 00
  Card state: Card inserted,
  ATR: 3B 7F 96 00 00 00 31 B8 64 40 70 14 10 73 94 01 80 82 90 00

ATR: 3B 7F 96 00 00 00 31 B8 64 40 70 14 10 73 94 01 80 82 90 00
+ TS = 3B --> Direct Convention
+ T0 = 7F, Y(1): 0111, K: 15 (historical bytes)
  TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
    250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
  TB(1) = 00 --> VPP is not electrically connected
  TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 00 31 B8 64 40 70 14 10 73 94 01 80 82 90 00
  Category indicator byte: 00 (compact TLV data object)
    Tag: 3, len: 1 (card service data byte)
      Card service data byte: B8
        - Application selection: by full DF name
        - BER-TLV data objects available in EF.DIR
        - BER-TLV data objects available in EF.ATR
        - EF.DIR and EF.ATR access services: by READ BINARY command
        - Card with MF
    Tag: 6, len: 4 (pre-issuing data)
      Data: 40 70 14 10
    Tag: 7, len: 3 (card capabilities)
      Selection methods: 94
        - DF selection by full DF name
        - DF selection by file identifier
        - Short EF identifier supported
      Data coding byte: 01
        - Behaviour of write functions: one-time write
        - Value 'FF' for the first byte of BER-TLV tag fields: invalid
        - Data unit in quartets: 2
      Command chaining, length fields and logical channels: 80
        - Command chaining
        - Logical channel number assignment: No logical channel
        - Maximum number of logical channels: 1
    Mandatory status indicator (3 last bytes)
      LCS (life card cycle): 82 (Proprietary)
      SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 7F 96 00 00 00 31 B8 64 40 70 14 10 73 94 01 80 82 90 00
        IAS/ECC Gemalto (eID)


---------------------------------------------------------------


root@ubuntu12-10# lsusb
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 08e6:3438 Gemplus GemPC Key SmartCard Reader
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach# opensc-tool -a
Using reader with a card: Gemalto USB Shell Token V2 (309EF81F) 00 00
Failed to connect to card: Unresponsive card (correctly inserted?)
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach#
root@ubuntu12-10:/home/fdeybach# opensc-tool -a -vvvvv
0xb72806c0 13:39:22.704 [opensc-tool] sc.c:231:sc_detect_card_presence: called
0xb72806c0 13:39:22.704 [opensc-tool] reader-pcsc.c:370:pcsc_detect_card_presence: called
0xb72806c0 13:39:22.704 [opensc-tool] reader-pcsc.c:283:refresh_attributes: Gemalto USB Shell Token V2 (309EF81F) 00 00 check
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success)
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 1
0xb72806c0 13:39:22.705 [opensc-tool] sc.c:236:sc_detect_card_presence: returning with: 1
Using reader with a card: Gemalto USB Shell Token V2 (309EF81F) 00 00
0xb72806c0 13:39:22.705 [opensc-tool] sc.c:231:sc_detect_card_presence: called
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:370:pcsc_detect_card_presence: called
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:283:refresh_attributes: Gemalto USB Shell Token V2 (309EF81F) 00 00 check
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success)
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 1
0xb72806c0 13:39:22.705 [opensc-tool] sc.c:236:sc_detect_card_presence: returning with: 1
Connecting to card in reader Gemalto USB Shell Token V2 (309EF81F) 00 00...
0xb72806c0 13:39:22.705 [opensc-tool] card.c:125:sc_connect_card: called
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:450:pcsc_connect: called
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:283:refresh_attributes: Gemalto USB Shell Token V2 (309EF81F) 00 00 check
0xb72806c0 13:39:22.705 [opensc-tool] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success)
0xb72806c0 13:39:22.738 [opensc-tool] reader-pcsc.c:472:pcsc_connect: Gemalto USB Shell Token V2 (309EF81F) 00 00:SCardConnect failed: 0x80100066
0xb72806c0 13:39:22.738 [opensc-tool] card.c:249:sc_connect_card: returning with: -1113 (Unresponsive card (correctly inserted?))
Failed to connect to card: Unresponsive card (correctly inserted?)
0xb72806c0 13:39:22.738 [opensc-tool] ctx.c:787:sc_release_context: called
0xb72806c0 13:39:22.738 [opensc-tool] reader-pcsc.c:745:pcsc_finish: called


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Ludovic Rousseau
2013/3/14 Florent Deybach <[hidden email]>:
> Hello,

Hello,

> I have the following environment :
>
> Ubuntu 12.10 32bits
> OpenSC 0.13
> pcscd 1.8.5
> pcsc-tools 1.4.20
> libccid 1.4.7-1
>
> I am using a Gemalto IAS/ECC smart into a Gemalto USB Shell Token V2.
>
> The token is fully operational when used on a physical machine however when
> my Ubuntu is a Virtual Machine running under VMware Player 5.0.2 I have a
> problem.
>
> The reader and the card are shown by pcsc_scan, however all OpenSC tools
> (opensc-tools, pkcs15-init, etc.) fail because it cannot see the card, i.e.
> I have the following error message:
> "Failed to connect to card: Unresponsive card (correctly inserted?)"

Please generate a pcscd log as documented at
http://pcsclite.alioth.debian.org/pcsclite.html#support

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Florent Deybach
Hello,

As requested, the pcscd log file.

Regards,


2013/3/14 Ludovic Rousseau <[hidden email]>
2013/3/14 Florent Deybach <[hidden email]>:
> Hello,

Hello,

> I have the following environment :
>
> Ubuntu 12.10 32bits
> OpenSC 0.13
> pcscd 1.8.5
> pcsc-tools 1.4.20
> libccid 1.4.7-1
>
> I am using a Gemalto IAS/ECC smart into a Gemalto USB Shell Token V2.
>
> The token is fully operational when used on a physical machine however when
> my Ubuntu is a Virtual Machine running under VMware Player 5.0.2 I have a
> problem.
>
> The reader and the card are shown by pcsc_scan, however all OpenSC tools
> (opensc-tools, pkcs15-init, etc.) fail because it cannot see the card, i.e.
> I have the following error message:
> "Failed to connect to card: Unresponsive card (correctly inserted?)"

Please generate a pcscd log as documented at
http://pcsclite.alioth.debian.org/pcsclite.html#support

Bye

--
 Dr. Ludovic Rousseau


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

log.txt (31K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Ludovic Rousseau
2013/3/14 Florent Deybach <[hidden email]>:
> Hello,
>
> As requested, the pcscd log file.


00000023 ifdhandler.c:784:IFDHSetProtocolParameters() Set speed to 300000 bauds
00000024 towitoko/atr.c:341:ATR_GetDefaultProtocol() no default
protocol found in ATR. Using T=0
00000023 PPS: Sending request: FF 10 96 79
00000027 -> 000000 6F 04 00 00 00 00 0C 00 00 00 FF 10 96 79
00022876 <- 000000 80 04 00 00 00 00 0C 00 00 00 FF 10 96 79
00000098 PPS: Receiving confirm: FF 10 96 79
00000030 ifdhandler.c:1020:IFDHSetProtocolParameters() Communication
timeout: 266240 ms
00000022 commands.c:2115:SetParameters() length: 5 bytes
00000021 -> 000000 61 05 00 00 00 00 0D 00 00 00 96 00 02 0A 00
00020124 <- 000000
00000063 commands.c:2135:SetParameters() Not enough data received: 0 bytes
00000013 prothandler.c:103:PHSetProtocol() PTS failed (612), using T=0

For an unknown reason the libusb returned 0 bytes for the SetParameters answer.

It looks like a USB issue somewhere.
VMware Player may not work as good as expected in this case.

Maybe you can try another virtual machine like VirtualBox.
But note that a virtual machine does not (in general) play well with USB.

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Florent Deybach
Ok, thanks for the diagnostic.

But how come pcsc_scan works well when the other tools fail?
Does pcsc_scan doesn't use libusb?


2013/3/15 Ludovic Rousseau <[hidden email]>
2013/3/14 Florent Deybach <[hidden email]>:
> Hello,
>
> As requested, the pcscd log file.


00000023 ifdhandler.c:784:IFDHSetProtocolParameters() Set speed to 300000 bauds
00000024 towitoko/atr.c:341:ATR_GetDefaultProtocol() no default
protocol found in ATR. Using T=0
00000023 PPS: Sending request: FF 10 96 79
00000027 -> 000000 6F 04 00 00 00 00 0C 00 00 00 FF 10 96 79
00022876 <- 000000 80 04 00 00 00 00 0C 00 00 00 FF 10 96 79
00000098 PPS: Receiving confirm: FF 10 96 79
00000030 ifdhandler.c:1020:IFDHSetProtocolParameters() Communication
timeout: 266240 ms
00000022 commands.c:2115:SetParameters() length: 5 bytes
00000021 -> 000000 61 05 00 00 00 00 0D 00 00 00 96 00 02 0A 00
00020124 <- 000000
00000063 commands.c:2135:SetParameters() Not enough data received: 0 bytes
00000013 prothandler.c:103:PHSetProtocol() PTS failed (612), using T=0

For an unknown reason the libusb returned 0 bytes for the SetParameters answer.

It looks like a USB issue somewhere.
VMware Player may not work as good as expected in this case.

Maybe you can try another virtual machine like VirtualBox.
But note that a virtual machine does not (in general) play well with USB.

Bye

--
 Dr. Ludovic Rousseau


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Martin Paljak-4
AFAIR pcsc_scan doesn't do that much communication with the reader as
opensc-tool.

As suggested by Ludovic: if virtualization fails, first try without
it. I have had reasonable success with VM-s, depending on the
situation either always using USB level virtualization or vice versa,
only using the virtual smart card reader provided by VM.

Experiment with the two options to see if it matters for you.

If it fails, try on bare hardware. If that works, look for problems in
virtualization, then in smart card stack.


Martin

On Mon, Mar 18, 2013 at 11:01 AM, Florent Deybach <[hidden email]> wrote:

> Ok, thanks for the diagnostic.
>
> But how come pcsc_scan works well when the other tools fail?
> Does pcsc_scan doesn't use libusb?
>
>
>
> 2013/3/15 Ludovic Rousseau <[hidden email]>
>>
>> 2013/3/14 Florent Deybach <[hidden email]>:
>> > Hello,
>> >
>> > As requested, the pcscd log file.
>>
>>
>> 00000023 ifdhandler.c:784:IFDHSetProtocolParameters() Set speed to 300000
>> bauds
>> 00000024 towitoko/atr.c:341:ATR_GetDefaultProtocol() no default
>> protocol found in ATR. Using T=0
>> 00000023 PPS: Sending request: FF 10 96 79
>> 00000027 -> 000000 6F 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00022876 <- 000000 80 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00000098 PPS: Receiving confirm: FF 10 96 79
>> 00000030 ifdhandler.c:1020:IFDHSetProtocolParameters() Communication
>> timeout: 266240 ms
>> 00000022 commands.c:2115:SetParameters() length: 5 bytes
>> 00000021 -> 000000 61 05 00 00 00 00 0D 00 00 00 96 00 02 0A 00
>> 00020124 <- 000000
>> 00000063 commands.c:2135:SetParameters() Not enough data received: 0 bytes
>> 00000013 prothandler.c:103:PHSetProtocol() PTS failed (612), using T=0
>>
>> For an unknown reason the libusb returned 0 bytes for the SetParameters
>> answer.
>>
>> It looks like a USB issue somewhere.
>> VMware Player may not work as good as expected in this case.
>>
>> Maybe you can try another virtual machine like VirtualBox.
>> But note that a virtual machine does not (in general) play well with USB.
>>
>> Bye
>>
>> --
>>  Dr. Ludovic Rousseau
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Florent Deybach
Ok, thanks for the clarification about pcsc_scan.

I've already tested it in a non-VM environment and it works fine.
So I was already convinced it had something to do with the USB emulation or something like that.

It seems that VirtualBox plays better with USB devices, I'll try it but it still bugs me that I cannot diagnostic why it doesn't work with VMware.

Cheers


2013/3/18 Martin Paljak <[hidden email]>
AFAIR pcsc_scan doesn't do that much communication with the reader as
opensc-tool.

As suggested by Ludovic: if virtualization fails, first try without
it. I have had reasonable success with VM-s, depending on the
situation either always using USB level virtualization or vice versa,
only using the virtual smart card reader provided by VM.

Experiment with the two options to see if it matters for you.

If it fails, try on bare hardware. If that works, look for problems in
virtualization, then in smart card stack.


Martin

On Mon, Mar 18, 2013 at 11:01 AM, Florent Deybach <[hidden email]> wrote:
> Ok, thanks for the diagnostic.
>
> But how come pcsc_scan works well when the other tools fail?
> Does pcsc_scan doesn't use libusb?
>
>
>
> 2013/3/15 Ludovic Rousseau <[hidden email]>
>>
>> 2013/3/14 Florent Deybach <[hidden email]>:
>> > Hello,
>> >
>> > As requested, the pcscd log file.
>>
>>
>> 00000023 ifdhandler.c:784:IFDHSetProtocolParameters() Set speed to 300000
>> bauds
>> 00000024 towitoko/atr.c:341:ATR_GetDefaultProtocol() no default
>> protocol found in ATR. Using T=0
>> 00000023 PPS: Sending request: FF 10 96 79
>> 00000027 -> 000000 6F 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00022876 <- 000000 80 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00000098 PPS: Receiving confirm: FF 10 96 79
>> 00000030 ifdhandler.c:1020:IFDHSetProtocolParameters() Communication
>> timeout: 266240 ms
>> 00000022 commands.c:2115:SetParameters() length: 5 bytes
>> 00000021 -> 000000 61 05 00 00 00 00 0D 00 00 00 96 00 02 0A 00
>> 00020124 <- 000000
>> 00000063 commands.c:2135:SetParameters() Not enough data received: 0 bytes
>> 00000013 prothandler.c:103:PHSetProtocol() PTS failed (612), using T=0
>>
>> For an unknown reason the libusb returned 0 bytes for the SetParameters
>> answer.
>>
>> It looks like a USB issue somewhere.
>> VMware Player may not work as good as expected in this case.
>>
>> Maybe you can try another virtual machine like VirtualBox.
>> But note that a virtual machine does not (in general) play well with USB.
>>
>> Bye
>>
>> --
>>  Dr. Ludovic Rousseau
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Ludovic Rousseau
2013/3/18 Florent Deybach <[hidden email]>:
> Ok, thanks for the clarification about pcsc_scan.
>
> I've already tested it in a non-VM environment and it works fine.
> So I was already convinced it had something to do with the USB emulation or
> something like that.
>
> It seems that VirtualBox plays better with USB devices, I'll try it but it
> still bugs me that I cannot diagnostic why it doesn't work with VMware.

VMware also provides a virtual CCID device that is connected to your
reader. In that case vmware uses PC/SC on the host to access the
reader/card and emulates a CCID device in the guest machine.
This configuration may work better.

Bye

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: Smartcard recognized by pcsc_scan but not opensc-tools

Florent Deybach
In reply to this post by Martin Paljak-4
It works perfectly without virtualization.
I also tried the smart card in a previous generation of the reader (rev1 instead of rev2) and it works perfectly.
The problem comes definitively from virtualization and from this new revision of the reader.
I opened a case on Gemalto. I'll keep you updated.

Thanks again.


2013/3/18 Martin Paljak <[hidden email]>
AFAIR pcsc_scan doesn't do that much communication with the reader as
opensc-tool.

As suggested by Ludovic: if virtualization fails, first try without
it. I have had reasonable success with VM-s, depending on the
situation either always using USB level virtualization or vice versa,
only using the virtual smart card reader provided by VM.

Experiment with the two options to see if it matters for you.

If it fails, try on bare hardware. If that works, look for problems in
virtualization, then in smart card stack.


Martin

On Mon, Mar 18, 2013 at 11:01 AM, Florent Deybach <[hidden email]> wrote:
> Ok, thanks for the diagnostic.
>
> But how come pcsc_scan works well when the other tools fail?
> Does pcsc_scan doesn't use libusb?
>
>
>
> 2013/3/15 Ludovic Rousseau <[hidden email]>
>>
>> 2013/3/14 Florent Deybach <[hidden email]>:
>> > Hello,
>> >
>> > As requested, the pcscd log file.
>>
>>
>> 00000023 ifdhandler.c:784:IFDHSetProtocolParameters() Set speed to 300000
>> bauds
>> 00000024 towitoko/atr.c:341:ATR_GetDefaultProtocol() no default
>> protocol found in ATR. Using T=0
>> 00000023 PPS: Sending request: FF 10 96 79
>> 00000027 -> 000000 6F 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00022876 <- 000000 80 04 00 00 00 00 0C 00 00 00 FF 10 96 79
>> 00000098 PPS: Receiving confirm: FF 10 96 79
>> 00000030 ifdhandler.c:1020:IFDHSetProtocolParameters() Communication
>> timeout: 266240 ms
>> 00000022 commands.c:2115:SetParameters() length: 5 bytes
>> 00000021 -> 000000 61 05 00 00 00 00 0D 00 00 00 96 00 02 0A 00
>> 00020124 <- 000000
>> 00000063 commands.c:2135:SetParameters() Not enough data received: 0 bytes
>> 00000013 prothandler.c:103:PHSetProtocol() PTS failed (612), using T=0
>>
>> For an unknown reason the libusb returned 0 bytes for the SetParameters
>> answer.
>>
>> It looks like a USB issue somewhere.
>> VMware Player may not work as good as expected in this case.
>>
>> Maybe you can try another virtual machine like VirtualBox.
>> But note that a virtual machine does not (in general) play well with USB.
>>
>> Bye
>>
>> --
>>  Dr. Ludovic Rousseau
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Opensc-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/opensc-devel
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel