Currently, each time a smart card view window is opened, scdaemon read actions are triggered.
This is inefficient, the event counter of gpg-agent should be used, if the counter has not changed, the card does not have to be read again.
GETEVENTCOUNTER Return a status line named EVENTCOUNTER with the current values of all event counters. The values are decimal numbers in the range 0 to UINT_MAX and wrapping around to 0. The actual values should not be relied upon, they shall only be used to detect a change. The currently defined counters are: ANY - Incremented with any change of any of the other counters. KEY - Incremented for added or removed private keys. CARD - Incremented for changes of the card readers stati.