From: Florent D. <fde...@gm...> - 2013-03-18 10:34:06
|
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 <ma...@ma...> > 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 <fde...@gm...> > 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 <lud...@gm...> > >> > >> 2013/3/14 Florent Deybach <fde...@gm...>: > >> > 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 > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensc-devel > > > |