Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SCardSvr fills event log

82 views
Skip to first unread message

Mikael Andersson at

unread,
Dec 30, 2004, 8:48:47 AM12/30/04
to
Hi,
I have a driver that seems to misbehave. The SCardSvr service does not get
informed that the driver has unloaded and keeps trying to get status
changes. The problem is that this rapidly fills the event log...

The following output is displayed in the kernel debugger:
"SCardSvr!CServiceThread::DoGetStatusChange *WARNING* Get Status Change
TID=0x388 received unexpected exception: Cannot find a smart card reader."

And it also writes to the event log: "Get Status Change TID=0x388 received
unexpected exception: Cannot find a smart card reader. For more information,
see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."

The messages are generated at a rate of approx. once every 3 seconds.

I have searched the DDK and the sample files but have no really good idea
where the problem is... Examining the debug output reveals that the SCardSvr
is informed about the driver being unloaded, the message is:
"SCardSvr!MonitorReader *WARNING* Reader return code takes reader
'\\?\SERENUM#CMX237D#5&18782ae7&0&0000#{50dd5230-ba8a-11d1-bf5d-0000f805f530
}' offline: The operation completed successfully." But, obviously, this is
not enough.

Please, if someone knows how to fix this problem (i.e. which functions to
call from the driver when it is about to unload) plz. mail me at
mikael.andersson(((A)))comex.se or reply to this forum.

Best regards
Mikael


Mikael Andersson at

unread,
Jan 10, 2005, 5:07:37 AM1/10/05
to
Hi,
This is still a problem for me. Anyone got a clue to what might be wrong?

/Mikael

"Mikael Andersson" <018421608(at)telia.com> skrev i meddelandet
news:#mormWn7...@TK2MSFTNGP14.phx.gbl...

0 new messages