2012/12/5 Rns Course <rns_cou...@yahoo.com>:
> Hi all;

Hello,

> I have a smart card (SmartCafe Expert 3.2 72k) and I've loaded and
> initialized Muscle applet (0.9.11) on it.
> Now, I have problem with pkcs15 initializing...
> In Windows, I couldn't initialize the card using "pkcs15-init" tool, so I
> decided to compile opensc-0.12.2 in linux (fedora 16) and use "pkcs15-init"
> tool in linux.
>
> I have fedora on VMWare ( my host OS is Windows7) and installed Card Reader
> driver on fedora with name "ifdokccid.so" (my Card Reader is Omnikey CardMan
> 3121).
> I've got and installed "pcsc-tools" package on linux and run "pcsc_scan"
> command on Terminal, the output was as below:
>
> -----------------------------------------------------------------------------------------------------------
> PC/SC device scanner
> V 1.4.17 (c) 2001-2009, Ludovic Rousseau <ludovic.rouss...@free.fr>
> Compiled with PC/SC lite version: 1.6.6
> Scanning present readers...
> 0: VMware Virtual USB CCID 00 00
>
> Wed Dec  5 11:03:39 2012
>  Reader 0: VMware Virtual USB CCID 00 00
>   Card state: Card inserted,
>   ATR: 3B F7 18 00 00 80 31 FE 45 73 66 74 65 2D 6E 66 C4
>
> ATR: 3B F7 18 00 00 80 31 FE 45 73 66 74 65 2D 6E 66 C4
> + TS = 3B --> Direct Convention
> + T0 = F7, Y(1): 1111, K: 7 (historical bytes)
>   TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU
>     129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s
>   TB(1) = 00 --> VPP is not electrically connected
>   TC(1) = 00 --> Extra guard time: 0
>   TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
> -----
>   TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
> -----
>   TA(3) = FE --> IFSC: 254
>   TB(3) = 45 --> Block Waiting Integer: 4 - Character Waiting Integer: 5
> + Historical bytes: 73 66 74 65 2D 6E 66
>   Category indicator byte: 73 (proprietary format)
> + TCK = C4 (correct checksum)
>
> Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
> 3B F7 18 00 00 80 31 FE 45 73 66 74 65 2D 6E 66 C4
> SmartCafe Expert 3.2 72K
> ------------------------------------------------------------------------------------------------------------------
>
> My problem is that VMWare finds the reader as:
>  Reader 0: VMware Virtual USB CCID 00 00
>
> NOT
>
> Reader 0: Omnikey CardMan 3121 00 00 !!
>
> So, the command "opensc-tool -a" has the following output:
>
> Using reader with a card: VMware Virtual USB CCID 00 00
> Failed to connect to card: Unresponsive card (correctly inserted?)
>
> When I connect the reader to the system, VMWare recognizes it as :
> "Shared OMNIKEY CardMan 3x21 0" in Removable Devices section of VM, so
> fedora finds it as  "VMware Virtual USB CCID 00 00" reader not Omnikey!
> How should the card reader be introduced in VM to solve this problem?
> I guess the problem is because of VMWare settings for card reader not
> OpenSC, but I've not found more related forum than here to ask this
> question;
>
> Could you help me please?

VMWare uses a trick to show the smart card reader in the VM without
disconnecting it from the host.
VMWare uses PC/SC on Windows to access the reader and shows it as a
fake CCID reader in the VM.

It is strange that you can get the ATR using pcsc_scan but not using
"opensc-tool -a".

It is also possible to connect your reader directly to the VM as any
other USB device. It will then not be available from Windows.

Bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to