SCardSvr reports events on second slot

I get following events from SCardSvr:

Reader removal monitor error retry threshold reached: The requested resource is in use.

AND

Reader monitor ‘USB Reader 2’ received uncaught error code: The requested resource is in use.

In which case does smartcard manager write these ? I have multislot reader and
this always happens with second slot. After that error, second slot (device) disappears from list of readers.

Regards

And how many readers have you tried? Do they ALL fail on slot 2? It does
happen that hardware does at times fail. If you haven’t tried more than one
reader you need to.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@cetrtapot.si
Sent: Friday, January 08, 2010 8:48 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] SCardSvr reports events on second slot

I get following events from SCardSvr:

Reader removal monitor error retry threshold reached: The requested
resource is in use.

AND

Reader monitor ‘USB Reader 2’ received uncaught error code: The requested
resource is in use.

In which case does smartcard manager write these ? I have multislot reader
and
this always happens with second slot. After that error, second slot (device)
disappears from list of readers.

Regards


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

__________ Information from ESET Smart Security, version of virus signature
database 4754 (20100108) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature
database 4755 (20100108) __________

The message was checked by ESET Smart Security.

http://www.eset.com

No, communication wise everything seems to be ok (there is no card in second slot, so driver does not even issue any communication on second slot). Just get_state, then for some reason 3 times? is_absent, then 2nd slot mysteriously disappears from list and event is given. Is there any kernel function to insert big delay, so I can see exactly after which request that event occurs ?

00000140 8:41:29 –> PscrEvtIoDeviceControl called IOCTL_SMARTCARD_GET_STATE (3211320) Request 0x7a0f5b38 outlen:4 inlen:0
00000141 8:41:29 filename:‘\Slot1’
00000142 8:41:29 selected slot = 1
00000143 8:41:29 <– PscrSmcLibComplete called 0 Request 7a0f5b38
00000144 8:41:29 PscrEvtIoDeviceControl: EXIT L969
00000145 8:41:29 –> PscrEvtIoDeviceControl called IOCTL_SMARTCARD_IS_ABSENT (3211308) Request 0x7a0f5b38 outlen:0 inlen:0
00000146 8:41:29 filename:‘\Slot1’
00000147 8:41:29 selected slot = 1
00000148 8:41:29 <– PscrSmcLibComplete called 80000011 Request 7a0f5b38
00000149 8:41:29 PscrEvtIoDeviceControl: EXIT L969
00000150 8:41:29 –> PscrEvtIoDeviceControl called IOCTL_SMARTCARD_IS_ABSENT (3211308) Request 0x7a0f5b38 outlen:0 inlen:0
00000151 8:41:29 filename:‘\Slot1’
00000152 8:41:29 selected slot = 1
00000153 8:41:29 <– PscrSmcLibComplete called 80000011 Request 7a0f5b38
00000154 8:41:29 PscrEvtIoDeviceControl: EXIT L969
00000155 8:41:29 –> PscrEvtIoDeviceControl called IOCTL_SMARTCARD_IS_ABSENT (3211308) Request 0x7a0f5b38 outlen:0 inlen:0
00000156 8:41:29 filename:‘\Slot1’
00000157 8:41:29 selected slot = 1
00000158 8:41:29 <– PscrSmcLibComplete called 80000011 Request 7a0f5b38
00000159 8:41:29 PscrEvtIoDeviceControl: EXIT L969